Re: [exim] unable to route localhost email but everything el…

Top Pagina
Delete this message
Reply to this message
Auteur: Mike Grice
Datum:  
Aan: Stevan Popovic
CC: exim-users
Onderwerp: Re: [exim] unable to route localhost email but everything else is ok!
On 11 Aug 2005, at 10:00, Stevan Popovic wrote:

>
> Opps should have given a bit more info.
>
> domainlist local_domains = @ : nikken.co.uk
>
> dnslookup:
> driver = dnslookup
> domains = +local_domains
> transport = remote_smtp
> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8


This is your problem. The dnslookup router, as shipped, IS your
remote domains router. This means that you route remote domains
before local ones. What you have done is alter the dnslookup router
to only act for local domains (by removing the ! before
+local_domains). If this is what you want, and beefcake is the local
machine (e.g., there are mailboxes on this local machine that you are
delivering to), then you will need 'self = send' in the dnslookup
router above. You'd also have to remove the 127.0.0.0/8 from the
ignore_target_hosts section.

I think you may be confused by Exim's definition of 'local'. A local
domain is one where delivery is handled on the box itself, and a
remote domain is one where it is passed to another MTA. If you want
to route mail to your exchange server (which may or may not be on
your local LAN), this will be a remote delivery.

You would probably be better off smarthosting your exchange traffic
to the box with something like this:

smarthost:
     driver = manualroute
     domains = your.exchange.domain
     transport = remote_smtp
     ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
     route_list = * your.exchange.server;


dnslookup:
     driver = dnslookup
     domains = ! +local_domains
     transport = remote_smtp
     ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8


<snipped>

Cheers,
Mike

--
| Mike Grice                  Broadband Solutions for
| Systems Engineer                  Home & Business @
| PlusNet plc.                           www.plus.net

+ ----- PlusNet - The smarter way to broadband ------