Henry Stryker: > I have defined a few custom smtp transports to limit deliveries to > certain large domains such as Yahoo and Hotmail. These are applied via > the transport map file to match recipient address domains. > > There are a large number of recipients I would like to use a custom > transport for, but whose actual recipient address domains are all > different. The common bond among them is they all use the same MX. > These are personal domain names hosted by GoDaddy, so they all use > smtp.secureserver.net as the primary MX. > > Is there a way to apply a custom smtp transport to the MX hostname, > rather than the recipient address domain?
No. However, if you know that a domain is hosted by GoDaddy, then you can make a transport map: example.com smtp:[smtp.secureserver.net] and Postfix will bundle all recipients in those domains. Transport lookup happens in the scheduler, which groups recipients by domain name. The scheduler knows nothing about SMTP or DNS. This allows Postfix to send and receive non-SMTP mail even when DNS or the entire network is down. MX lookup happens in the SMTP client, which knows nothing about how to group recipients. Wietse