As per your errors, you send Unsolicited Messages. If that is the case then is 
not related to sending rates, but to spam complaints rate.
"Our system has detected an unusual rate of unsolicited mail originating from 
your IP address"

1. Recipients must optin. Never send to a list acquired from somewhere or think 
that "is my list, I can send anything to them, even twice a day"
2. Recipients may not be interested in what you send. You need an working 
Unsubscribe service, bounce processor, an FBL service implemented and never 
bother second time an optout. 
3. Reputation - is built in time based on quality (engagement), not quantity. 
Is not a technical tweak.


-----Original Message-----
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] 
On Behalf Of Alex
Sent: Friday, July 3, 2015 8:05 PM
To: postfix users list
Subject: Outbound rate limiting

Hi,

Some time ago I had asked a question about rate limiting email to sites like 
gmail and yahoo using transport maps and destination_concurrency_limit, but I 
still can't get it right.  I'm trying to throttle traffic to avoid the 
following restrictions from sites like google:

Jul  3 12:57:37 propemail postfix-turtle/smtp[10283]: 002454148E:
to=<halland...@gmail.com>, orig_to=<10...@example.com>, 
relay=alt1.gmail-smtp-in.l.google.com[64.233.186.27]:25, delay=101691, 
delays=101684/2.3/3/1.5, dsn=4.7.0, status=deferred (host 
alt1.gmail-smtp-in.l.google.com[64.233.186.27] said: 421-4.7.0
[66.XXX.XXX.100      15] Our system has detected an unusual rate of
421-4.7.0 unsolicited mail originating from your IP address. To protect our 
421-4.7.0 users from spam, mail sent from your IP address has been temporarily 
421-4.7.0 rate limited. Please visit 421-4.7.0
https://support.google.com/mail/answer/81126 to review our Bulk Email
421 4.7.0 Senders Guidelines. 200si10956555qhh.75 - gsmtp (in reply to end of 
DATA command))

I've tried to configure a transport map for gmail and a few others using:

/\@gmail\.com$/ turtle:
/yahoo(\.[a-z]{2,3}){1,2}$/ turtle:
/\@hotmail\.com$/ polite:

transport_maps = regexp:/etc/postfix/transport_limit
default_destination_concurrency_limit = 10

polite_initial_destination_concurrency = 1 # number of parallel deliveries 
polite_destination_concurrency_limit = 3 # seconds between each set of messages 
polite_destination_rate_delay = 0 # number of recipients 
polite_destination_recipient_limit = 5

turtle_initial_destination_concurrency = 1 turtle_destination_concurrency_limit 
= 2 turtle_destination_rate_delay = 1s turtle_destination_recipient_limit = 2

I'm really not sure what I'm still doing wrong. Any ideas would be greatly 
appreciated.
Thanks,
Alex

Reply via email to