Re: [exim] Routing outgoing email only

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mehul N. Sanghvi
Date:  
À: Hochstrasser Benedikt
CC: exim-users
Sujet: Re: [exim] Routing outgoing email only
Hochstrasser Benedikt wrote:

> Mehul N. Sanghvi wrote:
>
>
>
>     send_to_gateway:
>               driver = manualroute
>               domains = !+virtual_domains
>               transport = remote_smtp
>               route_list = * smtp.comcast.net

>
> In the FAQ, "local_domains" is used instead of "virtual_domains". I do
> have virtual_domains setup correctly with the domains I am using.
>
> The problem with this is that incoming email also gets routed
> smtp.comcast.net which is not something I want. How do I go about
> narrowing the above to fit only the outgoing scenario ?
> <<<
>
> Domains = !+virtual_domains : !+local_domains
>


Thanks !! that seems to be working. I'll have to re-read the specs
on local_domains and "@" being in it.

cheers,


    mehul