Dnia 29.09.2019 o godz. 13:30:38 Wietse Venema pisze: > > There are two places where Postfix can do MX lookups for a remote > recipient: > > - In the SMTP client. > > - In the SMTP server (check_recipient_mx_access). > > You can use check_recipient_mx_access to return 'filter:gmail-submission', > and have a gmail-submission transport in master.cf that always sends > mail through the gmail submission server.
Looks like it's of no use to me, as most mail I send is sent via local /usr/lib/sendmail submission (from mutt) and not via SMTP client. Is it possible to use some script in transport_maps= parameter to check MX of a domain and return appropriate result? -- Regards, Jaroslaw Rafa r...@rafa.eu.org -- "In a million years, when kids go to school, they're gonna know: once there was a Hushpuppy, and she lived with her daddy in the Bathtub."