So, would the optimal set up be:
Set the whole "/home/vmail/domain/user" as the home directory (all would
be owned by the vmail users, since none of these ppl will have OS
accounts), and leave maildir/defaultdelivery options default
??
If so, you may want to add this to the FAQ, because anyone who read any
postfix virtual user documents will probably mess this up like I did...
Thanks,
Keith
Sam Varshavchik wrote:
Keith J Paulson writes:
Code in authmysqllib.c is:
maildir_field=read_env(service && strcmp(service, "courier")==0
? "MYSQL_DEFAULTDELIVERY"
: "MYSQL_MAILDIR_FIELD");
This seems to be telling me I need to set the defaultdelivery....but
to what?
To wherever you will find the account's default mailbox.
Or should my home be set to '/home/vmail/domain/user'?
What you should do is set the home directory field to, well, a home
directory for the account, which contains, amongst other things
$HOME/Maildir, which would be the account's mailbox, which will happen
to be the default location for mailboxes.
By trying to come up with some odd setup where all your accounts share
the same home directory, but a different mailbox, you're just making
things more complicated than they need to be, and you will gain
absolutely nothing for it. When, later, you perhaps decide to begin
using maildrop, and mail filtering, you will be for a shock to
discover that you can't use individual maildrop recipes if everyone's
home directory is the same.