3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Virtual Users wit...
FromSent OnAttachments
Keith J PaulsonMar 22, 2005 10:12 am 
Sam VarshavchikMar 22, 2005 3:41 pm 
Keith J PaulsonMar 23, 2005 6:55 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Virtual Users with authdaemon.mysql and maildirActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Mar 22, 2005 3:41:28 pm
List:net.sourceforge.lists.courier-users

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.