免费注册 查看新帖 |

Chinaunix

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

[Mail] rhel5的postfix+cyrus-sasl+dovecot配置完毕后测试邮件发不出去 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-27 09:33 |只看该作者 |倒序浏览
/var/log/maillog内相关内容
Aug 27 15:56:02 rd postfix/smtpd[4819]: connect from unknown[172.18.18.91]
Aug 27 15:56:02 rd postfix/smtpd[4819]: 257F99B0518: client=unknown[172.18.18.91], sasl_method=LOGIN, sasl_username=hanyf@''
Aug 27 15:56:02 rd postfix/cleanup[4822]: 257F99B0518: message-id=<20070827075602.257F99B0518@mail.rd.cwtech.com.cn>
Aug 27 15:56:02 rd postfix/qmgr[2413]: 257F99B0518: from=<hanyf@rd.cwtech.com.cn>, size=653, nrcpt=1 (queue active)
Aug 27 15:56:02 rd deliver[4857]: connect(/var/lib/imap/socket/lmtp) failed: No such file or directory
Aug 27 15:56:02 rd postfix/smtpd[4819]: disconnect from unknown[172.18.18.91]
Aug 27 15:56:02 rd postfix/pipe[4824]: 257F99B0518: to=<hanyf@rd.cwtech.com.cn>, relay=cyrus, delay=0.03, delays=0.02/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: No such file or directory_ 421 4.3.0 deliver: couldn't connect to lmtpd_ )
Aug 27 15:56:02 rd dovecot: pop3-login: Login: user=<hanyf>, method=PLAIN, rip=172.18.18.91, lip=172.18.18.254
Aug 27 15:56:02 rd dovecot: POP3(hanyf): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0

给大哥看一眼,是不是域名反解析的问题?

论坛徽章:
0
2 [报告]
发表于 2007-08-27 09:37 |只看该作者

小弟跪求了

曾经ping rd.cwtech.com.cn这个域名,但是因为在不同段上(本身在172.18.18上)192.168.71有这个域名,但是机器ping不通,后面的ip是原来的地址,前面的ip是我在局域网中安装配置mail服务器的地址。

小弟这里跪求了!头发日渐稀少。。。。。。

论坛徽章:
0
3 [报告]
发表于 2007-08-27 10:10 |只看该作者

connect(/var/lib/imap/socket/lmtp) failed: No such file or directory

Aug 27 15:56:02 rd deliver[4857]: connect(/var/lib/imap/socket/lmtp) failed: No such file or directory

这句是关键????

论坛徽章:
0
4 [报告]
发表于 2007-08-27 10:32 |只看该作者

有了新发展

Aug 27 17:25:28 rd postfix/smtpd[6589]: connect from unknown[172.18.18.91]
Aug 27 17:25:28 rd postfix/smtpd[6589]: 2E4689B051C: client=unknown[172.18.18.91], sasl_method=LOGIN, sasl_username=hanyf@''
Aug 27 17:25:28 rd postfix/cleanup[6592]: 2E4689B051C: message-id=<20070827092528.2E4689B051C@mail.rd.cwtech.com.cn>
Aug 27 17:25:28 rd postfix/qmgr[6051]: 2E4689B051C: from=<hanyf@rd.cwtech.com.cn>, size=2812, nrcpt=1 (queue active)
Aug 27 17:25:28 rd postfix/local[6593]: 2E4689B051C: to=<hanyf@rd.cwtech.com.cn>, relay=local, delay=0.1, delays=0.09/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Aug 27 17:25:28 rd postfix/qmgr[6051]: 2E4689B051C: removed
Aug 27 17:25:30 rd postfix/smtpd[6589]: disconnect from unknown[172.18.18.91]

我去掉了main.cf中关于mailbox_transport等参数设置,就出现了上述日志内容。

论坛徽章:
0
5 [报告]
发表于 2007-08-27 10:36 |只看该作者

当然

我加入了对localhost的域名解释

论坛徽章:
0
6 [报告]
发表于 2007-08-27 10:36 |只看该作者

各位大哥

给个重要提示啊

论坛徽章:
0
7 [报告]
发表于 2007-08-27 10:44 |只看该作者

给自己发送的邮件,自己收不到

自己给自己发的邮件现在收不到,不知道为什么

论坛徽章:
0
8 [报告]
发表于 2007-08-27 10:52 |只看该作者
我也出现过这种情况,但我的是我设置的邮箱值太小,郁闷了我很久,把mailbox_size_limit 这行注释掉就收到了.

论坛徽章:
0
9 [报告]
发表于 2007-08-27 10:53 |只看该作者

收到很多!!!

都是刚才我自己给自己发的测试邮件,但是为什么那么慢呢???
:em11: :em11: :em11: :em11: :em11: :em11:

论坛徽章:
0
10 [报告]
发表于 2007-08-27 11:46 |只看该作者

自发的内容不能马上自收

不知道需要设置什么地方的参数
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP