Re: [courier-users] Virtual Users with authdaemon.mysql and maildir

This is a discussion on Re: [courier-users] Virtual Users with authdaemon.mysql and maildir within the Courier-Imap forums, part of the Mail Servers and Related category; So, would the optimal set up be: Set the whole "/home/vmail/domain/user" as the home directory (...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-23-2005
Keith J Paulson
 
Posts: n/a
Default Re: [courier-users] Virtual Users with authdaemon.mysql and maildir



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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0