On Friday 17 October 2003 08:44, Thomas wrote:
For the home and mail directories I use the same
entries "/home/mailboxes/mydomain.xx/user. In each user's account I ran
"maildirmake Maildir" and changed the ownership of the entire mailbox/*
tree to daemon:daemon
I think this might be your problem. If you set "mail" and "home" to be
"/home/mailboxes/mydomain.xx/user" then courier expects the "user" directory
to be a maildir where it can deliver mail. But it's not a maildir. The
maildir you created is called Maildir and is inside the HOME directory.
Either change the "mail" attribute to be
"/home/mailboxes/mydomain.xx/user/Maildir" or remove it completely if you are
using maildrop. Then rerun makeuserdb and see if it works.
FYI, the "mail" attribute over-rides other delivery instructions so it will
over-ride any maildrop filtering that you try and do. So if you are using
maildrop then remove the "mail" attribute and just leave the "home" as it
was. You also might want to make sure that the file "maildirfilterconfig"
exits in the courier 'etc' directory and has
MAILDIRFILTER=../.mailfilter
MAILDIR=./Maildir
in it. These might be the default values and so you don't need them but it
doesn't hurt. This will make sure that maildrop knows that the maildir is
called "Maildir" and is in the HOME directory.