[exim] Message delivery when home directory does not exist

2007-08-08 Thread Chris Hills
Hi The server is running CentOS 5 with exim-4.63-3.el5 and dovecot-1.0-1.2.rc15.el5. The relevant configuration is as follows:- [routers] localuser: driver = accept check_local_user local_part_suffix = +* local_part_suffix_optional # transport = local_delivery transport =

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

2007-08-08 Thread Graeme Fowler
On Wed, 2007-08-08 at 10:58 +0100, Chris Hills wrote: [routers] localuser: driver = accept check_local_user See 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

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

2007-08-08 Thread Graeme Fowler
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

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

2007-08-08 Thread Chris Hills
Graeme Fowler wrote: 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

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

2007-08-08 Thread Chris Hills
For now I have changed the router as follows and this seems to work ok:- localuser: driver = accept check_local_user local_part_suffix = +* local_part_suffix_optional transport = dovecot_delivery transport_home_directory = /tmp cannot_route_message = Unknown user # stat

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

2007-08-08 Thread Nigel Wade
Graeme Fowler wrote: 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

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

2007-08-08 Thread Chris Hills
Nigel Wade wrote: As part of the user registration I send a welcome message, and delivery of this message creates the initial home and Maildir directories. Without this the POP/IMAP daemon throws a wobbly due to the missing home directory. On a side note, our current production email