- 论坛徽章:
- 0
|
小弟最近配置postfix的邮件代理,在配置好后,发邮件总是发出去接收不到,请各位帮帮忙看下,谢了。
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
- data_directory = /var/lib/postfix
- debug_peer_level = 2
- html_directory = no
- inet_interfaces = all
- inet_protocols = all
- mail_owner = postfix
- mailq_path = /usr/bin/mailq.postfix
- manpage_directory = /usr/share/man
- mydestination =
- mydomain = ximotech.com
- myhostname = xmntc.ximotech.com
- mynetworks_style = host
- myorigin = ximotech.com
- newaliases_path = /usr/bin/newaliases.postfix
- queue_directory = /var/spool/postfix
- readme_directory = /usr/share/doc/postfix-2.6.5/README_FILES
- relay_domains =
- sample_directory = /usr/share/doc/postfix-2.6.5/samples
- sendmail_path = /usr/sbin/sendmail.postfix
- setgid_group = postdrop
- unknown_local_recipient_reject_code = 550
复制代码 测试:- [root@xmntc /]# mail cxw06023273@126.com
- Subject: hello postfix!
- 2010-10-09
- .
- EOT
复制代码 日志:- [root@xmntc /]# tail /var/log/maillog
- Oct 10 01:25:06 xmntc postfix/pickup[29448]: 23BD1E023D: uid=0 from=<root>
- Oct 10 01:25:06 xmntc postfix/cleanup[6882]: 23BD1E023D: message-id=<20101009172506.23BD1E023D@xmntc.ximotech.com>
- Oct 10 01:25:06 xmntc postfix/qmgr[29449]: 23BD1E023D: from=<root@ximotech.com>, size=445, nrcpt=1 (queue active)
- Oct 10 01:25:07 xmntc postfix/smtp[6885]: 23BD1E023D: to=<cxw06023273@126.com>, relay=126mx02.mxmail.netease.com[220.181.15.132]:25, delay=1.5, delays=0.43/0.12/0.77/0.17, dsn=5.0.0, status=bounced (host 126mx02.mxmail.netease.com[220.181.15.132] said: 554 DT:SPM mx2, IMmowLC7dwcEMbBMek4+Aw--.201S2 1286615300 http://mail.163.com/help/help_spam_16.htm?ip=123.160.228.228&hostid=mx2&time=1286615300 (in reply to end of DATA command))
- Oct 10 01:25:07 xmntc postfix/cleanup[6882]: 6698CE023E: message-id=<20101009172507.6698CE023E@xmntc.ximotech.com>
- Oct 10 01:25:07 xmntc postfix/qmgr[29449]: 6698CE023E: from=<>, size=2576, nrcpt=1 (queue active)
- Oct 10 01:25:07 xmntc postfix/bounce[6890]: 23BD1E023D: sender non-delivery notification: 6698CE023E
- Oct 10 01:25:07 xmntc postfix/qmgr[29449]: 23BD1E023D: removed
- Oct 10 01:25:09 xmntc postfix/smtp[6885]: 6698CE023E: to=<root@ximotech.com>, relay=mx.ym.163.com[114.113.199.105]:25, delay=2, delays=0.03/0/0.79/1.2, dsn=5.0.0, status=bounced (host mx.ym.163.com[114.113.199.105] said: 550 User not found: root@ximotech.com (in reply to RCPT TO command))
- Oct 10 01:25:09 xmntc postfix/qmgr[29449]: 6698CE023E: removed
复制代码 发送后打开邮箱发现没接收到邮件,感觉是550 User not found: root@ximotech.com,但是用域名用nslookup解析能解析出来,怎么回事呢? |
|