On 2008-02-07 at 15:14 +0000, matt davies wrote:
> domainlist local_domains = ourdomainname.co.uk

That says "the domainlist named 'local_domains' should contain one
domain, 'ourdomainname.co.uk'".


> smarthost:
>    debug_print = "R: smarthost for [EMAIL PROTECTED]"
>    driver = manualroute
>    domains = ! +local_domains
>    transport = remote_smtp_smarthost
>    route_list =  * ip address of mail relay server
>    host_find_failed = defer
>    same_domain_copy_routing = yes
>    no_more

The "domains" line there restricts this router to only run if the domain
is *not* in the local_domains domainlist; however, your example shows
that the address causing problems is for that domain.

If you're not handling "ourdomainname.co.uk" locally, it probably
shouldn't be in "local_domains"; if some addresses are handled locally
and some aren't, then you need to instead remove the domains restriction
from the "smarthost" router.

-Phil

-- 
## List details at http://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