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.



-- This email may contain information that is privileged, confidential or otherwise protected from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any review, dissemination, distribution, or copying of this communication or attachments herein is strictly prohibited. If you have received this communication in error, please reply to this email notifying the sender of the error.



-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to