exim-users  

Re: [exim] Custom Router/Transport Help

Dirk Linnerkamp
Sat, 13 Mar 2010 04:11:43 -0800

Hi Ryan,

Am 13.03.2010 01:53, schrieb Ryan Roegan:
> I'm trying to make a test mail server that is authorative for all domains
> and delivers all mail received to one mailbox.  I'm using debian 3, exim4
> and courier imap.
>
> I've added the router and transport below.  I would like all mail delivered
> into the sw user's mailbox.  But i get permission errors upon delivery:
>
> 2010-03-01 18:17:27 1NmHfr-0003Pz-2n<=
> r...@debian-blackhole.salesworks.comu=root P=local S=443
> 2010-03-01 18:17:27 1NmHfr-0003Pz-2n ==
> r...@debian-blackhole.salesworks.comr=sw_router T=sw_deliver defer
> (13): Permission denied: cannot chdir to
> /home/sw/Maildir

...did you set the "group" option in the routers configuration to 
exim's group?

...however if you use the 'mail' group which exim normally belongs 
to om Debian, you should add user 'sw' to the group and change 
the directory mode to 0660 instead of 0600.

...try it and report.



-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/