I'm configuring a postfix mailing server with multiple instances. Each instance has been assigned it's own ip and domain. For some of the instances, I've enabled rate delays for specific domains:
main.cf
yahoo_destination_rate_delay = 5s
yahoo_concurrency_failed_cohort_limit = 10
yahoo_destination_concurrency_limit = 10
ymail_destination_rate_delay = 5s
ymail_concurrency_failed_cohort_limit = 10
ymail_destination_concurrency_limit = 10
master.cf
yahoo unix - - n - - smtp
-o syslog_name=postfix-3
-o smtp_fallback_relay=
ymail unix - - n - - smtp
-o syslog_name=postfix-3
-o smtp_fallback_relay=
transport
yahoo.com yahoo:
ymail.com ymail:
My question is, how does each instance know which transport to use? i set
postmap /etc/postfix-3/transport
but is that enough?
It seems to be working but that could only be because a few other instances have similar transports. I'm afraid each instance could be reading an incorrect transport map. Should I assign each instance a specific transport file or is that assumed?
Thanks!