Re: [exim] How to rewrite From: header of offsite forwards o…

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] How to rewrite From: header of offsite forwards only to prevent Amazon SES 554 error
On 24/03/18 07:08, Pete Schaefers via Exim-users wrote:
> senders = *@+local_domains


That almost certainly will not work if the "local_domains"
list has more than one element, and I'm surprised it works
at all. You're abusing list-syntax there.

Instead, use a generic "condition=" router condition with
a value constructed using ${if } involving $sender_address_domain
and match_domain.
--
Jeremy