免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3667 | 回复: 1
打印 上一主题 下一主题

[Mail] POSTFIX 不能外发邮件 mail loop 这是我的main.cf 和maillog看看有没有问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-27 14:34 |只看该作者 |倒序浏览
main.cf
==============================
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain, mail.$mydomain
mydomain = smartlinux.cn
myhostname = mail
mynetworks = 10.1.1.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination
relayhost = $mydomain
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_recipient_restrictions = permit_mynetworks,_         permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 450


===========================================================
maillog
===========================================================
Mar 27 14:01:13 mail postfix/smtp[7950]: warning: relayhost configuration problem: smartlinux.cn
Mar 27 14:01:13 mail postfix/smtp[7950]: E0B6C5DABC: to=<xj_bluesky@163.com>, relay=none, delay=30, status=deferred (mail for smartlinux.cn loops back to myself)
Mar 27 14:01:35 mail postfix/smtpd[7892]: connect from unknown[10.1.1.149]
Mar 27 14:01:35 mail postfix/smtpd[7892]: 236D25DAC8: client=unknown[10.1.1.149], sasl_method=LOGIN, sasl_username=tom
Mar 27 14:01:35 mail postfix/cleanup[7931]: 236D25DAC8: message-id=<001b01c77035$5db55150$9501010a@sec.com>
Mar 27 14:01:35 mail postfix/qmgr[7870]: 236D25DAC8: from=<tom@smartlinux.cn>, size=604, nrcpt=1 (queue active)
Mar 27 14:01:35 mail postfix/smtpd[7892]: disconnect from unknown[10.1.1.149]
Mar 27 14:01:35 mail postfix/smtp[7950]: warning: mailer loop: best MX host for smartlinux.cn is local
Mar 27 14:01:35 mail postfix/smtp[7950]: warning: relayhost configuration problem: smartlinux.cn
Mar 27 14:01:35 mail postfix/smtp[7950]: 236D25DAC8: to=<jackyxu@schumacherchina.com>, relay=none, delay=0, status=deferred (mail for smartlinux.cn loops back to myself)
Mar 27 14:02:32 mail dovecot: pop3-login: Login: user=<tom>, method=PLAIN, rip=::ffff:10.1.1.149, lip=::ffff:10.1.1.240
Mar 27 14:02:32 mail dovecot: POP3(tom): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Mar 27 14:02:33 mail dovecot: pop3-login: Login: user=<tom>, method=PLAIN, rip=::ffff:10.1.1.149, lip=::ffff:10.1.1.240
Mar 27 14:02:33 mail dovecot: POP3(tom): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Mar 27 14:02:34 mail dovecot: pop3-login: Login: user=<tom>, method=PLAIN, rip=::ffff:10.1.1.149, lip=::ffff:10.1.1.240
Mar 27 14:02:34 mail dovecot: POP3(tom): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Mar 27 14:02:35 mail dovecot: pop3-login: Login: user=<tom>, method=PLAIN, rip=::ffff:10.1.1.149, lip=::ffff:10.1.1.240

有人知道问题在哪吗?先谢谢啦!

论坛徽章:
0
2 [报告]
发表于 2007-03-29 10:00 |只看该作者
问题解决
smtpd_recipient_restrictions = permit_mynetworks,_         permit_sasl_authenticated,reject_unauth_destination

多了一下"_" 郁闷了好几天
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP