1

Topic: Delays from Gmail

==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Debian 6.0.7 x64 (on vmware esxi 5.0)
- Related log if you're reporting an issue:
====

Anyone had a problem with delayed (up to 13 hours) messages from gmail that have attachments larger than 5 megabytes ?

Fresh install, no modifications to default configuration except +new domain +new email user.

same result with greylisting on and off . Server is on 100+Mbit/s line.

In the log below, the first message 7 megabytes (delayed), the second message 4 megabytes - delivered as expected.

WTF ?????? network_biopair_interop ?????? WTF ??????????


------- mail.log (greylisting off) ------------------------
Apr  4 23:43:49 mail postfix/smtpd[2599]: connect from mail-ee0-f53.google.com[74.125.83.53]
Apr  4 23:43:49 mail postfix-policyd: connection from: 127.0.0.1 port: 36234 slots: 0 of 4096 used
Apr  4 23:43:49 mail postfix-policyd: rcpt=1, module=bypass, host=74.125.83.53 (mail-ee0-f53.google.com), from=zpo404@gmail.com, to=emfaz@emfaz.eu, size=0
Apr  4 23:43:49 mail postfix/smtpd[2599]: 76A3CB7961: client=mail-ee0-f53.google.com[74.125.83.53]
Apr  4 23:43:49 mail postfix/cleanup[2604]: 76A3CB7961: message-id=<CALeW0x4wxEFk9trZLKQV0XYv+q-zkvusr4eq_ZsGhpSggiBWyQ@mail.gmail.com>
Apr  4 23:49:23 mail postfix/smtpd[2605]: connect from mail-ee0-f42.google.com[74.125.83.42]
Apr  4 23:49:23 mail postfix-policyd: connection from: 127.0.0.1 port: 36237 slots: 1 of 4096 used
Apr  4 23:49:23 mail postfix-policyd: rcpt=2, module=bypass, host=74.125.83.42 (mail-ee0-f42.google.com), from=zpo404@gmail.com, to=emfaz@emfaz.eu, size=0
Apr  4 23:49:23 mail postfix/smtpd[2605]: C5D73B7966: client=mail-ee0-f42.google.com[74.125.83.42]
Apr  4 23:49:23 mail postfix/cleanup[2607]: C5D73B7966: message-id=<CALeW0x6v7qM=1kPy7mNqv9S-MP-D8MCrjdCqOo_02MP9aQHJEQ@mail.gmail.com>
Apr  4 23:49:25 mail postfix/qmgr[2253]: C5D73B7966: from=<zpo404@gmail.com>, size=6545644, nrcpt=1 (queue active)
Apr  4 23:49:25 mail postfix/smtpd[2605]: disconnect from mail-ee0-f42.google.com[74.125.83.42]
Apr  4 23:49:27 mail postfix/smtpd[2612]: connect from localhost[127.0.0.1]
Apr  4 23:49:27 mail postfix/smtpd[2612]: 80CB8B7967: client=localhost[127.0.0.1]
Apr  4 23:49:27 mail postfix/cleanup[2607]: 80CB8B7967: message-id=<CALeW0x6v7qM=1kPy7mNqv9S-MP-D8MCrjdCqOo_02MP9aQHJEQ@mail.gmail.com>
Apr  4 23:49:27 mail postfix/smtpd[2612]: disconnect from localhost[127.0.0.1]
Apr  4 23:49:27 mail postfix/qmgr[2253]: 80CB8B7967: from=<zpo404@gmail.com>, size=6546156, nrcpt=1 (queue active)
Apr  4 23:49:27 mail amavis[1656]: (01656-02) Passed CLEAN, LOCAL [74.125.83.42] [74.125.83.42] <zpo404@gmail.com> -> <emfaz@emfaz.eu>, Message-ID: <CALeW0x6v7qM=1kPy7mNqv9S-MP-D8MCrjdCqOo_02MP9aQHJEQ@mail.gmail.com>, mail_id: MTOUDPA1KZFf, Hits: -98.575, size: 6545644, queued_as: 80CB8B7967, dkim_id=@gmail.com, 2433 ms
Apr  4 23:49:27 mail postfix/smtp[2608]: C5D73B7966: to=<emfaz@emfaz.eu>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.1, delays=1.6/0.01/0.01/2.4, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=01656-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 80CB8B7967)
Apr  4 23:49:27 mail postfix/qmgr[2253]: C5D73B7966: removed
Apr  4 23:49:27 mail postfix/pipe[2613]: 80CB8B7967: to=<emfaz@emfaz.eu>, relay=dovecot, delay=0.47, delays=0.24/0.01/0/0.22, dsn=2.0.0, status=sent (delivered via dovecot service)
Apr  4 23:49:27 mail postfix/qmgr[2253]: 80CB8B7967: removed
Apr  4 23:50:27 mail postfix/smtpd[2605]: connect from mail-ea0-f181.google.com[209.85.215.181]
Apr  4 23:50:28 mail postfix-policyd: rcpt=3, module=bypass, host=209.85.215.181 (mail-ea0-f181.google.com), from=zpo404@gmail.com, to=emfaz@emfaz.eu, size=0
Apr  4 23:50:28 mail postfix/smtpd[2605]: 086A4B7966: client=mail-ea0-f181.google.com[209.85.215.181]
Apr  4 23:50:28 mail postfix/cleanup[2607]: 086A4B7966: message-id=<CALeW0x4wxEFk9trZLKQV0XYv+q-zkvusr4eq_ZsGhpSggiBWyQ@mail.gmail.com>
Apr  4 23:50:36 mail postfix/smtpd[2599]: warning: network_biopair_interop: error reading 1140 bytes from the network: Connection reset by peer
Apr  4 23:50:36 mail postfix/smtpd[2599]: timeout after DATA (6591137 bytes) from mail-ee0-f53.google.com[74.125.83.53]
Apr  4 23:50:36 mail postfix/smtpd[2599]: disconnect from mail-ee0-f53.google.com[74.125.83.53]
-----END-----

----

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

2

Re: Delays from Gmail

up

3

Re: Delays from Gmail

emfaz wrote:

Apr  4 23:50:36 mail postfix/smtpd[2599]: warning: network_biopair_interop: error reading 1140 bytes from the network: Connection reset by peer

The only one issue i can find in your log was above line, refer to this forum topic please:
http://www.iredmail.org/forum/topic3192 … lient.html

A quick solution is upgrading Postfix to at least 2.8.

4

Re: Delays from Gmail

Upgraded postfix to 2.9
No network_biopair_interop errors, but no good so far ...

5

Re: Delays from Gmail

emfaz wrote:

Upgraded postfix to 2.9
No network_biopair_interop errors, but no good so far ...

Sorry, what do you mean "no good"?

6

Re: Delays from Gmail

I mean the delays still are present. But yesterday i have installed same install at another site and it works ok.
I have tried tcpdump and now want try to change some hardware (switches, routers etc.) to test if some of it doesn't affect the situation.

7

Re: Delays from Gmail

https://groups.google.com/forum/?fromgr … glPHkU9VNE

problem solved.