Author: Jasen Betts Date: To: exim-users Subject: Re: [exim] EXIM fails to forward mails for local domains to remote
mail server
On 2014-08-11, Adekunle Adekoya <adekoyaa@???> wrote: > Hi guys
>
> I just setup EXIM on our VPS box.
>
> Mails sent to domains that are not hosted on the VPS box are properly
> delivered to the remote mail server.
>
> But mails sent to domains that are configured on the VPS box are not
> forwarded to the remote mail server.
>
> The MX records for those local domains correctly point to the remote mail
> server.
>
> What do I need to add to EXIM config file so that mails sent to the local
> domains are sent to the remote server that is meant to keep mails for those
> local domains ?
You need add nothing.
You need to take away the bits that are making it think those domains are local,
because if exim shold be using the MX record to route that mail to a remote
server, they aren't local.