==== 提供基本信息便于分析问题并得到快速回复 ====
- iRedMail 版本:
- 7.0

- 使用的 Linux/BSD 发行版名称及版本号
- Centos 5.5

- 与您的问题相关的日志信息:
- 张工你好.之前使用一直正常.是自行修改成与AD域整合的方式
- 现在服务器换了机房。把grep到有IP地址的地方都进行了修改成新的IP还是无法正常连接到AD域。Hosts文件与解析也已修改
- web上登陆提示 连接到服务器失败
- 张工和各位有什么提示需要修改的地方吗.

tail -200 dovecot.log
Apr 11 07:41:35 imap-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 imap-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 pop3-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 pop3-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 pop3-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 imap-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 imap-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 pop3-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 pop3-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 imap-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 imap-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 pop3-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 imap-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 pop3-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 pop3-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 pop3-login: Error: Can't connect to auth server at default: Resource temporarily unavailable
Apr 11 07:41:35 dovecot: Warning: Killed with signal 15 (by pid=16079 uid=0 code=kill)
Apr 11 07:41:35 pop3-login: Info: Disconnected: Shutting down (no au
Apr 11 07:41:35 pop3-login: Info: Disconnected: Shutting down (no auth attempts): rip=117.79.232.224, lip=118.26.201.250
Apr 11 07:41:35 imap-login: Info: Disconnected: Shutting down (no auth attempts): rip=58.249.24.21, lip=118.26.201.250
Apr 11 07:41:35 imap-login: Info: Disconnected: Shutting down (no auth attempts): rip=218.247.145.2, lip=118.26.201.250
Apr 11 07:41:36 dovecot: Info: Dovecot v1.2.16 starting up (core dumps disabled)
Apr 11 07:41:36 auth(default): Fatal: Socket already exists: /var/spool/postfix/dovecot-auth
Apr 11 07:41:36 dovecot: Fatal: Auth process died too early - shutting down


tailf /var/log/maillog
[root@mail ~]# tailf /var/log/maillog
Apr 11 08:10:40 mail postfix/master[16064]: warning: process /usr/libexec/postfix/smtpd pid 16820 exit status 1
Apr 11 08:10:40 mail postfix/master[16064]: warning: process /usr/libexec/postfix/smtpd pid 16821 exit status 1
Apr 11 08:10:40 mail postfix/master[16064]: warning: process /usr/libexec/postfix/smtpd pid 16822 exit status 1
Apr 11 08:10:40 mail postfix/master[16064]: warning: process /usr/libexec/postfix/smtpd pid 16823 exit status 1
Apr 11 08:10:40 mail postfix/master[16064]: warning: process /usr/libexec/postfix/smtpd pid 16824 exit status 1
Apr 11 08:10:40 mail postfix/master[16064]: warning: process /usr/libexec/postfix/smtpd pid 16825 exit status 1
Apr 11 08:10:40 mail postfix/master[16064]: warning: process /usr/libexec/postfix/smtpd pid 16826 exit status 1
Apr 11 08:10:40 mail postfix/master[16064]: warning: process /usr/libexec/postfix/smtpd pid 16827 exit status 1
Apr 11 08:10:40 mail postfix/master[16064]: warning: process /usr/libexec/postfix/smtpd pid 16828 exit status 1
Apr 11 08:10:40 mail postfix/master[16064]: warning: process /usr/libexec/postfix/smtpd pid 16829 exit status 1
Apr 11 08:18:55 mail postfix/qmgr[17137]: 8B2287D2BA0: from=<>, size=2447, nrcpt=1 (queue active)
Apr 11 08:18:55 mail postfix/qmgr[17137]: CE2977D2BB1: from=<root@mail.777.com>, size=672, nrcpt=1 (queue active)
Apr 11 08:18:55 mail postfix/qmgr[17137]: 9F9399F0863: from=<root@mail.777.com>, size=672, nrcpt=1 (queue active)
Apr 11 08:18:55 mail postfix/qmgr[17137]: 7F3A07D2BAC: from=<root@mail.777.com>, size=672, nrcpt=1 (queue active)
Apr 11 08:18:55 mail postfix/smtpd[17141]: warning: SASL: Connect to ./dovecot-auth failed: Connection refused
Apr 11 08:18:55 mail postfix/smtpd[17141]: fatal: no SASL authentication mechanisms
Apr 11 08:18:56 mail postfix/master[17134]: warning: process /usr/libexec/postfix/local pid 17140 exit status 1
Apr 11 08:18:56 mail postfix/master[17134]: warning: /usr/libexec/postfix/local: bad command startup -- throttling
Apr 11 08:18:56 mail postfix/master[17134]: warning: process /usr/libexec/postfix/smtpd pid 17141 exit status 1
Apr 11 08:18:56 mail postfix/master[17134]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
====

使用  https://x.x.x.x/iredadmin 管理台进行更改的.
初始密码是:123456
有两个帐号都是出现这个问题了.初始密码第一次创建登录上去了.过了一段时间再次登录就登录不上
修改后还是:123456 然后又可以上去了.

但是修改密码以后又可以登录了.是否需要修改哪里的参数?还是把Roundcube数据库清空一下?

登录不上去的时候如下.虽然帐号和密码都正确.但是也登录不上去.重复修改一下就可以登录了

oundcube: IMAP Error: Login failed for www@qq.net from 9.8.9.8. AUTHENTICATE PLAIN: Authentication failed. in /var/www/roundcubemail-0.7/program/include/rcube_imap.php on line 205 (POST /webmail/?_task=login&_action=login)

已经找到原因了.ldap出的问题.谢谢各位和张工的关注

现在已经收不到了.队列堵了一大堆.这问题实在没找到解决办法

Feb 27 10:33:49 mail postfix/qmgr[15203]: 3D9787D2C53: from=<xiefeng001@wocao.com>, size=48645, nrcpt=1 (queue active)
Feb 27 10:33:49 mail amavis[18333]: (18333-01) (!)connect_to_ldap: unable to connect to host 127.0.0.1
Feb 27 10:33:49 mail amavis[18333]: (18333-01) (!!)TROUBLE in process_request: connect_to_ldap: unable to connect at (eval 104) line 104, <GEN19> line 4.
Feb 27 10:33:49 mail amavis[18333]: (18333-01) (!)Requesting process rundown after fatal error
Feb 27 10:33:49 mail postfix/smtp[18272]: 3D9787D2C53: to=<chenhaiying@wocao.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2, delays=2/0/0.01/0.01, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to MAIL FROM command))
Feb 27 10:33:49 mail postfix/cleanup[15360]: D00677D2C55: message-id=<20120227023347.D00677D2C55@mail.wocao.com>
Feb 27 10:33:49 mail postfix/cleanup[15372]: D3E107D2C56: message-id=<20120227023347.D3E107D2C56@mail.wocao.com>
Feb 27 10:33:49 mail postfix/qmgr[15203]: D00677D2C55: from=<ApplyCV_97@mychinahr.com>, size=18814, nrcpt=1 (queue active)
Feb 27 10:33:49 mail postfix/smtpd[17747]: disconnect from unknown[211.151.251.141]
Feb 27 10:33:49 mail amavis[18338]: (18338-01) (!)connect_to_ldap: unable to connect to host 127.0.0.1
Feb 27 10:33:49 mail amavis[18338]: (18338-01) (!!)TROUBLE in process_request: connect_to_ldap: unable to connect at (eval 104) line 104, <GEN19> line 4.
Feb 27 10:33:49 mail amavis[18338]: (18338-01) (!)Requesting process rundown after fatal error
Feb 27 10:33:50 mail postfix/qmgr[15203]: D3E107D2C56: from=<ApplyCV_97@mychinahr.com>, size=18802, nrcpt=1 (queue active)
Feb 27 10:33:50 mail postfix/smtpd[15367]: disconnect from unknown[211.151.251.142]
Feb 27 10:33:50 mail amavis[18373]: (18373-01) (!)connect_to_ldap: unable to connect to host 127.0.0.1
Feb 27 10:33:50 mail amavis[18373]: (18373-01) (!!)TROUBLE in process_request: connect_to_ldap: unable to connect at (eval 104) line 104, <GEN19> line 4.
Feb 27 10:33:50 mail amavis[18373]: (18373-01) (!)Requesting process rundown after fatal error
Feb 27 10:33:50 mail postfix/smtp[18093]: D00677D2C55: to=<hr006@wocao.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.4, delays=4.4/0/0.01/0.01, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to MAIL FROM command))

请各位指点

Feb 16 00:45:43 mail postfix/anvil[30659]: statistics: max connection rate 1/60s for (smtp:208.20.20.8) at Feb 16 00:37:12
Feb 16 00:45:43 mail postfix/anvil[30659]: statistics: max connection count 1 for (smtp:208.20.20.8) at Feb 16 00:37:12
Feb 16 00:45:43 mail postfix/anvil[30659]: statistics: max cache size 1 at Feb 16 00:37:12
Feb 16 00:46:04 mail postfix/pickup[30629]: 008B336A82A3: uid=0 from=<root>
Feb 16 00:46:04 mail postfix/cleanup[30868]: 008B336A82A3: message-id=<20120216084604.008B336A82A3@mail.3263.com>
Feb 16 00:46:04 mail postfix/qmgr[9813]: 008B336A82A3: from=<root@mail.3263.com>, size=689, nrcpt=1 (queue active)
Feb 16 00:46:04 mail postfix/cleanup[30868]: 0359B36A8266: message-id=<20120216084604.008B336A82A3@mail.3263.com>
Feb 16 00:46:04 mail postfix/local[28971]: 008B336A82A3: to=<root@mail.3263.com>, relay=local, delay=1.3, delays=1.3/0/0/0, dsn=2.0.0, status=sent (forwarded as 0359B36A8266)
Feb 16 00:46:04 mail postfix/qmgr[9813]: 0359B36A8266: from=<root@mail.3263.com>, size=826, nrcpt=1 (queue active)
Feb 16 00:46:04 mail postfix/qmgr[9813]: 008B336A82A3: removed
Feb 16 00:46:04 mail postfix/pipe[31183]: 0359B36A8266: to=<www@3263.com>, relay=dovecot, delay=0.01, delays=0/0/0/0, dsn=5.1.1, status=bounced (user unknown)
Feb 16 00:46:04 mail postfix/cleanup[30868]: 053FE36A82A5: message-id=<20120216084604.053FE36A82A5@mail.3263.com>
Feb 16 00:46:04 mail postfix/bounce[29913]: 0359B36A8266: sender non-delivery notification: 053FE36A82A5
Feb 16 00:46:04 mail postfix/qmgr[9813]: 053FE36A82A5: from=<>, size=2517, nrcpt=1 (queue active)
Feb 16 00:46:04 mail postfix/qmgr[9813]: 0359B36A8266: removed
Feb 16 00:46:04 mail postfix/cleanup[30868]: 0603436A8266: message-id=<20120216084604.053FE36A82A5@mail.3263.com>
Feb 16 00:46:04 mail postfix/local[28910]: 053FE36A82A5: to=<root@mail.3263.com>, relay=local, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (forwarded as 0603436A8266)
Feb 16 00:46:04 mail postfix/qmgr[9813]: 0603436A8266: from=<>, size=2654, nrcpt=1 (queue active)
Feb 16 00:46:04 mail postfix/qmgr[9813]: 053FE36A82A5: removed
Feb 16 00:46:04 mail postfix/pipe[31183]: 0603436A8266: to=<www@3263.com>, relay=dovecot, delay=0, delays=0/0/0/0, dsn=5.1.1, status=bounced (user unknown)
Feb 16 00:46:04 mail postfix/qmgr[9813]: 0603436A8266: removed
Feb 16 00:46:44 mail postfix/smtpd[31194]: connect from unknown[121.35.183.109]
Feb 16 00:46:44 mail postfix/smtpd[31197]: connect from unknown[121.35.183.109]
Feb 16 03:46:48 mail postfix/smtpd[31197]: NOQUEUE: reject: RCPT from unknown[121.35.183.109]: 550 5.1.1 <gm071@3263.com>: Recipient address rejected: User unknown in virtual mailbox table; from=<cgfjgjgjvcgdfb@126.com> to=<gm071@3263.com> proto=ESMTP helo=<126.com>
Feb 16 00:46:50 mail postfix/smtpd[31204]: connect from unknown[121.35.183.109]
Feb 16 03:46:51 mail postfix/smtpd[31197]: disconnect from unknown[121.35.183.109]
Feb 16 03:46:51 mail postfix/smtpd[31204]: NOQUEUE: reject: RCPT from unknown[121.35.183.109]: 550 5.1.1 <gm08@3263.com>: Recipient address rejected: User unknown in virtual mailbox table; from=<rtyrdudthfffxddh@126.com> to=<gm08@3263.com> proto=ESMTP helo=<126.com>
Feb 16 03:46:52 mail postfix/smtpd[31204]: disconnect from unknown[121.35.183.109]
Feb 16 00:47:04 mail postfix/pickup[30629]: 007F736A82A3: uid=0 from=<root>
Feb 16 00:47:04 mail postfix/cleanup[30868]: 007F736A82A3: message-id=<20120216084704.007F736A82A3@mail.3263.com>
Feb 16 00:47:04 mail postfix/qmgr[9813]: 007F736A82A3: from=<root@mail.3263.com>, size=690, nrcpt=1 (queue active)
Feb 16 00:47:04 mail postfix/cleanup[30868]: 01D1D36A8266: message-id=<20120216084704.007F736A82A3@mail.3263.com>
Feb 16 00:47:04 mail postfix/local[28971]: 007F736A82A3: to=<root@mail.3263.com>, relay=local, delay=0.51, delays=0.5/0/0/0, dsn=2.0.0, status=sent (forwarded as 01D1D36A8266)
Feb 16 00:47:04 mail postfix/qmgr[9813]: 01D1D36A8266: from=<root@mail.3263.com>, size=827, nrcpt=1 (queue active)
Feb 16 00:47:04 mail postfix/qmgr[9813]: 007F736A82A3: removed
Feb 16 00:47:04 mail postfix/pipe[31183]: 01D1D36A8266: to=<www@3263.com>, relay=dovecot, delay=0.01, delays=0/0/0/0, dsn=5.1.1, status=bounced (user unknown)
Feb 16 00:47:04 mail postfix/cleanup[30868]: 0345B36A82A5: message-id=<20120216084704.0345B36A82A5@mail.3263.com>
Feb 16 00:47:04 mail postfix/bounce[29913]: 01D1D36A8266: sender non-delivery notification: 0345B36A82A5
Feb 16 00:47:04 mail postfix/qmgr[9813]: 0345B36A82A5: from=<>, size=2518, nrcpt=1 (queue active)
Feb 16 00:47:04 mail postfix/qmgr[9813]: 01D1D36A8266: removed
Feb 16 00:47:04 mail postfix/cleanup[30868]: 03F1F36A8266: message-id=<20120216084704.0345B36A82A5@mail.3263.com>
Feb 16 00:47:04 mail postfix/local[28910]: 0345B36A82A5: to=<root@mail.3263.com>, relay=local, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (forwarded as 03F1F36A8266)
Feb 16 00:47:04 mail postfix/qmgr[9813]: 03F1F36A8266: from=<>, size=2655, nrcpt=1 (queue active)
Feb 16 00:47:04 mail postfix/qmgr[9813]: 0345B36A82A5: removed
Feb 16 00:47:04 mail postfix/pipe[31183]: 03F1F36A8266: to=<www@3263.com>, relay=dovecot, delay=0, delays=0/0/0/0, dsn=5.1.1, status=bounced (user unknown)
Feb 16 00:47:04 mail postfix/qmgr[9813]: 03F1F36A8266: removed

ZhangHuangbin 写道:

您需要监控哪些内容?具体点会更容易一起分析和推荐。


邮件列队.
当天成功发送的邮件失败的邮件
峰值之类的.就是一般的邮件监控项就行.张工推荐一把

类似Extmail那样的监控.有什么好的各位大牛推荐一把

或者说除了LDAP。还有哪里需要修改。谁能发个成功案例。谢谢了。

yum -y clean

ZhangHuangbin 写道:

Nov 17 19:03:27 dict: Error: mysql: Connect failed to 127.0.0.1 (vmail): Access denied for user 'vmailadmin'@'localhost' (using password: YES) - waiting for 75 seconds before retry

您的 /etc/dovecot/used-quota.conf 里,vmailadmin 的密码可能写错了。请检查一下,如果确实有误,修正后重启 Dovecot 服务应该就可以了。


的确是这里的问题.现在已经正常了.iRedmail让搭建过程很简单.
但是出了问题对我这种邮件经验不足的很棘手.我会再次认真看看iRedmail的实现步骤

ZhangHuangbin 写道:

Nov 17 19:03:27 dict: Error: mysql: Connect failed to 127.0.0.1 (vmail): Access denied for user 'vmailadmin'@'localhost' (using password: YES) - waiting for 75 seconds before retry

您的 /etc/dovecot/used-quota.conf 里,vmailadmin 的密码可能写错了。请检查一下,如果确实有误,修正后重启 Dovecot 服务应该就可以了。


终于等到张大侠了.我去试试.

这个是外域发送进来的日志

## 日志如下

[root@mail ~]# tailf /var/log/maillog
Nov 17 19:08:26 mail postfix/qmgr[5038]: 7340436A82C5: from=<17501444@qq.com>, size=2167, nrcpt=1 (queue active)
Nov 17 19:08:26 mail amavis[5695]: (05695-01) Passed CLEAN, LOCAL [183.60.52.110] [183.60.52.110] <17501444@qq.com> -> <cs@voomga.com>, Message-ID: <tencent_38BE6F9561C9426C0DB59130@qq.com>, mail_id: dTEXyJG7TkGc, Hits: -8.724, size: 1726, queued_as: 7340436A82C5, dkim_id=@qq.com, 2741 ms
Nov 17 19:08:26 mail postfix/smtp[5851]: 1F53E36A82BA: to=<cs@voomga.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.6, delays=0.83/0/0/2.8, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=05695-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 7340436A82C5)
Nov 17 19:08:26 mail postfix/qmgr[5038]: 1F53E36A82BA: removed
Nov 17 19:08:26 mail postfix/pipe[5859]: 7340436A82C5: to=<cs@voomga.com>, relay=dovecot, delay=0.05, delays=0/0/0/0.05, dsn=4.3.0, status=deferred (temporary failure)
Nov 17 19:09:53 mail postfix/qmgr[5038]: 0613036A82BE: from=<cs@voomga.com>, size=1701, nrcpt=1 (queue active)
Nov 17 19:09:53 mail postfix/pipe[5859]: 0613036A82BE: to=<cs@voomga.com>, relay=dovecot, delay=387, delays=387/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure)
Nov 17 19:11:43 mail postfix/anvil[5841]: statistics: max connection rate 1/60s for (smtp:183.60.52.110) at Nov 17 19:08:22
Nov 17 19:11:43 mail postfix/anvil[5841]: statistics: max connection count 1 for (smtp:183.60.52.110) at Nov 17 19:08:22
Nov 17 19:11:43 mail postfix/anvil[5841]: statistics: max cache size 1 at Nov 17 19:08:22

[root@mail ~]# tail -f /var/log/dovecot.log

Nov 17 19:03:22 pop3-login: Info: Login: user=<cs@voomga.com>, method=PLAIN, rip=202.153.206.231, lip=208.81.165.139
Nov 17 19:03:22 POP3(cs@voomga.com): Info: Disconnected: Logged out top=0/0, retr=0/0, del=0/134, size=10900851
Nov 17 19:03:27 dict: Error: mysql: Connect failed to 127.0.0.1 (vmail): Access denied for user 'vmailadmin'@'localhost' (using password: YES) - waiting for 75 seconds before retry
Nov 17 19:03:27 dict: Error: dict sql lookup failed: Not connected to database

tailf /var/log/messages

Nov 17 18:58:20 mail clamd[13490]: SelfCheck: Database status OK.
Nov 17 18:58:20 mail clamd[13490]: lstat() failed on: /var/amavis/tmp/amavis-20111117T185819-04193/parts
Nov 18 10:59:01 mail kernel: type=1101 audit(1321585141.005:274374): user pid=5653 uid=0 auid=0 msg='PAM: accounting acct="root" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)'
Nov 18 10:59:01 mail kernel: type=1103 audit(1321585141.006:274375): user pid=5653 uid=0 auid=0 msg='PAM: setcred acct="root" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)'
Nov 18 10:59:01 mail kernel: type=1006 audit(1321585141.006:274376): login pid=5653 uid=0 old auid=0 new auid=0 old ses=38315 new ses=40041

[root@mail ~]# tail -f /var/log/sieve.log
Nov 17 18:56:51 deliver(cs@voomga.com): Error: Internal quota calculation error
Nov 17 18:56:51 deliver(cs@voomga.com): Info: msgid=<201111181056451876931@voomga.com>: save failed to INBOX: Internal error occurred. Refer to server log for more information. [2011-11-17 18:56:51]

[root@mail ~]# /usr/sbin/amavisd debug
The amavisd daemon is already running, PID: [4190]


[root@mail ~]# postfix check
postfix/postfix-script: warning: /var/spool/postfix/etc/localtime and /etc/localtime differ

张大侠还需要什么配置参数和贴什么日志情况吗.

我在正常之前照着如下文档搭建了一下mailgraph+rrdtools作为postfix统计表安装指南
http://hi.baidu.com/donghuaiping/blog/i … 96e21.html

在这之后突然有人反映收发都不行了.然后我看dovecot的文件好多都没了.
我又重新搭建了个一模一样iredmail版本的邮件服务器.把配置文件拷贝过去.把dovecot-mysql.cof连接数据库的密码修改了一下.
其它就没有操作了.

谢谢张大侠.

amavisd的perl问题已经解决


现在问题:

amavisd已经开启.但还是不行.
发送外域正常.接受还是不正常..别域发送进来也有问题.
自己发送给自己有问题

## 这是自己发送给自己的日志显示.
Nov 17 22:47:40 mail postfix/cleanup[20002]: 5193336A8192: message-id=<d229e3e9f4a00695834074e5128b4764@tt-play.com>
Nov 17 22:47:40 mail postfix/qmgr[13380]: 5193336A8192: from=<root@tt-play.com>, size=530, nrcpt=1 (queue active)
Nov 17 22:47:40 mail roundcube: User root@tt-play.com [125.39.108.58]; Message for root@tt-play.com; 250: 2.0.0 Ok: queued as 5193336A8192
Nov 17 22:47:40 mail roundcube: IMAP Error: Could not save message in Sent in /var/www/roundcubemail-0.5.4/program/steps/mail/sendmail.inc on line 669 (POST /mail/?_unlock=loading1321541255267?_task=mail&_action=send)
Nov 17 09:47:40 mail postfix/smtpd[20187]: disconnect from mail.yeapgame.com[127.0.0.1]
Nov 17 22:47:40 mail amavis[20155]: (20155-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/amavis/tmp/amavis-20111117T224740-20155/parts: lstat() failed: Permission denied. ERROR\n"
Nov 17 22:47:40 mail amavis[20155]: (20155-01) (!)ClamAV-clamd av-scanner FAILED: CODE(0x19b0b980) unexpected , output="/var/amavis/tmp/amavis-20111117T224740-20155/parts: lstat() failed: Permission denied. ERROR\n" at (eval 103) line 594.
Nov 17 22:47:40 mail amavis[20155]: (20155-01) (!!)WARN: all primary virus scanners failed, considering backups
Nov 17 22:47:42 mail postfix/smtpd[20200]: connect from mail.yeapgame.com[127.0.0.1]
Nov 17 09:47:42 mail postfix/smtpd[20200]: EEF7C36A8205: client=mail.yeapgame.com[127.0.0.1]
Nov 17 22:47:42 mail postfix/cleanup[20002]: EEF7C36A8205: message-id=<d229e3e9f4a00695834074e5128b4764@tt-play.com>
Nov 17 22:47:42 mail postfix/qmgr[13380]: EEF7C36A8205: from=<root@tt-play.com>, size=977, nrcpt=1 (queue active)
Nov 17 09:47:42 mail postfix/smtpd[20200]: disconnect from mail.yeapgame.com[127.0.0.1]
Nov 17 22:47:42 mail amavis[20155]: (20155-01) Passed CLEAN, MYNETS LOCAL [127.0.0.1] [127.0.0.1] <root@tt-play.com> -> <root@tt-play.com>, Message-ID: <d229e3e9f4a00695834074e5128b4764@tt-play.com>, mail_id: IpLq9JHAU08Y, Hits: -9.998, size: 530, queued_as: EEF7C36A8205, 2608 ms
Nov 17 22:47:42 mail postfix/smtp[20192]: 5193336A8192: to=<root@tt-play.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.7, delays=0.04/0/0/2.6, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=20155-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as EEF7C36A8205)
Nov 17 22:47:42 mail postfix/qmgr[13380]: 5193336A8192: removed
Nov 17 22:47:42 mail postfix/pipe[19422]: EEF7C36A8205: to=<root@tt-play.com>, relay=dovecot, delay=0.02, delays=0/0/0/0.01, dsn=4.3.0, status=deferred (temporary failure)

谢谢张大侠的回复..Perl的已经修复了.问题:amavisd已经开启以后还是不行.[root@mail ~]# netstat -ntplActive Internet connections (only servers)Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   tcp        0      0 0.0.0.0:993                 0.0.0.0:*                   LISTEN      13566/dovecot       tcp        0      0 127.0.0.1:7777              0.0.0.0:*                   LISTEN      22807/python        tcp        0      0 0.0.0.0:995                 0.0.0.0:*                   LISTEN      13566/dovecot       tcp        0      0 0.0.0.0:59878               0.0.0.0:*                   LISTEN      17878/sshd          tcp        0      0 127.0.0.1:199               0.0.0.0:*                   LISTEN      17967/snmpd         tcp        0      0 127.0.0.1:10024             0.0.0.0:*                   LISTEN      20152/amavisd (mast tcp        0      0 127.0.0.1:10025             0.0.0.0:*                   LISTEN      13377/master        tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      12802/mysqld        tcp        0      0 0.0.0.0:587                 0.0.0.0:*                   LISTEN      13377/master        tcp        0      0 127.0.0.1:9998              0.0.0.0:*                   LISTEN      20152/amavisd (mast tcp        0      0 0.0.0.0:110                 0.0.0.0:*                   LISTEN      13566/dovecot       tcp        0      0 0.0.0.0:143                 0.0.0.0:*                   LISTEN      13566/dovecot       tcp        0      0 127.0.0.1:10031             0.0.0.0:*                   LISTEN      13453/policyd       tcp        0      0 127.0.0.1:783               0.0.0.0:*                   LISTEN      15092/spamd.pid     tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      22543/portmap       tcp        0      0 127.0.0.1:2000              0.0.0.0:*                   LISTEN      13566/dovecot       tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      5287/httpd          tcp        0      0 0.0.0.0:465                 0.0.0.0:*                   LISTEN      13377/master        tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      13377/master        tcp        0      0 0.0.0.0:443                 0.0.0.0:*                   LISTEN      5287/httpd发送外域正常.接受还是不正常.## 这是自己发送给自己的日志显示.Nov 17 22:47:40 mail postfix/cleanup[20002]: 5193336A8192: message-id=<d229e3e9f4a00695834074e5128b4764@tt-play.com>Nov 17 22:47:40 mail postfix/qmgr[13380]: 5193336A8192: from=<root@tt-play.com>, size=530, nrcpt=1 (queue active)Nov 17 22:47:40 mail roundcube: User root@tt-play.com [125.39.108.58]; Message for root@tt-play.com; 250: 2.0.0 Ok: queued as 5193336A8192Nov 17 22:47:40 mail roundcube: IMAP Error: Could not save message in Sent in /var/www/roundcubemail-0.5.4/program/steps/mail/sendmail.inc on line 669 (POST /mail/?_unlock=loading1321541255267?_task=mail&_action=send)Nov 17 09:47:40 mail postfix/smtpd[20187]: disconnect from mail.yeapgame.com[127.0.0.1]Nov 17 22:47:40 mail amavis[20155]: (20155-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output=

## 发送给QQ的日志情况--
Nov 17 14:17:28 mail postfix/smtpd[26135]: connect from unknown[202.153.206.231]
Nov 17 01:17:30 mail postfix/smtpd[26135]: 18EC936A96DC: client=unknown[202.153.206.231], sasl_method=LOGIN, sasl_username=cs@voomga.com
Nov 17 14:17:30 mail postfix/cleanup[25697]: 18EC936A96DC: message-id=<201111171417272812749@voomga.com>
Nov 17 14:17:30 mail postfix/qmgr[24139]: 18EC936A96DC: from=<cs@voomga.com>, size=1594, nrcpt=1 (queue active)
Nov 17 14:17:30 mail postfix/smtp[26146]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Nov 17 01:17:30 mail postfix/smtp[26146]: 18EC936A96DC: to=<17501444@qq.com>, relay=none, delay=0.89, delays=0.89/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Nov 17 01:17:30 mail postfix/smtpd[26135]: disconnect from unknown[202.153.206.231]

## 接收的时候的日志情况
Nov 17 14:19:27 mail postfix/smtpd[26202]: connect from unknown[202.85.220.206]
Nov 17 01:19:28 mail postfix/smtpd[26202]: 106E536A96E2: client=unknown[202.85.220.206]
Nov 17 14:19:28 mail postfix/cleanup[24362]: 106E536A96E2: message-id=<201111171419245150972@cy2009.com>
Nov 17 14:19:28 mail postfix/qmgr[24139]: 106E536A96E2: from=<likaixiang@cy2009.com>, size=2123, nrcpt=1 (queue active)
Nov 17 01:19:28 mail postfix/smtpd[26202]: disconnect from unknown[202.85.220.206]
Nov 17 14:19:28 mail postfix/smtp[26205]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Nov 17 01:19:28 mail postfix/smtp[26205]: 106E536A96E2: to=<cs@voomga.com>, relay=none, delay=0.61, delays=0.61/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)


## 查看这个日志的情况.
tail -f /var/log/sieve.log
Nov 17 14:10:45 deliver(www@yeapgame.com): Fatal: Plugin sieve not found from directory /usr/lib64/dovecot/lda
Nov 17 14:10:45 deliver(www@yeapgame.com): Fatal: Plugin sieve not found from directory /usr/lib64/dovecot/lda
Nov 17 14:10:45 deliver(www@yeapgame.com): Fatal: Plugin sieve not found from directory /usr/lib64/dovecot/lda

## 启动不起来amavisd服务.
[root@mail ~]# /etc/init.d/amavisd restart
Shutting down Mail Virus Scanner (amavisd):                [FAILED]
Starting Mail Virus Scanner (amavisd): Problem in Amavis::DKIM code: Can't locate Mail/DKIM/Verifier.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8) at (eval 82) line 28.
BEGIN failed--compilation aborted at (eval 82) line 28.
                                                           [FAILED]
[root@mail ~]#

新浪客户端收到的退信原因::
尊敬的用户,
我们很遗憾的通知您,您发的邮件中有一个或多个接收人没有投递成功。
退回的邮件在附件中,请查看附件了解详情。
被退回邮件信息:
主题:您好您收一下呗。
收件人:liyuchun@hehe.com
退信原因:5.x.1 - Maximum number of delivery attempts exceeded. [Default] 450-'4.7.1 <liyuchun@hehe.com>: Recipient address rejected: Policy Rejection- Please try later.'
退信原因查询:http://help.sina.com.cn/i/90/152_2.html

服务器日志::
Nov  3 17:13:40 mail01 postfix/smtpd[19362]: NOQUEUE: reject: RCPT from unknown[60.28.228.180]: 450 4.7.1 <liyuchun@hehe.com>: Recipient address rejected: Policy Rejection- Please try later.; from=<mastmmj@sina.com> to=<liyuchun@hehe.com> proto=ESMTP helo=<mail228-180.sinamail.sina.com.cn>


是不是灰名单什么的?如何解决呢..

换了个新系统重新安装iredmail4.0的时候 get步骤提示此用户不存在是否得先手动创建?
现在哪个版本比较稳定

  Installing     : postfix                                                                                                  76/84
  Installing     : perl-Mail-SPF-Query                                                                                      77/84
  Installing     : clamd                                                                                                    78/84
  Installing     : php-xml                                                                                                  79/84
id: clamav: No such user
usermod: user clamav does not exist
  Installing     : amavisd-new                                                                                              80/84
  Installing     : php-mcrypt                                                                                               81/84
  Installing     : dovecot                                                                                                  82/84
  Installing     : php-imap                                                                                                 83/84
  Installing     : php-pear

又一个问题..

Complete!
< Question > Would you like to use iptables rules shipped within iRedMail now?
< Question > File: /etc/sysconfig/iptables. [Y|n]n
< INFO > Skip iptable rules.
< Question > Would you like to use MySQL configuration file shipped within iRedMail now?
< Question > File: /etc/my.cnf. [Y|n]y
< Backup > Backup file: /etc/my.cnf -> /etc/my.cnf.2011.10.13_06.34.25.
< INFO > Copy MySQL sample file: /etc/my.cnf.
< INFO > Enable SSL support for MySQL server.
< Question > Would you like to run freshclam now? [y|N]n
< INFO > Skip freshclam.
< Question > Would you like to start postfix now? [y|N]y
setenforce: SELinux is disabled
Shutting down kernel logger:                               [  OK  ]
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
Starting kernel logger:                                    [  OK  ]
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Shutting down postfix:                                     [FAILED]
Starting postfix:                                          [  OK  ]
Stopping MySQL:                                            [  OK  ]
Starting MySQL:                                            [  OK  ]
/root/sharkshow/iRedMail-0.4.0/functions/misc.sh: line 146: /etc/init.d/policyd: No such file or directory
Stopping Dovecot Imap:                                     [FAILED]
Starting Dovecot Imap: Error: Error in configuration file /etc/dovecot.conf line 35: Unknown setting: mail_uid
Fatal: Invalid configuration in /etc/dovecot.conf
                                                           [FAILED]
Shutting down Mail Virus Scanner (amavisd):                [FAILED]
Starting Mail Virus Scanner (amavisd):                     [  OK  ]
Stopping Clam AntiVirus Daemon:                            [FAILED]
Starting Clam AntiVirus Daemon: Bytecode: Security mode set to "TrustSigned".
LibClamAV Warning: **************************************************
LibClamAV Warning: ***  The virus database is older than 7 days!  ***
LibClamAV Warning: ***   Please update it as soon as possible.    ***
LibClamAV Warning: **************************************************
                                                           [  OK  ]
Stopping crond:                                            [  OK  ]
Starting crond:                                            [  OK  ]

********************************************************************
* Congratulations, mail server setup complete. Please refer to tip
* file for more information:
*
*   - /root/sharkshow/iRedMail-0.4.0/iRedMail.tips
*
* Please reboot your system to enable mail service.
********************************************************************

[root@www iRedMail-0.4.0]#