Re: [Exim] Newbie Config Problem

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Steve Manning
CC: exim-users
Temat: Re: [Exim] Newbie Config Problem
On 28 Sep 2002, Steve Manning wrote:

> Please find attached the configure file and below is the log excerpt for
> two attempted deliveries, one by root and one by myself (steve): -
>
>     2002-09-28 22:48:38 17vPRa-0006zp-00 <=
>     root@??? U=root P=local S=332
>     2002-09-28 22:48:39 17vPRa-0006zp-00 == steve@???
>     R=localuser T=local_delivery defer (13): Permission denied: failed
>     to chdir to /home/steve
>     2002-09-28 22:50:13 17vPT4-00070a-00 <=
>     steve@??? U=steve P=local S=389
>     2002-09-28 22:50:13 17vPT4-00070a-00 == steve@???
>     R=localuser T=local_delivery defer (13): Permission denied: failed
>     to chdir to /home/steve


Those errors are clear enough.

> Something has just clicked - is this an attempted delivery or an attempt
> to read something from the users home (like a .forward that I've just
> been reading about in the manual). The transport runs as user 'vmail'
> which I need for the courier-imap maildirs. If this is the case is there
> a way to run the transport as vmail and still access the users home dir?


Well, no, unless you make the user's home dir accessible by "vmail",
because that's the way that Unix file systems work. However, the problem
here is that by default, Exim makes the user's home directory the
current directory. Your problem will probably be solved by putting

current_directory = /

(or some other suitable directory) on the transport.

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