阿賢 | 【求助】關於SENDMAIL郵件地址設定問題 目前更換SO-NET的ISP後 也更改了SENDMAIL的設定,如RELAY網域的部分.... 但是目前發現到 由主機端自機發出的信件在@後面的網域名稱居然為local.localdomain 不是我的jollinman.adsldns.org 請問我該如何矯正設定呢? redhat7.3 so-net固接ip 謝謝大家囉~! |
回覆 |
阿賢 | sorry 推一下>"<||| |
回覆 |
會員 | 編輯這兩個檔,指定正確的名稱. 1./etc/hosts 2./etc/mail/local-host-names 可以參考這裡: http://www.study-area.org/linux/servers/linux_mail.htm |
回覆 |
阿賢 | 謝謝你~! 我現在發現到我的問題是別人無法反查我的信件後面的網域名稱... 我換了SO-NET的ISP 固定IP變成這樣.... |
回覆 |
會員 | email帳號後面那一串是由主機名稱+網域名稱所組成,這與DNS的設定有關. 你可以用nslookup或者dig指令來測試DNS指定是否正確. |
回覆 |
阿賢 | 這是我用nslookup指令查詢結果~ [root@XXXXXX]# nslookup jollinman.adsldns.org Note: nslookup is deprecated and may be removed from future releases. Consider using the `dig' or `host' programs instead. Run nslookup with the `-sil[ent]' option to prevent this message from appearing. Server: 61.64.127.1 Address: 61.64.127.1#53 Non-authoritative answer: Name: jollinman.adsldns.org Address: 61.64.123.109 另外我的論壇設定好我的發信信箱 論壇系統寄出去的信件網域名稱是jollinman.adsldns.org 看來我不知道疏忽掉哪裡了@@" |
回覆 |
會員 | 1.首先你應先檢查/etc/hosts 語法: 127.0.0.1 jollinman.adsldns.org localhost.localdomain localhost 192.168.1.xx xxx.jollinman.intranet xxx 區網的名稱與合法申請到的名稱不要搞混了. 2.接下來編輯/etc/sysconfig/network 設定 HOSTNAME=jollinman.adsldns.org 3.vi /etc/mail/local-host-names 加入一行 jollinman.adsldns.org 基本上這樣就可以正常使用了,不需要在自己的電腦設定dns,因為www.adsldns.org有幫我們設定mx,你可以使用 dig jolliman.adsldns.org mx 查看就知道了. |
回覆 |
|
XML | RSS 2.0 | RSS |
本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。