Postfix additional transports - is it working?

Posted by threecheeseopera on Server Fault See other posts from Server Fault or by threecheeseopera
Published on 2010-04-21T04:05:04Z Indexed on 2010/04/21 4:13 UTC
Read the original article Hit count: 259

Filed under:

I have enabled two additional transports in my postfix config to deal with recipient domains that demand connection limiting, per the instructions here at serverfault.

However, I have no idea if this is working or not; in fact, I think it is not working, due to the send speeds I am seeing in the logs.

How might I determine if my additional transports are working? If they aren't, do you have any tips on figuring out why? And, do you have any comments on my particular configuration? (am I a bucket of fail?)

I have enabled the additional transports in master.cf:

smtp      inet  n       -       -       -       -       smtpd
careful   unix  -       -       n       -       10      smtp
  -o smtp_connect_timeout=5
  -o smtp_helo_timeout=5
cautious  unix  -       -       n       -       -       smtp
  -o smtp_connect_timeout=5
  -o smtp_helo_timeout=5

I have set up the transport mapping file /etc/postfix/transport:

hotmail.com             cautious:
yahoo.com               careful:
gmail.com               cautious:
earthlink.net           cautious:
msn.com                 cautious:
live.com                cautious:
aol.com                 careful:

I have set up the transport mapping and some connection-limiting settings in main.cf:

transport_maps = hash:/etc/postfix/transport

careful_initial_destination_concurrency = 5
careful_destination_concurrency_limit = 10
cautious_destination_concurrency_limit = 50

Finally, I have run converted the transport file to a db per the postfix docs:

#> postmap /etc/postfix/transport

And then restarted postfix.

I do see my transport_maps setting when I run postconf, but I do not see any of the transport-specific settings ('careful_xxx_yyy_zzz'). Also the mail logs do not appear to be different in any way to what they were previously.

Thanks!!!

© Server Fault or respective owner

Related posts about postfix