There is only one scheduler, and it applies the same rule for new
mail and delayed mail.
Jun 22 17:30:27 stmp1 smtp-slow/smtp[4389]: 23F891F008F: host ASPMX.L.GOOGLE.com[173.194.207.27] said: 450-4.2.1 The user you are trying to contact is receiving mail at a rate that 450-4.2.1 prevents additional messages from being delivered. Please resend your 450-4.2.1 message at a later time. If the user is able to receive mail at that 450-4.2.1 time, your message will be delivered. For more information, please 450-4.2.1 visit 450 4.2.1 https://support.google.com/mail/answer/6592 id0.78 - gsmtp (in reply to RCPT TO command)
Jun 21 17:30:30 smtp1 smtp-slow/smtp[4389]: 23F891F008F: to=<t...@domain.com>, relay=ALT1.ASPMX.L.GOOGLE.com[64.233.186.27]:25, delay=4.2, delays=1.1/0.03/2.7/0.36, dsn=4.2.1, status=deferred (host ALT1.ASPMX.L.GOOGLE.com[64.233.186.27] said: 450-4.2.1 The user you are trying to contact is receiving mail at a rate that 450-4.2.1 prevents additional messages from being delivered. Please resend your 450-4.2.1 message at a later time. If the user is able to receive mail at that 450-4.2.1 time, your message will be delivered. For more information, please 450-4.2.1 visit 450 4.2.1 https://support.google.com/mail/answer/6592 id1.84 - gsmtp (in reply to RCPT TO command))
Somehow Google sees those connections within one second and blocks me for some time. This happens on first attempt to deliver messages, right after it received them from the smtp connection.
Could you please point me into right direction?
Thank you.
-sashk
Show actual evidence: two complete logfile records that are too close
together.
And also, show evidence that you haven't made the mistake of setting
xxx_destination_recipient_limit=1 (where xxx is the mail delivery
transport that talks to google etc.).
transport_maps = hash:/etc/postfix/transport
default_destination_rate_delay = 12
default_destination_concurrency_limit = 1
default_destination_recipient_limit = 5
slow_initial_destination_concurrency = 1
slow_destination_concurrency_limit = 1
slow_destination_recipient_limit = 5
slow_destination_rate_delay = 12s
It did not show back-to-back delivery of two separate messages.
Rather it showed a single message that tried two MX hosts in
succession, because the first MX host returned a 4XX response.
The reported error was an excess arrival rate of mail into a single
user's mailbox, (joe-job, too many bounces for mail from that user,
...). It was not a violation of a rate limit from your IP address
to Gmail.
What evidence do you have for that? The error messages are about
message arrival rate for the same user. I am quite familiar with
these, and they are not caused by a small number of closely spaced
messages. Rather this symptom happens when a user quickly receives
a large number of messages due to a flood of mail coming in.
As per the logs so far It your server is making more than one connection in less than a second and this is strange as It does not seem to be configured this way.In this scenario even tho the queue is empty, making a few connections at once will cause a lock out, even if you send 3 messages for the day if they are sent in less than a second we will lock the connection.