On 22 Mar 2018, at 22:06, Pete Schaefers via Exim-users <[email protected]> 
wrote:
> send_via_ses:
> driver = manualroute
> domains = ! +local_domains
> transport = ses_smtp
> route_list = * email-smtp.us-west-2.amazonaws.com;
> 
> It sends all non-local mail to SES. I need to have it not send forwards and 
> let them be handled locally.

How exactly are the 'forwarded' emails generated? You've mentioned an alias 
lookup already but it isn't entirely clear how these are being generated.

The router above will punt anything for a recipient which is *not* in the 
local_domains domain list to your Amazon smarthost.

If you want to catch messages which have some other condition and deal with 
them locally, you'll need another router with a condition that can identify 
them (and a corresponding condition on this router to not handle them).

Graeme
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to