Wednesday, February 12, 2014

qmail - deferral: Unable_to_chdir_to_maildir._(#4.2.1)

If you see this error message in your qmail log:

@4000000052fbaef611d5c1fc starting delivery 1634676: msg 3638690 to local user@user.com
@4000000052fbaef611d5e90c status: local 1/10 remote 0/60
@4000000052fbaef611e7ee54 delivery 1634676: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
@4000000052fbaef611e82cd4 status: local 0/10 remote 0/60

This is probably due to a missing or badly permissioned directory.

If you are using vpopmail, you should check the directory and its sub directories.
/home/vpopmail
/home/vpopmail/domains
/home/vpopmail/domains/user.com/
/home/vpopmail/domains/user.com/user/
/home/vpopmail/domains/user.com/user/Maildir
/home/vpopmail/domains/user.com/user/Maildir/new

Make sure the ownership is:
vpopmail:vchkpw

If all the ownships are correct and the error still remains. Try to create a .qmail-user file with the following content:
./user/Maildir/

No comments: