免费注册 查看新帖 |

Chinaunix

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

[Mail] postfix配置问题,邮件发出去了,在收件箱里没接受到? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-10-09 17:12 |只看该作者 |倒序浏览
小弟最近配置postfix的邮件代理,在配置好后,发邮件总是发出去接收不到,请各位帮帮忙看下,谢了。
main.cf:
  1. alias_database = hash:/etc/aliases
  2. alias_maps = hash:/etc/aliases
  3. command_directory = /usr/sbin
  4. config_directory = /etc/postfix
  5. daemon_directory = /usr/libexec/postfix
  6. data_directory = /var/lib/postfix
  7. debug_peer_level = 2
  8. html_directory = no
  9. inet_interfaces = all
  10. inet_protocols = all
  11. mail_owner = postfix
  12. mailq_path = /usr/bin/mailq.postfix
  13. manpage_directory = /usr/share/man
  14. mydestination =
  15. mydomain = ximotech.com
  16. myhostname = xmntc.ximotech.com
  17. mynetworks_style = host
  18. myorigin = ximotech.com
  19. newaliases_path = /usr/bin/newaliases.postfix
  20. queue_directory = /var/spool/postfix
  21. readme_directory = /usr/share/doc/postfix-2.6.5/README_FILES
  22. relay_domains =
  23. sample_directory = /usr/share/doc/postfix-2.6.5/samples
  24. sendmail_path = /usr/sbin/sendmail.postfix
  25. setgid_group = postdrop
  26. unknown_local_recipient_reject_code = 550
复制代码
测试:
  1. [root@xmntc /]# mail cxw06023273@126.com
  2. Subject: hello postfix!
  3. 2010-10-09
  4. .
  5. EOT
复制代码
日志:
  1. [root@xmntc /]# tail /var/log/maillog
  2. Oct 10 01:25:06 xmntc postfix/pickup[29448]: 23BD1E023D: uid=0 from=<root>
  3. Oct 10 01:25:06 xmntc postfix/cleanup[6882]: 23BD1E023D: message-id=<20101009172506.23BD1E023D@xmntc.ximotech.com>
  4. Oct 10 01:25:06 xmntc postfix/qmgr[29449]: 23BD1E023D: from=<root@ximotech.com>, size=445, nrcpt=1 (queue active)
  5. 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))
  6. Oct 10 01:25:07 xmntc postfix/cleanup[6882]: 6698CE023E: message-id=<20101009172507.6698CE023E@xmntc.ximotech.com>
  7. Oct 10 01:25:07 xmntc postfix/qmgr[29449]: 6698CE023E: from=<>, size=2576, nrcpt=1 (queue active)
  8. Oct 10 01:25:07 xmntc postfix/bounce[6890]: 23BD1E023D: sender non-delivery notification: 6698CE023E
  9. Oct 10 01:25:07 xmntc postfix/qmgr[29449]: 23BD1E023D: removed
  10. 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))
  11. Oct 10 01:25:09 xmntc postfix/qmgr[29449]: 6698CE023E: removed
复制代码
发送后打开邮箱发现没接收到邮件,感觉是550 User not found: root@ximotech.com,但是用域名用nslookup解析能解析出来,怎么回事呢?

论坛徽章:
0
2 [报告]
发表于 2010-10-11 10:13 |只看该作者
大家都没遇到过吗?还是我描述的有问题呢?

论坛徽章:
0
3 [报告]
发表于 2010-10-12 15:21 |只看该作者
顶下.....

论坛徽章:
0
4 [报告]
发表于 2010-10-14 11:07 |只看该作者
到底怎么回事呢?各位有啥意见,说下啊,先谢了啊

论坛徽章:
0
5 [报告]
发表于 2010-10-14 18:14 |只看该作者
已解决,mydestination目的地址里边不能设置$mydomain
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP