On my server I redirect mail, arriving to [email protected]
, to [email protected]
and [email protected]
with /etc/aliases
file.
Recently I got the following email in my [email protected]
mailbox (where [email protected]
mail is redirected to):
Received: by 10.52.34.73 with SMTP id ...;
Sun, 27 Apr 2014 03:37:39 -0700 (PDT)
...
Received: from myhost (... [16.19.64.110])
by mx.google.com with ESMTPS id ...
for <[email protected]>
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Sun, 27 Apr 2014 03:37:39 -0700 (PDT)
...
Received: from Debian-exim by myhost with local (Exim 4.72)
id ...
for [email protected]; Fri, 25 Apr 2014 13:17:05 +0300
...
Date: Fri, 25 Apr 2014 13:17:05 +0300
...
To: [email protected]
Message frozen
Message 1WddBb-0007hU-1l has been frozen (delivery error message).
The sender is <>.
The following address(es) have yet to be delivered:
[email protected] <[email protected]>: SMTP error from remote mail server after MAIL FROM:<> SIZE=1558: host gmail-smtp-in.l.google.com [74.125.201.108]: 530-5.5.1 Authentication Required. Learn more at\n530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 h7sm7285577igy.2 - gsmtp
[email protected] <[email protected]>: SMTP error from remote mail server after MAIL FROM:<> SIZE=1558: host gmail-smtp-in.l.google.com [74.125.201.108]: 530-5.5.1 Authentication Required. Learn more at\n530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 h7sm7285577igy.2 - gsmtp
Then I run:
# exigrep -l 1WddBb-0007hU-1l $(find /var/log/exim4 -name 'mainlog*' | sort -rn -t . -k2,2)
2014-04-25 13:17:02 1WddBb-0007hU-1l <= <> H=(115.78.92.64) [118.69.183.136] P=smtp S=522
2014-04-25 13:17:02 1WddBb-0007hU-1l gmail-smtp-in.l.google.com [2a00:1450:4013:c01::1a] Network is unreachable
2014-04-25 13:17:03 1WddBb-0007hU-1l SMTP error from remote mail server after end of data: host gmail-smtp-in.l.google.com [74.125.136.26]: 421-4.7.0 [16.19.64.110 15] Our system has detected an unusual rate of\n421-4.7.0 unsolicited mail originating from your IP address. To protect our\n421-4.7.0 users from spam, mail sent from your IP address has been temporarily\n421-4.7.0 rate limited. Please visit http://www.google.com/mail/help/bulk_mail.\n421 4.7.0 html to review our Bulk Email Senders Guidelines. t3si12446024eeg.301 - gsmtp
2014-04-25 13:17:03 1WddBb-0007hU-1l SMTP error from remote mail server after end of data: host gmail-smtp-in.l.google.com [74.125.136.27]: 421-4.7.0 [16.19.64.110 15] Our system has detected an unusual rate of\n421-4.7.0 unsolicited mail originating from your IP address. To protect our\n421-4.7.0 users from spam, mail sent from your IP address has been temporarily\n421-4.7.0 rate limited. Please visit http://www.google.com/mail/help/bulk_mail.\n421 4.7.0 html to review our Bulk Email Senders Guidelines. x46si12473877eea.209 - gsmtp
2014-04-25 13:17:05 1WddBb-0007hU-1l ** [email protected] <[email protected]> R=dnslookup T=remote_smtp: SMTP error from remote mail server after MAIL FROM:<> SIZE=1558: host gmail-smtp-in.l.google.com [74.125.201.108]: 530-5.5.1 Authentication Required. Learn more at\n530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 h7sm7285577igy.2 - gsmtp
2014-04-25 13:17:05 1WddBb-0007hU-1l ** [email protected] <[email protected]> R=dnslookup T=remote_smtp: SMTP error from remote mail server after MAIL FROM:<> SIZE=1558: host gmail-smtp-in.l.google.com [74.125.201.108]: 530-5.5.1 Authentication Required. Learn more at\n530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 h7sm7285577igy.2 - gsmtp
2014-04-25 13:17:05 1WddBb-0007hU-1l Frozen (delivery error message)
2014-04-25 13:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 14:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 14:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 15:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 15:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 16:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 16:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 17:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 17:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 18:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 18:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 19:07:58 1WddBb-0007hU-1l Message is frozen
2014-04-25 19:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 20:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 20:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 21:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 21:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 22:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 22:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 23:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-25 23:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 00:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 00:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 01:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 01:37:58 1WddBb-0007hU-1l Message is frozen
2014-04-26 02:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 02:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 03:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 03:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 04:07:38 1WddBb-0007hU-1l Message is frozen
2014-04-26 04:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 05:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 05:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 06:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 06:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 07:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 07:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 08:07:58 1WddBb-0007hU-1l Message is frozen
2014-04-26 08:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 09:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 09:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 10:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 10:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 11:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 11:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 12:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 12:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 13:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 13:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 14:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 14:37:58 1WddBb-0007hU-1l Message is frozen
2014-04-26 15:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 15:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 16:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 16:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 17:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 17:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 18:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 18:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 19:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 19:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 20:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 20:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 21:07:58 1WddBb-0007hU-1l Message is frozen
2014-04-26 21:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 22:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 22:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 23:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-26 23:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 00:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 00:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 01:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 01:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 02:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 02:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 03:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 03:37:58 1WddBb-0007hU-1l Message is frozen
2014-04-27 04:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 04:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 05:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 05:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 06:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 06:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 07:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 07:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 08:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 08:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 09:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 09:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 10:07:58 1WddBb-0007hU-1l Message is frozen
2014-04-27 10:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 11:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 11:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 12:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 12:37:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 13:07:37 1WddBb-0007hU-1l Message is frozen
2014-04-27 13:37:37 1WddBb-0007hU-1l Unfrozen by errmsg timer
2014-04-27 13:37:38 1WddBb-0007hU-1l => [email protected] <[email protected]> R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [74.125.136.27] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com"
2014-04-27 13:37:38 1WddBb-0007hU-1l -> [email protected] <[email protected]> R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [74.125.136.27] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com"
2014-04-27 13:37:38 1WddBb-0007hU-1l Completed
2014-04-25 13:17:05 1WddBd-0007hk-1p <= <> R=1WddBb-0007hU-1l U=Debian-exim P=local S=1111
2014-04-25 13:17:06 1WddBd-0007hk-1p ** [email protected] <[email protected]> R=dnslookup T=remote_smtp: SMTP error from remote mail server after MAIL FROM:<> SIZE=2150: host gmail-smtp-in.l.google.com [74.125.201.109]: 530-5.5.1 Authentication Required. Learn more at\n530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 p7sm7216866igg.15 - gsmtp
2014-04-25 13:17:06 1WddBd-0007hk-1p Frozen (delivery error message)
2014-04-25 13:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 14:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 14:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 15:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 15:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 16:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 16:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 17:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 17:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 18:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 18:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 19:07:58 1WddBd-0007hk-1p Message is frozen
2014-04-25 19:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 20:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 20:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 21:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 21:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 22:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 22:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 23:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-25 23:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 00:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 00:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 01:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 01:37:58 1WddBd-0007hk-1p Message is frozen
2014-04-26 02:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 02:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 03:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 03:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 04:07:38 1WddBd-0007hk-1p Message is frozen
2014-04-26 04:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 05:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 05:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 06:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 06:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 07:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 07:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 08:07:58 1WddBd-0007hk-1p Message is frozen
2014-04-26 08:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 09:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 09:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 10:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 10:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 11:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 11:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 12:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 12:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 13:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 13:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 14:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 14:37:58 1WddBd-0007hk-1p Message is frozen
2014-04-26 15:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 15:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 16:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 16:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 17:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 17:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 18:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 18:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 19:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 19:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 20:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 20:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 21:07:58 1WddBd-0007hk-1p Message is frozen
2014-04-26 21:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 22:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 22:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 23:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-26 23:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 00:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 00:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 01:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 01:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 02:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 02:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 03:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 03:37:58 1WddBd-0007hk-1p Message is frozen
2014-04-27 04:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 04:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 05:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 05:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 06:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 06:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 07:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 07:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 08:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 08:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 09:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 09:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 10:07:58 1WddBd-0007hk-1p Message is frozen
2014-04-27 10:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 11:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 11:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 12:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 12:37:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 13:07:37 1WddBd-0007hk-1p Message is frozen
2014-04-27 13:37:38 1WddBd-0007hk-1p Unfrozen by errmsg timer
2014-04-27 13:37:39 1WddBd-0007hk-1p => [email protected] <[email protected]> R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [74.125.136.27] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com"
2014-04-27 13:37:39 1WddBd-0007hk-1p Completed
First of all, I have problems interpreting it.
We got bounce message from 118.69.183.136
. But why does it bounce to both [email protected]
and [email protected]
? Did they both send an email, which could not be delivered? Unlikely.
Then google replies with "421-4.7.0 [16.19.64.110 15] Our system has detected an unusual rate of unsolicited mail originating from your IP address. To protect our users from spam, mail sent from your IP address has been temporarily rate limited. Please visit http://www.google.com/mail/help/bulk_mail.html to review our Bulk Email Senders Guidelines." What is this supposed to mean? [email protected]
is a feedback mailbox, redirected to [email protected]
and [email protected]
. I doubt they send a lot of emails. Would you suggest a way to count them?
As a result one more bounce message is generated for [email protected]
. But now google replies with "530-5.5.1 Authentication Required. Learn more at http://support.google.com/mail/bin/answer.py?answer=14257" That I don't understand either. I now can send messages to [email protected]
just fine.
In the end, the bounce messages get delivered. I'm running debian 6
. Could you explain me what's going on and what am I to do?
It isn't bouncing to the two addresses, it's bouncing it to postmaster telling you that delivery to those two addresses failed.
It means you have been rate limited. You should go to the URL stated for more information. What part of that is unclear?
You're barking up the wrong tree. The message clearly states that your IP address is sending too many emails. This has nothing to do whom the messages are to or from, it's simply the number of messages from that exact IP address (your server) that are being sent to google. This includes your messages that are being generated to postmaster due to bounces/failures that are being forwarded to your gmail account.
You should realize you have a catch-22 here that if Google is limiting the amount of messages from your system to theirs and you have your errors (bounces, warnings) going to google as well..
You've sent enough messages from your IP to gmail servers and Google has temporarily (as it clearly says in the logs) rate limited. Those messages are generating errors (warnings) that they could not be immediately delivered. You then have those messages being forwarded to yet another gmail address which is creating even more attempts to send email through google's servers from your IP which is likely making the problem worse.
Once their temporary rate limiting has been lifted then your messages would go through as expected.
If those fail, you should consider paying Google to host the domain properly and/or stop forwarding messages to gmail accounts.
Yeah, yeah, this is a 6 year old question.
However, I found that if you have a mail loop, this is the message you get. I had a set of filters where my business domain forwarded to my personal gmail. and my gmail forwarded back to my business.
Google is pretty good at detecting loops, so it doesn't trip every time. But one time after reworking my filter setup I got this problem for about 2 weeks intermittently. Curiously the error message ranged from nearly instant to several days after the original message.