免费注册 查看新帖 |

Chinaunix

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

[Mail] postfix不能发送接收其他域的邮件问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-14 15:37 |只看该作者 |倒序浏览
前些日子用postfix+dovecot配置了一个邮件服务器,参考文档:[http://ms.ntcb.edu.tw/~steven/article/postfix_install.htm]

域名xxx.com;ip地址为公网真实ip
现在有如下问题:使用foxmail或者outlook只能收发本域内的邮件,发送其他域邮件时提示554错误,不知什么原因




sasl进程已经起来了,MX纪录3天前已在DNS服务器经加了,请高手指点一下


操作系统为centOS4.4 postfix为2.2。10版本


maillog

Jun 14 14:00:57 dns postfix/smtpd[3983]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 14 14:00:57 dns postfix/smtpd[3983]: connect from unknown[221.3.62.92]
Jun 14 14:00:57 dns postfix/smtpd[3983]: NOQUEUE: reject: RCPT from unknown[221.3.62.92]: 554 <wei@gefoo.com>: Relay access denied; from=<sky.sun@kafon.com> t
o=<wei@gefoo.com> proto=ESMTP helo=<dave>
Jun 14 14:00:59 dns postfix/smtpd[3983]: NOQUEUE: reject: RCPT from unknown[221.3.62.92]: 554 <dave.wei@gefoo.com>: Relay access denied; from=<sky.sun@kafon.c
om> to=<dave.wei@gefoo.com> proto=ESMTP helo=<dave>
Jun 14 14:01:00 dns postfix/smtpd[3983]: disconnect from unknown[221.3.62.92]
Jun 14 14:01:04 dns postfix/smtpd[3983]: connect from unknown[221.3.62.92]
Jun 14 14:01:04 dns postfix/smtpd[3983]: NOQUEUE: reject: RCPT from unknown[221.3.62.92]: 554 <wee0618@gmail.com>: Relay access denied; from=<ryan.zhang@kafon
.com> to=<wee0618@gmail.com> proto=ESMTP helo=<dave>
Jun 14 14:01:06 dns postfix/smtpd[3983]: disconnect from unknown[221.3.62.92]
Jun 14 14:04:26 dns postfix/anvil[3985]: statistics: max connection rate 2/60s for (smtp:221.3.62.92) at Jun 14 14:01:04
Jun 14 14:04:26 dns postfix/anvil[3985]: statistics: max connection count 1 for (smtp:221.3.62.92) at Jun 14 14:00:57
Jun 14 14:04:26 dns postfix/anvil[3985]: statistics: max cache size 1 at Jun 14 14:00:57
Jun 14 14:12:06 dns pop3-login: Login: sky.sun [::ffff:221.3.62.92]
Jun 14 14:23:20 dns postfix/smtpd[3992]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 14 14:23:21 dns postfix/smtpd[3992]: connect from unknown[221.3.62.92]
Jun 14 14:23:48 dns postfix/smtpd[3992]: disconnect from unknown[221.3.62.92]
Jun 14 14:24:02 dns pop3-login: Aborted login [::ffff:221.3.62.92]
Jun 14 14:27:08 dns postfix/anvil[3994]: statistics: max connection rate 1/60s for (smtp:221.3.62.92) at Jun 14 14:23:21
Jun 14 14:27:08 dns postfix/anvil[3994]: statistics: max connection count 1 for (smtp:221.3.62.92) at Jun 14 14:23:21
Jun 14 14:27:08 dns postfix/anvil[3994]: statistics: max cache size 1 at Jun 14 14:23:21
Jun 14 14:27:09 dns pop3-login: Login: sky.sun [::ffff:221.3.62.92]
Jun 14 14:42:12 dns pop3-login: Login: sky.sun [::ffff:221.3.62.92]
Jun 14 14:57:15 dns pop3-login: Login: sky.sun [::ffff:221.3.62.92]
Jun 14 15:12:18 dns pop3-login: Login: sky.sun [::ffff:221.3.62.92]
Jun 14 15:22:29 dns postfix/smtpd[4046]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 14 15:22:29 dns postfix/smtpd[4046]: connect from unknown[221.3.62.92]
Jun 14 15:22:29 dns postfix/smtpd[4046]: NOQUEUE: reject: RCPT from unknown[221.3.62.92]: 554 <wei@gefoo.com>: Relay access denied; from=<sky.sun@kafon.com> t
o=<wei@gefoo.com> proto=ESMTP helo=<dave>
Jun 14 15:22:34 dns postfix/smtpd[4046]: NOQUEUE: reject: RCPT from unknown[221.3.62.92]: 554 <dave.wei@gefoo.com>: Relay access denied; from=<sky.sun@kafon.c
om> to=<dave.wei@gefoo.com> proto=ESMTP helo=<dave>
Jun 14 15:22:35 dns postfix/smtpd[4046]: disconnect from unknown[221.3.62.92]
Jun 14 15:22:39 dns postfix/smtpd[4046]: connect from unknown[221.3.62.92]
Jun 14 15:22:39 dns postfix/smtpd[4046]: NOQUEUE: reject: RCPT from unknown[221.3.62.92]: 554 <wee0618@gmail.com>: Relay access denied; from=<ryan.zhang@kafon
.com> to=<wee0618@gmail.com> proto=ESMTP helo=<dave>
Jun 14 15:22:41 dns postfix/smtpd[4046]: disconnect from unknown[221.3.62.92]
Jun 14 15:26:01 dns postfix/anvil[4048]: statistics: max connection rate 2/60s for (smtp:221.3.62.92) at Jun 14 15:22:39
Jun 14 15:26:01 dns postfix/anvil[4048]: statistics: max connection count 1 for (smtp:221.3.62.92) at Jun 14 15:22:29
Jun 14 15:26:01 dns postfix/anvil[4048]: statistics: max cache size 1 at Jun 14 15:22:29
Jun 14 15:27:21 dns pop3-login: Login: sky.sun [::ffff:221.3.62.92]
Jun 14 15:30:07 dns postfix/smtpd[4053]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 14 15:30:07 dns postfix/smtpd[4053]: connect from unknown[221.3.62.92]
Jun 14 15:30:07 dns postfix/smtpd[4053]: NOQUEUE: reject: RCPT from unknown[221.3.62.92]: 554 <wee0618@gmail.com>: Relay access denied; from=<ryan.zhang@kafon
.com> to=<wee0618@gmail.com> proto=ESMTP helo=<dave>
Jun 14 15:30:37 dns postfix/smtpd[4053]: disconnect from unknown[221.3.62.92]
Jun 14 15:30:44 dns postfix/smtpd[4053]: connect from unknown[221.3.62.92]
Jun 14 15:30:44 dns postfix/smtpd[4053]: NOQUEUE: reject: RCPT from unknown[221.3.62.92]: 554 <wee0618@gmail.com>: Relay access denied; from=<ryan.zhang@kafon
.com> to=<wee0618@gmail.com> proto=ESMTP helo=<dave>
Jun 14 15:30:57 dns postfix/smtpd[4053]: disconnect from unknown[221.3.62.92]
Jun 14 15:34:17 dns postfix/anvil[4055]: statistics: max connection rate 2/60s for (smtp:221.3.62.92) at Jun 14 15:30:44
Jun 14 15:34:17 dns postfix/anvil[4055]: statistics: max connection count 1 for (smtp:221.3.62.92) at Jun 14 15:30:07
Jun 14 15:34:17 dns postfix/anvil[4055]: statistics: max cache size 1 at Jun 14 15:30:07

[ 本帖最后由 wee0618 于 2008-6-14 15:42 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-06-25 11:11 |只看该作者
LZ去了解一下SMTP验证方面的知识。sasl进程已经起来并不代表SMTP验证 已经可用了。

另外验证可用了,如果postfix没有配置好,照样不能转发邮件。

论坛徽章:
0
3 [报告]
发表于 2008-06-25 17:19 |只看该作者
你outlook有点“我的服务器要求身份验证”吗

论坛徽章:
0
4 [报告]
发表于 2008-06-25 17:23 |只看该作者
应该是认证配置有些问题;

玩linux服务器最重要的一点就是要细心看日志和提示,多了一点,少了一点都不行;得按标准来;
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP