ZhangHuangbin wrote:Did this issue occur just once, or frequently? Any other related log in Postfix log file?
This happens on every reboot. Here is an example of postfix logs before amavisd is restarted after the boot process (IP's and users obfuscated):
Dec 26 22:14:21 mail postfix/submission/smtpd[1357]: connect from unknown[51.103.133.102]
Dec 26 22:14:21 mail postfix/submission/smtpd[1364]: connect from unknown[51.103.133.102]
Dec 26 22:14:21 mail postfix/submission/smtpd[1357]: disconnect from unknown[51.103.133.102]
Dec 26 22:14:21 mail postfix/submission/smtpd[1364]: disconnect from unknown[51.103.133.102]
Dec 26 22:17:41 mail postfix/anvil[1365]: statistics: max connection rate 2/60s for (submission:51.103.133.102) at Dec 26 22:14:21
Dec 26 22:17:41 mail postfix/anvil[1365]: statistics: max connection count 2 for (submission:51.103.133.102) at Dec 26 22:14:21
Dec 26 22:17:41 mail postfix/anvil[1365]: statistics: max cache size 1 at Dec 26 22:14:21
Then restart amavisd:
Dec 27 00:08:39 mail postfix/submission/smtpd[3122]: connect from localhost.localdomain[127.0.0.1]
Dec 27 00:08:39 mail postfix/submission/smtpd[3122]: DF37C240C0E: client=localhost.localdomain[127.0.0.1], sasl_method=LOGIN, sasl_username=user1@domain.com
Dec 27 00:08:39 mail postfix/cleanup[3136]: DF37C240C0E: message-id=<375fed2ac55f28c1ee90c172b08cca15@domain.com
Dec 27 00:08:39 mail postfix/qmgr[686]: DF37C240C0E: from=<user1@domain.com>, size=540, nrcpt=1 (queue active)
Dec 27 00:08:39 mail roundcube[200]: <trp79utq> User user1@domain.com [51.103.133.102]; Message for user2@domain2.com; 250: 2.0.0 Ok: queued as DF37C240C0E
Dec 27 00:08:40 mail postfix/submission/smtpd[3122]: disconnect from localhost.localdomain[127.0.0.1]
Dec 27 00:08:41 mail postfix/smtpd[3155]: connect from localhost.localdomain[127.0.0.1]
Dec 27 00:08:41 mail postfix/smtpd[3155]: 373D8240C13: client=localhost.localdomain[127.0.0.1]
Dec 27 00:08:41 mail postfix/cleanup[3136]: 373D8240C13: message-id=<375fed2ac55f28c1ee90c172b08cca15@domain.com>
Dec 27 00:08:41 mail postfix/qmgr[686]: 373D8240C13: from=<user1@domain.com>, size=1572, nrcpt=1 (queue active)
Dec 27 00:08:41 mail amavis[3096]: (03096-01) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:54131 <user1@domain.com> -> <user2@domain2.com>, Queue-
Dec 27 00:08:41 mail postfix/smtpd[3155]: disconnect from localhost.localdomain[127.0.0.1]
Dec 27 00:08:41 mail postfix/smtp[3141]: DF37C240C0E: to=<user2@domain2.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=1.4, delays=0.1/0.02/0.01/1.2, dsn=2.0.0, status=sent (250 2.0
Dec 27 00:08:41 mail postfix/qmgr[686]: DF37C240C0E: removed
Dec 27 00:08:41 mail postfix/pipe[3156]: 373D8240C13: to=<user2@domain2.com>, relay=dovecot, delay=0.1, delays=0.02/0.02/0/0.06, dsn=2.0.0, status=sent (delivered via dovecot servi
Dec 27 00:08:41 mail postfix/qmgr[686]: 373D8240C13: removed
Then the que runs fine.
I also thought this was a RAM issue as with 1 GB it wasn't working. I have since installed a clean system and clean iRedmail install, but same result. (4GB)
Centos 7.2 Minimal install. It was missing rsyslog amongst other packages (sudo bzip2), but they were installed before iRedmail.