Re: [exim] router/ing problems - I need help

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: exim users
Subject: Re: [exim] router/ing problems - I need help
On 09/06/07, Robert Cates <cates58@???> wrote:
>
> 1. Why does vdomain_aliases return 'Unknown User' even though the address
> is valid (e.g. robert@???)?


Not having access to your logs, your data files and your filesystem -
no idea. Try running exim -d -bt <address> and see if any clues
emerge.

> 2. Is system_aliases interfering with vdomain_aliases, even though
> domain1.com is not a member of my virtual domains (handled by
> vdomain_aliases)?


No

> 3. My exim log file - mainlog - never shows R=vdomain_aliases or
> R=system_aliaes, only R=userforward and R=localuser (and R=dnslookup of
> course for remote delivery). Why? I suppose it's because there's no
> transport defined.?


Because no delivery has triggered that router.

> 4. Why won't the directory_transport work in my vdomain_aliases router?


Your definition of 'work' ? Since the router is never being triggered,
I suggest you don't know anything about the transport yet.

> 5. Related to question 4 - is the localuser router required for local mail
> delivery, regardless of any previously defined router(s)?


No.

Now, looking at your router:

> data = ${expand:${lookup{$local_part}lsearch*@{/etc/exim/virtual/$domain}}}


You seem to have got over-enthusiastic with string expansion here. The
example in Chapter 47.7 of the Exim docs shows this:

> data = ${lookup{$local_part}lsearch{/etc/mail/virtual/$domain}}


Did you try that pattern?

And you probably don't need 'check_local_user' there - that's saying
'this virtual domain address must also be a system user' which is
unlikely to be useful.

Peter
--
Peter Bowyer
Email: peter@???