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 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.
Graeme