邮件服务器-邮件系统-邮件技术论坛(BBS)

标题: postfix 无法收信(Relay access denied)【已解决】 [打印本页]

作者: adisonray    时间: 2008-7-20 23:04
标题: postfix 无法收信(Relay access denied)【已解决】
使用email@mail.xxx.com可以正常收发邮件。使用email@xxx.com发送邮件正常,但是收邮件却出现Relay access denied,并退信。
maillog:
Jul 18 00:41:13 mail postfix/smtpd[15353]: connect from blu0-omc1-s14.blu0.hotmail.com[65.55.116.25]
Jul 18 00:41:14 mail postfix/smtpd[15353]: AF12C126E04: client=blu0-omc1-s14.blu0.hotmail.com[65.55.116.25]
Jul 18 00:41:15 mail postfix/smtpd[15353]: AF12C126E04: reject: RCPT from blu0-omc1-s14.blu0.hotmail.com[65.55.116.25]: 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[15357]: (v4.0.8) Unable to get canonical name of client 116.52.33.231: Unknown host (1)
Jul 18 00:41:16 mail popper[15357]: (v4.0.8) Servicing request from "116.52.33.231" at 116.52.33.231
Jul 18 00:41:16 mail popper[15357]: Stats: email 0 0 0 0 116.52.33.231 116.52.33.231
Jul 18 00:41:17 mail postfix/smtpd[15353]: disconnect from blu0-omc1-s14.blu0.hotmail.com[65.55.116.25]
请求帮助!谢谢!

[ 本帖最后由 adisonray 于 2008-7-24 23:48 编辑 ]
作者: waring_id    时间: 2008-7-21 08:27
你需要将XXX.com这个域名加到network中(main.cf)
作者: adisonray    时间: 2008-7-21 11:33
原帖由 waring_id 于 2008-7-21 08:27 发表
你需要将XXX.com这个域名加到network中(main.cf)

mynetwork ?
作者: adisonray    时间: 2008-7-21 13:01
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 编辑 ]
作者: adisonray    时间: 2008-7-21 15:07
有人可以帮助我吗?




欢迎光临 邮件服务器-邮件系统-邮件技术论坛(BBS) (http://5dmail.cn/bbs/) Powered by Discuz! X3.2