免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: marion

[Mail] RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建) [复制链接]

论坛徽章:
0
发表于 2011-11-30 09:48 |显示全部楼层
回复 860# jindf


   有无这个路径呢?  /etc/authlib/

由于我开始是用源码安装,后来改用rpm安装,已经忘了这个具体路径了,其实用rpm安装会省很多事。

论坛徽章:
0
发表于 2012-03-12 10:22 |显示全部楼层
请教一下,我在为postfix开启基于cyrus-sasl认证时,有谁知道这个是什么问题?
Noname.jpg

论坛徽章:
0
发表于 2012-03-13 17:09 |显示全部楼层
按照3楼所配置,发送测试邮件时出现如下问题,真的很不解,望高手解惑啊:
  1. [root@mail ~]# telnet 127.0.0.1 10024
  2. Trying 127.0.0.1...
  3. Connected to localhost.localdomain (127.0.0.1).
  4. Escape character is '^]'.
  5. 220 [127.0.0.1] ESMTP amavisd-new service ready
  6. helo 127.0.0.1
  7. 250 [127.0.0.1]
  8. \^H
  9. mail from:<>
  10. 500 5.5.2 Error: bad syntax
  11. 250 2.1.0 Sender <> OK
  12. rcpt to :<postmaster>
  13. da501 5.5.2 Syntax: RCPT TO: <address>
  14. RCPT TO:<postmaster>
  15. 502 5.5.1 Error: command DARCPT not implemented
  16. data
  17. 554 5.1.1 Error (DATA): no valid recipients

  18. RCPT TO: <postmaster>500 5.5.2 Error: bad syntax

  19. 250 2.1.5 Recipient <postmaster> OK
  20. data
  21. 354 End data with <CR><LF>.<CR><LF>
  22. nidnidnfidfnidfnnnnnnnnnnn
  23. .
  24. 451 4.5.0 Error in processing, id=03231-05, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: CODE(0x9a26d3c) Too many retries to talk to /var/run/clamav/clamd.socket (Can't connect to UNIX socket /var/run/clamav/clamd.socket: \346\262\241\346\234\211\351\202\243\344\270\252\346\226\207\344\273\266\346\210\226\347\233\256\345\275\225) at (eval 78) line 310. at (eval 78) line 511.
复制代码

论坛徽章:
0
发表于 2012-03-14 14:04 |显示全部楼层
本帖最后由 chenxie168 于 2012-03-14 14:06 编辑

配置了SpamAssassin 和amavisd-new之后,我没有配置ClamAV 防病毒,下面有个警告,登录extmail发送邮件,日志显示如下,似乎好像都正常啊,可收件方就是收不到,问问老鸟该如何处理啊,菜鸟急啊!!!
  1. Mar 14 22:03:29 mail pop3d: Connection, ip=[192.168.1.69]
  2. Mar 14 22:03:29 mail pop3d: LOGIN, user=3@jxcom.com.cn, ip=[192.168.1.69]
  3. Mar 14 22:03:29 mail pop3d: LOGOUT, user=3@jxcom.com.cn, ip=[192.168.1.69], top=0, retr=0, rcvd=24, sent=355, time=0
  4. Mar 14 22:03:32 mail pop3d: Connection, ip=[192.168.1.69]
  5. Mar 14 22:03:32 mail pop3d: LOGIN, user=2@jxcom.com.cn, ip=[192.168.1.69]
  6. Mar 14 22:03:32 mail pop3d: LOGOUT, user=2@jxcom.com.cn, ip=[192.168.1.69], top=0, retr=0, rcvd=24, sent=423, time=0
  7. Mar 14 22:03:44 mail postfix/smtpd[4569]: connect from unknown[192.168.1.69]
  8. Mar 14 22:03:44 mail postfix/smtpd[4569]: 16565190B39: client=unknown[192.168.1.69], sasl_method=LOGIN, sasl_username=2@jxcom.com.cn
  9. Mar 14 22:03:44 mail postfix/cleanup[4577]: 16565190B39: message-id=<2012031413563293712723@jxcom.com.cn>
  10. Mar 14 22:03:44 mail postfix/qmgr[4564]: 16565190B39: from=<2@jxcom.com.cn>, size=1642, nrcpt=1 (queue active)
  11. Mar 14 22:03:44 mail amavis[4429]: (04429-01) (!!)WARN: all primary virus scanners failed, considering backups
  12. Mar 14 22:03:44 mail postfix/smtpd[4569]: disconnect from unknown[192.168.1.69]
  13. Mar 14 22:03:48 mail amavis[4429]: (04429-01) Blocked SPAM, MYNETS LOCAL [192.168.1.69] [192.168.1.69] <2@jxcom.com.cn> -> <3@jxcom.com.cn>, quarantine: spam-BZXtPR7fntCH.gz, Message-ID: <2012031413563293712723@jxcom.com.cn>, mail_id: BZXtPR7fntCH, Hits: 11.945, size: 1642, 4155 ms
  14. Mar 14 22:03:48 mail postfix/smtp[4579]: 16565190B39: to=<3@jxcom.com.cn>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.2, delays=0.06/0.01/0.01/4.2, dsn=2.5.0, status=sent (250 2.5.0 Ok, id=04429-01, DISCARD(bounce.suppressed))
  15. Mar 14 22:03:48 mail postfix/qmgr[4564]: 16565190B39: removed
复制代码

论坛徽章:
0
发表于 2012-05-05 13:14 |显示全部楼层
我是在这步出了问题。
【接下来重新启动postfix 和apache,进行发信测试后,如果日志中的记录类同以下项,则安装成功
Sep 16 12:04:43 Ixor postfix/pipe[14266]: 46B491A5CB: to=<marion@test.com>,
relay=maildrop, delay=2306, delays=2306/0.04/0/0.07, dsn=2.0.0, status=sent (delivered
via maildrop service) 】





我发信给本机的test用户,为什么/var/log/maillog里总是
Feb 23 09:22:20 real_2 postfix/pickup[31855]: A67CE10097: uid=0 from=<root>
Feb 23 09:22:20 real_2 postfix/cleanup[31872]: A67CE10097: message-id=<20120223142220.A67CE10097@mail.lzq1984.com>
Feb 23 09:22:20 real_2 postfix/qmgr[31854]: A67CE10097: from=<root@lzq1984.com>, size=293, nrcpt=1 (queue active)
Feb 23 09:22:20 real_2 postfix/local[31876]: A67CE10097: to=<lzq1984@lzq1984.com>, orig_to=<lzq1984>, relay=local, delay=0.08, delays=0.04/0.01/0/0.03, dsn=2.0.0, status=sent (delivered to mailbox)
Feb 23 09:22:20 real_2 postfix/qmgr[31854]: A67CE10097: removed


而不是通过maildrop投递的啊。。。。我做的没错啊。也没报错。就是不用maildrop投递。。

论坛徽章:
0
发表于 2016-03-03 13:51 |显示全部楼层
使用extmail收发没有问题,但是用foxmail发邮件有问题,下面是maillog。帮忙看一下是什么问题,感激不尽!


Feb 29 22:57:31 mail postfix/smtpd[3889]: connect from unknown[192.168.1.129]
Feb 29 22:57:31 mail authdaemond: received auth request, service=smtp, authtype=login
Feb 29 22:57:31 mail authdaemond: authmysql: trying this module
Feb 29 22:57:31 mail authdaemond: failed to connect to mysql server (server=localhost, userid=extmail): Access denied for user 'extmail'@'localhost' (using password: NO)
Feb 29 22:57:31 mail authdaemond: authmysql: TEMPFAIL - no more modules will be tried
Feb 29 22:57:31 mail postfix/smtpd[3889]: warning: SASL authentication failure: could not verify password
Feb 29 22:57:31 mail postfix/smtpd[3889]: warning: unknown[192.168.1.129]: SASL LOGIN authentication failed: generic failure
Feb 29 22:57:31 mail authdaemond: received auth request, service=smtp, authtype=login
Feb 29 22:57:31 mail authdaemond: authmysql: trying this module
Feb 29 22:57:31 mail authdaemond: failed to connect to mysql server (server=localhost, userid=extmail): Access denied for user 'extmail'@'localhost' (using password: NO)
Feb 29 22:57:31 mail authdaemond: authmysql: TEMPFAIL - no more modules will be tried
Feb 29 22:57:31 mail postfix/smtpd[3889]: warning: SASL authentication failure: could not verify password
Feb 29 22:57:31 mail postfix/smtpd[3889]: warning: unknown[192.168.1.129]: SASL LOGIN authentication failed: generic failure
Feb 29 22:57:36 mail postfix/smtpd[3889]: disconnect from unknown[192.168.1.129]
Feb 29 22:57:36 mail postfix/smtpd[3889]: connect from unknown[192.168.1.129]
Feb 29 22:57:36 mail authdaemond: received auth request, service=smtp, authtype=login
Feb 29 22:57:36 mail authdaemond: authmysql: trying this module
Feb 29 22:57:36 mail postfix/smtpd[3889]: warning: SASL authentication failure: could not verify password
Feb 29 22:57:36 mail postfix/smtpd[3889]: warning: unknown[192.168.1.129]: SASL LOGIN authentication failed: generic failure
Feb 29 22:57:36 mail authdaemond: failed to connect to mysql server (server=localhost, userid=extmail): Access denied for user 'extmail'@'localhost' (using password: NO)
Feb 29 22:57:36 mail authdaemond: authmysql: TEMPFAIL - no more modules will be tried
Feb 29 22:57:36 mail authdaemond: received auth request, service=smtp, authtype=login
Feb 29 22:57:36 mail authdaemond: authmysql: trying this module
Feb 29 22:57:36 mail postfix/smtpd[3889]: warning: SASL authentication failure: could not verify password
Feb 29 22:57:36 mail postfix/smtpd[3889]: warning: unknown[192.168.1.129]: SASL LOGIN authentication failed: generic failure
Feb 29 22:57:36 mail authdaemond: failed to connect to mysql server (server=localhost, userid=extmail): Access denied for user 'extmail'@'localhost' (using password: NO)
Feb 29 22:57:36 mail authdaemond: authmysql: TEMPFAIL - no more modules will be tried

论坛徽章:
0
发表于 2016-03-04 10:39 |显示全部楼层
马哥,在吗?帮我看看上面的问题。谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP