1

Topic: Slowness of receiving emails

==== Required information ====
- iRedMail versionV2.1.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Apache
- Linux/BSD distribution name and version: CentOs 6.5
- Related log if you're reporting an issue:
====
dear Team,

please assist am experiencing slowness on receiving emails internally and server i have on my premises and this issue is started last two weeks ago while my server load are 0.560,0.470,0.390 and emails shows some delays when sending

what can be the problem please assist.

Boaz

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Slowness of receiving emails

It's caused by greylisting. I suggest visiting http://greylisting.org for more details.

3

Re: Slowness of receiving emails

i have go through that link and got a lot of information but on my server what can i do as greylisting
enable=0

4

Re: Slowness of receiving emails

On CentOS, you can disable greylisting in file /etc/policyd/cluebringer.conf.
File location is mentioned in our document: http://www.iredmail.org/docs/file.locat … luebringer

5

Re: Slowness of receiving emails

Dear Zhang,

may be i do not know how to disable greylisting, please can you instruct me if you do not mind the things is very strange and now when am sending email to my outlook client it stay some time before leaving the outbox while previous days it was very ok.

please assist zhang

regards
Boaz

6

Re: Slowness of receiving emails

Dear Boaz,

I need related log on your server for troubleshooting, your description is not very clear to me.
For sending email, i need log in Postfix log file (/var/log/maillog).

To disable greylisting on CentOS, please open file /etc/policyd/cluebringer.conf, find below line:

[Greylisting]
enable=0

Make sure you have 'enabled=0', then restart 'cbpolicyd' service.

7

Re: Slowness of receiving emails

