Re: [exim] Stop exim from forwarding email

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] Stop exim from forwarding email
On 23/01/17 10:37, Stefan Aichholzer wrote:
> 1) I have setup Google Suite on my hosting provider (and it works just fine),
> 2) I have only one address setup on Gmail. Gmail delivers all other emails to my hosting provider, using its email splitting feature (support.google.com/a/answer/173534?hl=en <http://support.google.com/a/answer/173534?hl=en>),
> 3) Once my hosting provider receives these emails, it sends them back to Gmail as Gmail's are the primary MX records for my domain,
> 4) Gmail sends the email back since they are not to be caught there.


You need a description, in Exim's config, of addresses that are "yours"
despite the MX for them being elsewhere (gmail). Then place a router
early in your routers list (before the one that does MX lookups) to
grab those mails and deliver them locally.
--
Cheers,
Jeremy