ITPub博客

首页 > Linux操作系统 > Linux操作系统 > EMOS无法接收邮件

EMOS无法接收邮件

原创 Linux操作系统 作者:听海★蓝心梦 时间:2012-03-16 16:05:26 0 删除 编辑

今天有人说老总的邮箱无法接收126的邮件?大事啊。
于是登录后台查看,发现系统正常,而其他邮箱都正常接收邮件。最后检查/var/log/maillog日志文件,发现以下信息:

Mar 13 16:57:44 mail postfix/smtpd[24635]: disconnect from mail.abm-antriebe.de[62.153.229.221]
Mar 13 16:58:10 mail postfix/anvil[24580]: statistics: max connection rate 1/60s for (smtp:58.60.203.132) at Mar 13 16:48:10
Mar 13 16:58:10 mail postfix/anvil[24580]: statistics: max connection count 1 for (smtp:58.60.203.132) at Mar 13 16:48:10
Mar 13 16:58:10 mail postfix/anvil[24580]: statistics: max cache size 2 at Mar 13 16:50:43
Mar 13 16:59:51 mail postfix/smtpd[24670]: connect from unknown[113.89.127.165]
Mar 13 16:59:58 mail postfix/smtpd[24670]: lost connection after CONNECT from unknown[113.89.127.165]
Mar 13 16:59:58 mail postfix/smtpd[24670]: disconnect from unknown[113.89.127.165]
Mar 13 17:00:20 mail postfix/smtpd[24670]: connect from unknown[113.89.127.165]
Mar 13 17:00:39 mail postfix/smtpd[24676]: connect from mail.abm-antriebe.de[62.153.229.221]
Mar 13 17:01:05 mail postfix/smtpd[24676]: C420D1A04DD: client=mail.abm-antriebe.de[62.153.229.221]
Mar 13 17:01:06 mail postfix/cleanup[24689]: C420D1A04DD: message-id=<AB2E58803097834ABD79B841D529F53C02B2BD6B@sv13.abm.local>
Mar 13 17:01:07 mail postfix/qmgr[14917]: C420D1A04DD: from=<kerstin.reiner@abm-antriebe.de>, size=18211, nrcpt=1 (queue active)
Mar 13 17:01:07 mail postfix/smtpd[24676]: disconnect from mail.abm-antriebe.de[62.153.229.221]
Mar 13 17:01:08 mail postfix/smtpd[24695]: connect from localhost.localdomain[127.0.0.1]
Mar 13 17:01:08 mail postfix/smtpd[24695]: 0D0F71A052C: client=localhost.localdomain[127.0.0.1]
Mar 13 17:01:08 mail postfix/cleanup[24689]: 0D0F71A052C: message-id=<AB2E58803097834ABD79B841D529F53C02B2BD6B@sv13.abm.local>
Mar 13 17:01:08 mail postfix/qmgr[14917]: 0D0F71A052C: from=<kerstin.reiner@abm-antriebe.de>, size=19608, nrcpt=1 (queue active)
Mar 13 17:01:08 mail postfix/smtpd[24695]: disconnect from localhost.localdomain[127.0.0.1]
Mar 13 17:01:08 mail maildrop[24697]: Cannot have world/group permissions on the filter file - for your own good.
Mar 13 17:01:08 mail postfix/pipe[24696]: 0D0F71A052C: to=<zhenmingming@cranewh.com>, relay=maildrop, delay=0.02, delays=0.01/0/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: maildrop: Cannot have world/group permissions on the filter file - for your own good. )
Mar 13 17:01:08 mail amavis[23969]: (23969-02) Passed CLEAN, [62.153.229.221] [62.153.229.221] <kerstin.reiner@abm-antriebe.de> -> <zhenmingming@cranewh.com>, Message-ID: <AB2E58803097834ABD79B841D529F53C02B2BD6B@sv13.abm.local>, mail_id: d3NY5AeI7RvV, Hits: -0.846, size: 18211, queued_as: 0D0F71A052C, 685 ms

最后确认发现.mailfilter文件是在配置邮件过滤时产生的文件,这个文件的权限必须是600,否则就会报错:
Cannot have world/group permissions on the filter file - for your own good.
因为前几天对两台服务器做文件同步,每晚自动拷贝主服务器的文件到备份服务器,于是修改了所有的文件权限为755,所以导致该邮箱无法接收邮件。
发现问题后,把该文件的权限改回600,邮箱接收/发送邮件恢复正常。

但是有个原因没搞明白,为什么权限大了,反而不能接收邮件?

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/751371/viewspace-718776/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-02-18

  • 博文量
    256
  • 访问量
    1187693