免费注册 查看新帖 |

Chinaunix

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

[Mail] postfix突然无法收发邮件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-07-19 11:26 |只看该作者 |倒序浏览
按照 这个帖子做的 [url]http://bbs.chinaunix.net/viewthread.php?tid=1631260[/url]

没有安装ClamAv,刚开始还能发送接收邮件,一周左右就不行了,不知道那出的问题。
请各位高手帮忙。
刚安装好都可以正常发送,一周后突然不能发送了,重新安装了sasl和dspam后,能发送,但是发不到地方去。

Jul 18 20:25:54 mail postfix/postfix-script[1416]: stopping the Postfix mail system
Jul 18 20:25:54 mail postfix/master[1068]: terminating on signal 15
Jul 18 20:25:54 mail dspam[989]: Daemon terminating on signal 15
Jul 18 20:25:54 mail dspam[989]: received signal. waiting for processing threads to exit.
Jul 18 20:25:54 mail dspam[989]: daemon is down.
Jul 18 20:25:54 mail dspam[989]: Daemon process exiting
Jul 18 20:25:54 mail authdaemond: stopping authdaemond children
Jul 18 20:27:00 mail authdaemond: modules="authmysql", daemons=5
Jul 18 20:27:00 mail authdaemond: Installing libauthmysql
Jul 18 20:27:00 mail authdaemond: Installation complete: authmysql
Jul 18 20:27:00 mail dspam[989]: Daemon process starting
Jul 18 20:27:00 mail dspam[989]: Unable to open file for writing: /var/run/dspam.pid: Permission denied
Jul 18 20:27:01 mail postfix/postfix-script[1067]: starting the Postfix mail system
Jul 18 20:27:01 mail postfix/master[1068]: daemon started -- version 2.7.1, configuration /usr/local/etc/postfix
Jul 18 20:27:05 mail dspam[989]: Reloading configuration
Jul 18 20:27:05 mail dspam[989]: received signal. waiting for processing threads to exit.
Jul 18 20:27:05 mail dspam[989]: daemon is down.
Jul 18 20:27:05 mail dspam[989]: reloading configuration
Jul 18 20:27:05 mail dspam[989]: Unable to open file for writing: /var/run/dspam.pid: Permission denied(我已经生成了dspam.pid,但是重启后又消失了,又重新建了一个)
Jul 18 20:30:27 mail dspam[989]: Daemon terminating on signal 15
Jul 18 20:30:27 mail dspam[989]: received signal. waiting for processing threads to exit.
Jul 18 20:30:27 mail dspam[989]: daemon is down.
Jul 18 20:30:27 mail dspam[989]: Daemon process exiting
Jul 18 20:30:28 mail dspam[1276]: Daemon process starting
Jul 18 20:30:47 mail postfix/smtpd[1278]: initializing the server-side TLS engine
Jul 18 20:30:47 mail postfix/smtpd[1278]: warning: cannot get RSA certificate from file /usr/local/etc/postfix/certs/mycert.pem: disabling TLS support
Jul 18 20:30:47 mail postfix/smtpd[1278]: warning: TLS library problem: 1278:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:698:Expecting: TRUSTED CERTIFICATE:
Jul 18 20:30:47 mail postfix/smtpd[1278]: warning: TLS library problem: 1278:error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib:ssl_rsa.c:729:
Jul 18 20:30:47 mail postfix/smtpd[1278]: connect from localhost[127.0.0.1]
Jul 18 20:30:47 mail postfix/smtpd[1278]: D8400A66442: client=localhost[127.0.0.1]
Jul 18 20:30:47 mail postfix/cleanup[1282]: D8400A66442: message-id=<[email]20100718123047.D8400A66442@mail.extmail.org[/email]>
Jul 18 20:30:47 mail postfix/qmgr[1072]: D8400A66442: from=<[email]hdh@wargg.com[/email]>, size=574, nrcpt=2 (queue active)
Jul 18 20:30:47 mail postfix/smtpd[1278]: disconnect from localhost[127.0.0.1]
Jul 18 20:30:48 mail dspam[1276]: Connection to 127.0.0.1:10024 failed: Connection refused
Jul 18 20:30:48 mail dspam[1276]: Unable to connect to server
Jul 18 20:30:48 mail dspam[1276]: Connection to 127.0.0.1:10024 failed: Connection refused
Jul 18 20:30:48 mail dspam[1276]: Unable to connect to server
Jul 18 20:30:48 mail postfix/lmtp[1283]: D8400A66442: to=<[email]he_work@126.com[/email]>, relay=mail.extmail.org[/tmp/dspam.sock], delay=0.41, delays=0.13/0.05/0.02/0.21, dsn=4.3.0, status=deferred (host mail.extmail.org[/tmp/dspam.sock] said: 421 4.3.0 <[email]he_work@126.com[/email]> Unable to connect to server (in reply to end of DATA command))(发送到我的邮箱,总是连接不上,刚建好一点问题没有,都可以发送接收)
Jul 18 20:30:48 mail postfix/lmtp[1283]: D8400A66442: to=<[email]admin@wargg.com[/email]>, relay=mail.extmail.org[/tmp/dspam.sock], delay=0.47, delays=0.13/0.05/0.02/0.27, dsn=4.3.0, status=deferred (host mail.extmail.org[/tmp/dspam.sock] said: 421 4.3.0 <[email]admin@wargg.com[/email]> Unable to connect to server (in reply to end of DATA command))
Jul 18 20:31:09 mail postfix/smtpd[1278]: connect from localhost[127.0.0.1]
Jul 18 20:31:09 mail postfix/smtpd[1278]: 09C4AA66444: client=localhost[127.0.0.1]
Jul 18 20:31:09 mail postfix/cleanup[1282]: 09C4AA66444: message-id=<[email]20100718123109.09C4AA66444@mail.extmail.org[/email]>
Jul 18 20:31:09 mail postfix/qmgr[1072]: 09C4AA66444: from=<[email]hdh@wargg.com[/email]>, size=600, nrcpt=2 (queue active)
Jul 18 20:31:09 mail postfix/smtpd[1278]: disconnect from localhost[127.0.0.1]
Jul 18 20:31:09 mail dspam[1276]: Connection to 127.0.0.1:10024 failed: Connection refused
Jul 18 20:31:09 mail dspam[1276]: Unable to connect to server
Jul 18 20:31:09 mail dspam[1276]: Connection to 127.0.0.1:10024 failed: Connection refused
Jul 18 20:31:09 mail dspam[1276]: Unable to connect to server
Jul 18 20:31:09 mail postfix/lmtp[1283]: 09C4AA66444: to=<[email]admin@wargg.com[/email]>, relay=mail.extmail.org[/tmp/dspam.sock], delay=0.12, delays=0.1/0/0/0.02, dsn=4.3.0, status=deferred (host mail.extmail.org[/tmp/dspam.sock] said: 421 4.3.0 <[email]admin@wargg.com[/email]> Unable to connect to server (in reply to end of DATA command))
Jul 18 20:31:09 mail postfix/lmtp[1283]: 09C4AA66444: to=<[email]hdh@wargg.com[/email]>, relay=mail.extmail.org[/tmp/dspam.sock], delay=0.12, delays=0.1/0/0/0.02, dsn=4.3.0, status=deferred (host mail.extmail.org[/tmp/dspam.sock] said: 421 4.3.0 <[email]hdh@wargg.com[/email]> Unable to connect to server (in reply to end of DATA command))

不知道是不是因为部分配置文件里有extmail.org出的问题?(host mail.extmail.org[/tmp/dspam.sock]

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
2 [报告]
发表于 2010-07-20 08:16 |只看该作者
Jul 18 20:27:00 mail dspam[989]: Unable to open file for writing: /var/run/dspam.pid: Permission denied

先解决这个问题
检查目录权限
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP