免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4344 | 回复: 4

[Mail] 麻烦大家看看这是怎么回事 [复制链接]

论坛徽章:
0
发表于 2010-03-18 10:56 |显示全部楼层
本帖最后由 ioioj5 于 2010-03-18 10:57 编辑

只装上postfix的时候还可以发送邮件,
可装了dovecot,sasl 之后也不能发也不能接了。

maillog:
  1. Mar 18 10:28:55 mail postfix/smtpd[3077]: warning: 192.168.1.108: address not listed for hostname localhost
  2. Mar 18 10:28:55 mail postfix/smtpd[3077]: connect from unknown[192.168.1.108]
  3. Mar 18 10:28:55 mail postfix/smtpd[3077]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
  4. Mar 18 10:28:55 mail postfix/smtpd[3077]: warning: unknown[192.168.1.108]: SASL LOGIN authentication failed: generic failure
  5. Mar 18 10:28:55 mail postfix/smtpd[3077]: lost connection after AUTH from unknown[192.168.1.108]
  6. Mar 18 10:28:55 mail postfix/smtpd[3077]: disconnect from unknown[192.168.1.108]
  7. Mar 18 10:33:32 mail postfix/postfix-script[3097]: stopping the Postfix mail system
  8. Mar 18 10:33:32 mail postfix/master[2718]: terminating on signal 15
  9. Mar 18 10:33:36 mail postfix/postfix-script[3167]: starting the Postfix mail system
  10. Mar 18 10:33:36 mail postfix/master[3168]: daemon started -- version 2.6.5, configuration /etc/postfix
  11. Mar 18 10:33:41 mail postfix/smtpd[3171]: warning: 192.168.1.108: address not listed for hostname localhost
  12. Mar 18 10:33:41 mail postfix/smtpd[3171]: connect from unknown[192.168.1.108]
  13. Mar 18 10:33:41 mail postfix/smtpd[3171]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
  14. Mar 18 10:33:41 mail postfix/smtpd[3171]: warning: unknown[192.168.1.108]: SASL LOGIN authentication failed: generic failure
  15. Mar 18 10:33:41 mail postfix/smtpd[3171]: lost connection after AUTH from unknown[192.168.1.108]
  16. Mar 18 10:33:41 mail postfix/smtpd[3171]: disconnect from unknown[192.168.1.108]
  17. Mar 18 10:33:49 mail postfix/smtpd[3171]: warning: 192.168.1.108: address not listed for hostname localhost
  18. Mar 18 10:33:49 mail postfix/smtpd[3171]: connect from unknown[192.168.1.108]
  19. Mar 18 10:33:49 mail postfix/smtpd[3171]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
  20. Mar 18 10:33:49 mail postfix/smtpd[3171]: warning: unknown[192.168.1.108]: SASL LOGIN authentication failed: generic failure
  21. Mar 18 10:33:49 mail postfix/smtpd[3171]: lost connection after AUTH from unknown[192.168.1.108]
  22. Mar 18 10:33:49 mail postfix/smtpd[3171]: disconnect from unknown[192.168.1.108]
  23. Mar 18 10:34:13 mail postfix/smtpd[3171]: warning: 192.168.1.108: address not listed for hostname localhost
  24. Mar 18 10:34:13 mail postfix/smtpd[3171]: connect from unknown[192.168.1.108]
  25. Mar 18 10:34:13 mail postfix/smtpd[3171]: warning: unknown smtpd restriction: "permit_mynetworkd"
  26. Mar 18 10:34:13 mail postfix/smtpd[3171]: NOQUEUE: reject: RCPT from unknown[192.168.1.108]: 451 4.3.5 Server configuration error; from=<test@mail.chushan.com> to=<mail1@mail.chushan.com> proto=SMTP helo=<ab4cbf10f1e44d0>
  27. Mar 18 10:34:15 mail postfix/cleanup[3176]: B34768F085: message-id=<20100318023415.B34768F085@mail.chushan.com>
  28. Mar 18 10:34:15 mail postfix/smtpd[3171]: disconnect from unknown[192.168.1.108]
  29. Mar 18 10:34:15 mail postfix/qmgr[3169]: B34768F085: from=<double-bounce@mail.chushan.com>, size=769, nrcpt=1 (queue active)
  30. Mar 18 10:34:15 mail postfix/local[3177]: B34768F085: to=<root@mail.chushan.com>, orig_to=<postmaster>, relay=local, delay=0.14, delays=0.06/0.04/0/0.04, dsn=2.0.0, status=sent (delivered to mailbox)
  31. Mar 18 10:34:15 mail postfix/qmgr[3169]: B34768F085: removed
  32. Mar 18 10:34:19 mail postfix/smtpd[3171]: warning: 192.168.1.108: address not listed for hostname localhost
  33. Mar 18 10:34:19 mail postfix/smtpd[3171]: connect from unknown[192.168.1.108]
  34. Mar 18 10:34:19 mail postfix/smtpd[3171]: warning: unknown smtpd restriction: "permit_mynetworkd"
  35. Mar 18 10:34:19 mail postfix/smtpd[3171]: NOQUEUE: reject: RCPT from unknown[192.168.1.108]: 451 4.3.5 Server configuration error; from=<test@mail.chushan.com> to=<mail1@mail.chushan.com> proto=SMTP helo=<ab4cbf10f1e44d0>
  36. Mar 18 10:34:24 mail postfix/smtpd[3171]: lost connection after RCPT from unknown[192.168.1.108]
  37. Mar 18 10:34:24 mail postfix/cleanup[3176]: 3D76F8F085: message-id=<20100318023424.3D76F8F085@mail.chushan.com>
  38. Mar 18 10:34:24 mail postfix/smtpd[3171]: disconnect from unknown[192.168.1.108]
  39. Mar 18 10:34:24 mail postfix/qmgr[3169]: 3D76F8F085: from=<double-bounce@mail.chushan.com>, size=746, nrcpt=1 (queue active)
  40. Mar 18 10:34:24 mail postfix/local[3177]: 3D76F8F085: to=<root@mail.chushan.com>, orig_to=<postmaster>, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
  41. Mar 18 10:34:24 mail postfix/qmgr[3169]: 3D76F8F085: removed
  42. Mar 18 10:34:25 mail postfix/smtpd[3171]: warning: 192.168.1.108: address not listed for hostname localhost
  43. Mar 18 10:34:25 mail postfix/smtpd[3171]: connect from unknown[192.168.1.108]
  44. Mar 18 10:34:25 mail postfix/smtpd[3171]: warning: unknown smtpd restriction: "permit_mynetworkd"
  45. Mar 18 10:34:25 mail postfix/smtpd[3171]: NOQUEUE: reject: RCPT from unknown[192.168.1.108]: 451 4.3.5 Server configuration error; from=<test@mail.chushan.com> to=<mail1@mail.chushan.com> proto=SMTP helo=<ab4cbf10f1e44d0>
  46. Mar 18 10:34:26 mail postfix/cleanup[3176]: 35AD88F085: message-id=<20100318023426.35AD88F085@mail.chushan.com>
  47. Mar 18 10:34:26 mail postfix/smtpd[3171]: disconnect from unknown[192.168.1.108]
  48. Mar 18 10:34:26 mail postfix/qmgr[3169]: 35AD88F085: from=<double-bounce@mail.chushan.com>, size=769, nrcpt=1 (queue active)
  49. Mar 18 10:34:26 mail postfix/local[3177]: 35AD88F085: to=<root@mail.chushan.com>, orig_to=<postmaster>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
  50. Mar 18 10:34:26 mail postfix/qmgr[3169]: 35AD88F085: removed
  51. Mar 18 10:34:42 mail postfix/smtpd[3171]: warning: 192.168.1.108: address not listed for hostname localhost
  52. Mar 18 10:34:42 mail postfix/smtpd[3171]: connect from unknown[192.168.1.108]
  53. Mar 18 10:34:42 mail postfix/smtpd[3171]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
  54. Mar 18 10:34:42 mail postfix/smtpd[3171]: warning: unknown[192.168.1.108]: SASL LOGIN authentication failed: generic failure
  55. Mar 18 10:34:42 mail postfix/smtpd[3171]: lost connection after AUTH from unknown[192.168.1.108]
  56. Mar 18 10:34:42 mail postfix/smtpd[3171]: disconnect from unknown[192.168.1.108]
  57. Mar 18 10:43:34 mail postfix/smtpd[3194]: warning: 192.168.1.108: address not listed for hostname localhost
  58. Mar 18 10:43:34 mail postfix/smtpd[3194]: connect from unknown[192.168.1.108]
  59. Mar 18 10:43:34 mail postfix/smtpd[3194]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
  60. Mar 18 10:43:34 mail postfix/smtpd[3194]: warning: unknown[192.168.1.108]: SASL LOGIN authentication failed: generic failure
  61. Mar 18 10:43:34 mail postfix/smtpd[3194]: lost connection after AUTH from unknown[192.168.1.108]
  62. Mar 18 10:43:34 mail postfix/smtpd[3194]: disconnect from unknown[192.168.1.108]
复制代码

论坛徽章:
0
发表于 2010-03-18 13:34 |显示全部楼层
smtpd.conf怎么写的。

论坛徽章:
0
发表于 2010-03-18 13:34 |显示全部楼层
smtpd.conf怎么写的。

论坛徽章:
0
发表于 2010-03-18 13:40 |显示全部楼层
回复 1# ioioj5

postfix是怎么安装的?
首先确认以下postfix是否支持dovecot sasl,使用下面命令:

shell# postconf -a
cyrus
dovecot

1. 如果有上面输出,说明支持dovecot sasl,确认postfix和dovecot配置是否正确。

2. 没有上面输出,说明不支持 dovecot sasl,重新安装让postfix支持dovecot sasl


有关postifx 和dovecot的配置请参照postfix手册和dovecot官方说明。

参考 http://www.postfix.org/SASL_README.html

论坛徽章:
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
发表于 2010-03-18 15:14 |显示全部楼层
Mar 18 10:28:55 mail postfix/smtpd[3077]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory


sasl的相关配置有问题吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP