[afnog] exim cannot chdir to Maildir when with userdb

Brian Candler B.Candler at pobox.com
Fri Jul 14 20:45:41 EAT 2006


On Fri, Jul 14, 2006 at 06:01:01PM +0100, Fisayo Adeleke wrote:
> [root at spider exim]# LOG: MAIN
>   == user at domain.com R=courier T=local_delivery_courier defer (13): Permission
> denied: cannot chdir to /usr/exim/mailusersdb/s/domain.com/user/Maildir/

First thing is to check the obvious. Show the output of:

ls -ld /usr
ls -ld /usr/exim
ls -ld /usr/exim/mailusersdb
ls -ld /usr/exim/mailusersdb/s
ls -ld /usr/exim/mailusersdb/s/domain.com
ls -ld /usr/exim/mailusersdb/s/domain.com/user
ls -ld /usr/exim/mailusersdb/s/domain.com/user/Maildir

If you can 'su' to the exim user, that's another approach (i.e. you can try
to cd into each of these directories yourself)

Also, make sure you don't have two users called 'exim' in the passwd file
with different uids, or two groups called 'exim' in the groups file with
different gids.

Regards,

Brian.



More information about the afnog mailing list