Re: [exim] Message delivery when home directory does not exi…

Góra strony
Delete this message
Reply to this message
Autor: Graeme Fowler
Data:  
Dla: exim-users
Temat: Re: [exim] Message delivery when home directory does not exist
On Wed, 2007-08-08 at 11:15 +0100, Graeme Fowler wrote:
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch15.html
>
> for the details of check_local_user. When it runs it tries to set $home,
> which is where yours is falling down.
>
> You probably need to define $home yourself in the router by using the
> "router_home_directory" setting, and looking the value up. That will
> then, I believe, override the (failing) $home setting from
> check_local_user and allow the router to pass the message out to dovecot
> via the appropriate transport.


Actually, that won't work either if you end up with $home trying to be a
nonexistent directory, because your error is coming inside the pipe
transport you're using for delivery.

You need to do one of:

- remove check_local_user from the transport, or
- set $home to be something which does exist, which Exim can chdir to
(like /tmp for example).
- see if you can use http://wiki.dovecot.org/HowTo/DebianStable

The first two fixes have security (and other) implications; the last one
removes the need for you to use the Dovecot delivery agent at all and
let Exim do the work.

Graeme