On Wed, Sep 16, 2020 at 02:56:47AM +0000, MichaelV wrote:
> Can you please explain who to define delivery rules to relay messages
> to two different mail servers based on senders email format.
> relay rules to be configured:
> anything going to *@mycompany.org relay to: mycompany.mail.protection.outlook.com:25
> anything coming from *@notifications.mycompany.org relay to smtp.domain2.com:587
> not from from *@mycompany.org, or *@notifications.company.org, going to external recipients relay to mycompany.mail.protection.outlook.com:25
This can be accomplished with sender_dependent_default_transport_maps: