1

Topic: mail forward to gmail

============ Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in: LDAP
- Linux/BSD distribution name and version: Debian wheezy
- Related log if you're reporting an issue:
====

Has the following messages when I get mail forwarded to gmail

relay=alt1.gmail-smtp-in.l.google.com[74.125.25.27]:25, delay=10813, delays=10811/0.02/1.4/0.69, dsn=4.4.2, status=deferred (lost connection with alt1.gmail-smtp-in.l.google.com[74.125.25.27] while sending end of data -- message may be sent more than once)

----

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

2

Re: mail forward to gmail

Does it happen frequently or just once?

3

Re: mail forward to gmail

One day ~2000 sent mail smtp.
Yesterday the message was above 480
Before yesterday that message was 880

Last night I changed LDA to LMTP and today was not such a message although it half the day left

4 (edited by zolikusz 2014-08-15 21:17:11)

Re: mail forward to gmail

That does not fix the problem. The final solution has the following:


(   ----   If postfix is older than 2.5, upgrade it.   ---   )


Define required additional transport in postfix master.cf file:

smtp-gmail unix -    -    n    -    1    smtp
       -o syslog_name=smtp-gmail

Define the required throttling (rate limits) settings in postfix main.cf

smtp-gmail_destination_rate_delay = 12s
smtp-gmail_destination_concurrency_limit = 1
smtp-gmail_destination_recipient_limit = 2
smtp-gmail_initial_destination_concurrency=1

Add the policy to the main.cf file:

transport_maps = ..... regexp:/etc/postfix/transport_gmail

And generate to the transport_gmail file:

#cat /etc/postfix/transport_gmail
/\@gmail\.com$/ smtp-gmail:

Reload postfix.