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 编辑 ] 你需要将XXX.com这个域名加到network中(main.cf) 原帖由 waring_id 于 2008-7-21 08:27 发表 http://bbs.5dmail.net/images/common/back.gif
你需要将XXX.com这个域名加到network中(main.cf)
mynetwork ? 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 编辑 ] 有人可以帮助我吗?
页:
[1]