postfix 無法收信(Relay access denied)【已解決】
使用email@mail.xxx.com可以正常收發郵件。使用email@xxx.com發送郵件正常,但是收郵件卻出現Relay access denied,並退信。
maillog:
Jul 18 00:41:13 mail postfix/smtpd: connect from blu0-omc1-s14.blu0.hotmail.com
Jul 18 00:41:14 mail postfix/smtpd: AF12C126E04: client=blu0-omc1-s14.blu0.hotmail.com
Jul 18 00:41:15 mail postfix/smtpd: AF12C126E04: reject: RCPT from blu0-omc1-s14.blu0.hotmail.com: 554 <email@xxx.com>: Relay access denied; from=<adisonray@hotmail.com> to=<email@xxx.com> proto=ESMTP helo=<blu0-omc1-s14.blu0.hotmail.com>
Jul 18 00:41:16 mail popper: (v4.0.8) Unable to get canonical name of client 116.52.33.231: Unknown host (1)
Jul 18 00:41:16 mail popper: (v4.0.8) Servicing request from "116.52.33.231" at 116.52.33.231
Jul 18 00:41:16 mail popper: Stats: email 0 0 0 0 116.52.33.231 116.52.33.231
Jul 18 00:41:17 mail postfix/smtpd: disconnect from blu0-omc1-s14.blu0.hotmail.com
請求幫助!謝謝!
[ 本帖最後由 adisonray 於 2008-7-24 23:48 編輯 ]
《解決方案》
使用email@mail.xxx.com可以正常收發郵件。
使用email@xxx.com發送郵件正常
@mail.xxx.com
@xxx.com
看postfix的配置
《解決方案》
Jul 18 00:41:16 mail popper: (v4.0. Unable to get canonical name of client 116.52.33.231: Unknown host (1)
《解決方案》
是說我的main.cf配置問題嗎
《解決方案》
main.cf
myhostname = mail.xxx.com
mydomain = xxx.com
inet_interfaces = all
myorigin = $myhostname
mydestination = $myhostname, $mydomain
mynetworks_style = subnet
mynetworks = 168.100.189.0/28, 127.0.0.0/8
relay_domains = $mydestination
##SMTP###
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = ' '
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_client_restrictions = permit_sasl_authenticated
做過:
xxx.com , www.xxx.com , mail.xxx.com 的A記錄各一條。
xxx.com MX in mail.xxx.com 的記錄一條。
[ 本帖最後由 adisonray 於 2008-7-21 13:05 編輯 ]
《解決方案》
myhostname = mail.xxx.com
mydomain = xxx.com
inet_interfaces = all
myorigin = $myhostname
mydestination = $myhostname, $mydomain
mynetworks_style = subnet
mynetworks = 168.100.189.0/28, 127.0.0.0/8
relay_domains = $mydestination
這段調試下
《解決方案》
原帖由 adisonray 於 2008-7-21 13:00 發表 http://bbs.chinaunix.net/images/common/back.gif
main.cf
myhostname = mail.xxx.com
mydomain = xxx.com
inet_interfaces = all
myorigin = $myhostname
mydestination = $myhostname, $mydomain
mynetworks_style = subnet
mynetworks = 168.100.18 ...
myorigin = $myhostname
改成mydomain看看
本來不想說的
其實看到主機名的沒問題
而域名的有問題,其實也就那麼幾個要注意的地方
《解決方案》
不清楚還要如何調試呀。能否提示我?
《解決方案》
已經說了
調試后說下結果
《解決方案》
還是沒有解決。同樣的錯誤。