Re: [Exim] fixed the .forward error, but now i get this:

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Morgon Kanter
CC: exim-users
Subject: Re: [Exim] fixed the .forward error, but now i get this:
On Fri, 1 Nov 2002, Morgon Kanter wrote:

> Anyway I added the line:
> condition = ${if eq {$home}{/no/home/dir}{no}{yes}}
> into exim.conf under userforward like the FAQ told me to, and recreated the user using:
> adduser --home-dir /no/home/dir --no-create-home
>
> and now when I try to send mail to them, I get this message in the
> msglog directory of exim's spool:


> 2002-11-01 21:33:21 admin@??? T=local_delivery defer (2): No
> such file or directory: failed to chdir to /no/home/dir
>
> which is weird because under local_delivery it doesn't have anything
> about chdir, the only directory it has is the /var/spool
>
> Anyone know whats up?


Local deliveries always chdir to somewhere. The default is the home
directory for local users. Add

current_directory = /

to your local_delivery.

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