May 31 03:20:57 mail postfix/smtpd[19183]: connect from unknown[197.250.62.37]
May 31 03:21:00 mail postfix/smtpd[19183]: lost connection after EHLO from unknown[197.250.62.37]
May 31 03:21:00 mail postfix/smtpd[19183]: disconnect from unknown[197.250.62.37]
May 31 03:21:06 mail postfix/smtpd[19183]: connect from unknown[197.250.62.37]
May 31 03:21:11 mail postfix/smtpd[19183]: lost connection after EHLO from unknown[197.250.62.37]
May 31 03:21:11 mail postfix/smtpd[19183]: disconnect from unknown[197.250.62.37]
May 31 03:21:17 mail postfix/smtpd[19183]: connect from unknown[197.250.62.37]
May 31 03:21:20 mail postfix/smtpd[19183]: lost connection after EHLO from unknown[197.250.62.37]
May 31 03:21:20 mail postfix/smtpd[19183]: disconnect from unknown[197.250.62.37]
May 31 03:21:25 mail postfix/smtpd[19183]: connect from unknown[197.250.62.37]
May 31 03:21:28 mail postfix/smtpd[19183]: lost connection after EHLO from unknown[197.250.62.37]
May 31 03:21:28 mail postfix/smtpd[19183]: disconnect from unknown[197.250.62.37]
May 31 03:21:33 mail postfix/smtpd[19183]: connect from unknown[197.250.62.37]
May 31 03:21:36 mail postfix/smtpd[19183]: lost connection after EHLO from unknown[197.250.62.37]
May 31 03:21:36 mail postfix/smtpd[19183]: disconnect from unknown[197.250.62.37]
May 31 03:21:42 mail postfix/smtpd[19183]: connect from unknown[197.250.62.37]
May 31 03:26:44 mail postfix/smtpd[19183]: timeout after EHLO from unknown[197.250.62.37]
May 31 03:26:44 mail postfix/smtpd[19183]: disconnect from unknown[197.250.62.37]
May 31 03:30:05 mail postfix/anvil[19186]: statistics: max connection rate 6/60s for (submission:197.250.62.37) at May 31 03:21:42
May 31 03:30:05 mail postfix/anvil[19186]: statistics: max connection count 1 for (submission:197.250.62.37) at May 31 03:20:57
May 31 03:30:05 mail postfix/anvil[19186]: statistics: max cache size 1 at May 31 03:20:57
May 31 03:30:08 mail postfix/pickup[17575]: 881362740090: uid=0 from=<root>
May 31 03:30:08 mail postfix/cleanup[19378]: 881362740090: message-id=<20150531003008.881362740090@mail.accessbank.co.tz>
May 31 03:30:08 mail postfix/qmgr[2036]: 881362740090: from=<root@mail.accessbank.co.tz>, size=1948, nrcpt=1 (queue active)
May 31 03:30:43 mail postfix/smtpd[19391]: connect from localhost[127.0.0.1]
May 31 03:30:43 mail postfix/smtpd[19391]: ADD1E274008A: client=localhost[127.0.0.1]
May 31 03:30:43 mail postfix/cleanup[19378]: ADD1E274008A: message-id=<20150531003008.881362740090@mail.accessbank.co.tz>
May 31 03:30:43 mail postfix/smtpd[19391]: disconnect from localhost[127.0.0.1]
May 31 03:30:43 mail postfix/qmgr[2036]: ADD1E274008A: from=<root@mail.accessbank.co.tz>, size=2423, nrcpt=1 (queue active)
May 31 03:30:43 mail amavis[13762]: (13762-06) Passed CLEAN {RelayedInternal}, MYUSERS <root@mail.accessbank.co.tz> -> <root@mail.accessbank.co.tz>, Message-ID: <20150531003008.881362740090@mail.accessbank.co.tz>, mail_id: bAD7z_Wkv5EB, Hits: -1.9, size: 1948, queued_as: ADD1E274008A, 35143 ms
May 31 03:30:43 mail postfix/smtp[19381]: 881362740090: to=<root@mail.accessbank.co.tz>, relay=127.0.0.1[127.0.0.1]:10024, delay=42, delays=6.4/0.01/0/35, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as ADD1E274008A)
May 31 03:30:43 mail postfix/qmgr[2036]: 881362740090: removed
May 31 03:30:43 mail postfix/cleanup[19378]: B2F9D2740090: message-id=<20150531003008.881362740090@mail.accessbank.co.tz>
May 31 03:30:43 mail postfix/local[19392]: ADD1E274008A: to=<root@mail.accessbank.co.tz>, relay=local, delay=0.03, delays=0/0.01/0/0.01, dsn=2.0.0, status=sent (forwarded as B2F9D2740090)
May 31 03:30:43 mail postfix/qmgr[2036]: B2F9D2740090: from=<root@mail.accessbank.co.tz>, size=2568, nrcpt=1 (queue active)
May 31 03:30:43 mail postfix/qmgr[2036]: ADD1E274008A: removed
May 31 03:30:43 mail postfix/pipe[19393]: B2F9D2740090: to=<postmaster@accessbank.co.tz>, relay=dovecot, delay=0.09, delays=0/0.01/0/0.07, dsn=2.0.0, status=sent (delivered via dovecot service)
May 31 03:30:43 mail postfix/qmgr[2036]: B2F9D2740090: removed
May 31 03:35:57 mail postfix/smtpd[19470]: connect from unknown[197.250.62.37]
May 31 03:35:59 mail postfix/smtpd[19470]: lost connection after EHLO from unknown[197.250.62.37]
May 31 03:35:59 mail postfix/smtpd[19470]: disconnect from unknown[197.250.62.37]
May 31 03:36:04 mail postfix/smtpd[19470]: connect from unknown[197.250.62.37]
May 31 03:36:07 mail postfix/smtpd[19470]: lost connection after EHLO from unknown[197.250.62.37]
May 31 03:36:07 mail postfix/smtpd[19470]: disconnect from unknown[197.250.62.37]
May 31 03:36:13 mail postfix/smtpd[19470]: connect from unknown[197.250.62.37]
May 31 03:36:19 mail postfix/smtpd[19470]: lost connection after EHLO from unknown[197.250.62.37]
May 31 03:36:19 mail postfix/smtpd[19470]: disconnect from unknown[197.250.62.37]
May 31 03:36:27 mail postfix/smtpd[19470]: connect from unknown[197.250.62.37]
May 31 03:36:33 mail postfix/smtpd[19470]: lost connection after EHLO from unknown[197.250.62.37]



Jun  1 07:45:10 mail postfix/pipe[2992]: C36D72740095: to=<willy.mtae@accessbank.co.tz>, relay=dovecot, delay=0.06, delays=0.01/0/0/0.05, dsn=2.0.0, status=sent (delivered via dovecot service)
Jun  1 07:45:10 mail postfix/qmgr[2036]: C36D72740095: removed
Jun  1 07:45:12 mail postfix/smtpd[2973]: connect from unknown[113.203.244.235]
Jun  1 07:45:13 mail postfix/smtpd[2973]: NOQUEUE: reject: RCPT from unknown[113.203.244.235]: 550 5.1.0 <qasif.shahid@accessbank.co.tz>: Sender address rejected: User unknown in virtual mailbox table; from=<qasif.shahid@accessbank.co.tz> to=<mrisho.shomari@accessbank.co.tz> proto=ESMTP helo=<[192.168.5.46]>
Jun  1 07:45:14 mail postfix/smtpd[2973]: lost connection after RCPT from unknown[113.203.244.235]
Jun  1 07:45:14 mail postfix/smtpd[2973]: disconnect from unknown[113.203.244.235]
Jun  1 07:45:16 mail postfix/smtpd[2989]: connect from localhost[127.0.0.1]
Jun  1 07:45:16 mail postfix/smtpd[2989]: 7DA192740095: client=localhost[127.0.0.1]
Jun  1 07:45:16 mail postfix/cleanup[2880]: 7DA192740095: message-id=<000701d09c26$79fd7b50$6df871f0$@accessbank.co.tz>
Jun  1 07:45:16 mail postfix/smtpd[2989]: disconnect from localhost[127.0.0.1]
Jun  1 07:45:16 mail postfix/qmgr[2036]: 7DA192740095: from=<anna.john@accessbank.co.tz>, size=20175, nrcpt=1 (queue active)
Jun  1 07:45:16 mail amavis[26107]: (26107-19) Passed CLEAN {RelayedInternal}, MYNETS/MYUSERS LOCAL [172.18.2.9]:54808 <anna.john@accessbank.co.tz> -> <faines.tazon@accessbank.co.tz>, Queue-ID: 7BED42740077, Message-ID: <000701d09c26$79fd7b50$6df871f0$@accessbank.co.tz>, mail_id: fj-Z1iBu4TyK, Hits: -10.393, size: 19076, queued_as: 7DA192740095, dkim_new=dkim:accessbank.co.tz, 44941 ms
Jun  1 07:45:16 mail postfix/smtp[2892]: 7BED42740077: to=<faines.tazon@accessbank.co.tz>, relay=127.0.0.1[127.0.0.1]:10024, delay=49, delays=4.2/0.03/0/45, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 7DA192740095)
Jun  1 07:45:16 mail postfix/pipe[2990]: 7DA192740095: to=<faines.tazon@accessbank.co.tz>, relay=dovecot, delay=0.06, delays=0.01/0/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
Jun  1 07:45:16 mail postfix/qmgr[2036]: 7DA192740095: removed
Jun  1 07:45:16 mail postfix/smtpd[2989]: connect from localhost[127.0.0.1]
Jun  1 07:45:16 mail postfix/smtpd[2989]: BCFA12740095: client=localhost[127.0.0.1]
Jun  1 07:45:16 mail postfix/cleanup[2880]: BCFA12740095: message-id=<000701d09c26$79fd7b50$6df871f0$@accessbank.co.tz>
Jun  1 07:45:16 mail postfix/smtpd[2989]: disconnect from localhost[127.0.0.1]
Jun  1 07:45:16 mail postfix/qmgr[2036]: BCFA12740095: from=<anna.john@accessbank.co.tz>, size=20181, nrcpt=1 (queue active)
Jun  1 07:45:16 mail amavis[35190]: (35190-17) Passed CLEAN {RelayedInternal}, MYNETS/MYUSERS LOCAL [172.18.2.9]:54808 <anna.john@accessbank.co.tz> -> <emmanuel.mariki@accessbank.co.tz>, Queue-ID: 7BED42740077, Message-ID: <000701d09c26$79fd7b50$6df871f0$@accessbank.co.tz>, mail_id: udXA3rgMUYLv, Hits: -10.393, size: 19076, queued_as: BCFA12740095, dkim_new=dkim:accessbank.co.tz, 45214 ms
@

8

Re: Slowness of receiving emails

No log related to delay. I have no clue at all.