Re: [exim] Can't understand why "no more routers"

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jason Lixfeld
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Can't understand why "no more routers"

On 1-Jul-06, at 11:42 AM, Magnus Holmgren wrote:

> The virtual_user router is indeed considered, but skipped because the
> precondition fails. Judging from the output format you're running
> exim -bh,
> which doesn't print anything for routers where the preconditions
> fail. You
> need to add a -d parameter to get more output and to see any
> debug_print
> strings.


Ok, thanks for the tip to add the -d option. Doing so, I now see
that it can't jlixfeld.example.ca is not seen as a local user.

--------> virtual_user router <--------
local_part=jlixfeld.example.ca domain=mail.example.ca
checking for local user
virtual_user router skipped: jlixfeld.example.ca is not a local user
no more routers
----------- end verify ------------

However:

# id jlixfeld.example.ca
uid=2000(jlixfeld.example.ca) gid=2001(jlixfeld.example.ca)
groups=2001(jlixfeld.example.ca), 2000(example.ca)
ricky#

Is there some other method that check_local_user uses to determine
true or false? The spec says it uses getpwnam() which is good
because system users such as that are read from LDAP on my system.
Since the 'id' above returned the expected user information, it would
seem getpwnam() is doing it's job, so what else am I missing here?