On 10/07/14 21:54, Red Blue wrote:
> I opened a thread on ServerFault regarding an issue with Amazon SES and cPanel. In short, when I have an email forwarder set up on cPanel, and the server receives an email going to that email forwarder, exim tries to use Amazon SES as the router but Amazon ultimately refuses to deliver that mail due to the From field being from an unverified email address.
>
> The thread is located here:
> http://serverfault.com/questions/604993/how-to-setup-exim-to-check-the-from-field/605276
>
> I'm still having issues with my configuration so I decided to post my issue here.
> How can I configure exim to use a different router if the From field doesn't belong to one of the local domains?
1) What is your router difference intended to do? You may be better
off rejecting in ACL, either MAIL or RCPT, if rejection is your intent.
2) Are you asking about the envelope from or the header from?
3) Both the above are available as variables, which can be tested
in conditions, and all routers can have an arbitrary condition.
The docs are at
http://exim.org/exim-html-current/doc/html/spec_html/index.html
--
Cheers,
Jeremy