Lately I have found that my outgoing queues are getting a little clogged for 
yahoo and sbcglobal.net.  This usually coincides with a bulk set of news 
letters sent out from a couples clients.  Typically we are seeing that they 
dump about 2000msg/per batch, with no more than one batch per week (usually on 
Friday nights).  The problem is they do it in one fatal swoop.  When this 
happens, we seem to get rate limited from yahoo/sbcglobal for a few hours, 
which directly affects our other users.  

Some time ago I put a rate limiter in place for AOL/yahoo/sbcglobal/gmail so we 
wouldn't be bombarding but I don't think that it's being honored, probably 
because I missed something.  When I do a postconf I don't see my rate limiter, 
which is in main.cf, listed there.  I'm not sure if that's by design or part of 
a misconfiguration on my part.  Mail goes out from different sets of servers, 
with the same public IP, so rate limiting will only affect the bulk mail queue.

Is there something obvious that I missed?  

master.cf:
ratelimit unix  -       -       n       -       3      smtp

rate_limit_transport:
aol.com                         ratelimit:
yahoo.com                       ratelimit:
sbcglobal.net                   ratelimit:                              
gmail.com                       ratelimit:

main.cf:
ratelimit_destination_concurrency_failed_cohort_limit = 100
ratelimit_destination_concurrency_limit = 10

postconf -n:

alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
myhostname = ...
mynetworks = /etc/postfix/custom/mynetworks
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.3/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_client_restrictions = permit_mynetworks,permit_sasl_authenticated,reject
smtpd_recipient_restrictions = 
permit_mynetworks,permit_sasl_authenticated,reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = ...
smtpd_tls_key_file = ...
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/custom/rate_limit_transport, 
hash:/etc/postfix/maps/transport
unknown_local_recipient_reject_code = 550

Reply via email to