[Exim] Re: Exim 4 with no home dir error

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Jay Klesitz
CC: exim-users
Subject: [Exim] Re: Exim 4 with no home dir error
On Tue, 15 Oct 2002, Jay Klesitz wrote:

> Is this all I need?
> > condition = ${if eq {$home}{/bin/false}{yes}


> This is my config. I thaught I pasted the whole condition..
>
> userforward:
> driver = redirect
> check_local_user
> condition = ${if eq {$home}{/bin/false}{yes}}
> file = $home/.forward
> no_verify
> no_expn
> check_ancestor
> # allow_filter
> file_transport = address_file
> pipe_transport = address_pipe
> reply_transport = address_reply
>
>
> exim_mainlog:
> 2002-10-15 18:52:20 181aY0-0003Na-00 == test@??? R=localuser
> T=local_delivery defer (2): No such file or directory: failed to chdir to
> /home/test


The problem is happening in the local_delivery transport, as it says in
the log line, after routing by the localuser router. This has nothing to
do with the userforward router.

You can solve the delivery problem by putting

current_directory = /

on the local_delivery router.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.