Tony Bibbs wrote:

>Thanks Peter, that helps!
>
>OK, so what I did was I created a user called courieruser and the
>system, for example, give it a uid of 3 and a gid of 4. I did an alter
>table on passwd so that the uid/gid default to those values and I did an
>update on the table to apply those values to any existing records.
>
>I'm assuming I need to do a maildirmake as that user to create the
>maildir.  My question (maybe this is more than I need to know) is how
>does Courier use a single maildir for multiple users. Specifically, if I
>insert a new user into the MySQL table, will the users virtual maildir
>be created automatically?
>
>--Tony
>
>On Thu, 2002-01-17 at 11:34, Peter C. Norton wrote:
>
>>You assign one real uid/gid combination(to own the maildirs, etc) and you
>>build a database (either userdb, ldap, postgres, mysql, or anything else you
>>want to program for) and use that database to authenticate users, with all
>>uid and gid set the the virtual user that you set up.  Some schema examples
>>are in the authmysql and the authpostgres documentation.
>>
>>-Peter
>>
>>On Thu, Jan 17, 2002 at 10:47:56AM -0600, Tony Bibbs wrote:
>>
>>>I'm a Courier convert and I've dug around in the installation document
>>>an can't seem to find how to configure Courier to use virtual email
>>>accounts as opposed to creating valid system accounts (I'll be using
>>>mysql authentication).  Any points of reference, gotchas, etc would be
>>>appreciated.
>>>
>>>Thanks in advance,
>>>
>>>--Tony
>>>
>>>
>>>
>>>
>>>_______________________________________________
>>>courier-users mailing list
>>>[EMAIL PROTECTED]
>>>Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>>>
>>-- 
>>The 5 year plan:
>>In five years we'll make up another plan.
>>Or just re-use this one.
>>
>>_______________________________________________
>>courier-users mailing list
>>[EMAIL PROTECTED]
>>Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>>
>
>
>
>_______________________________________________
>courier-users mailing list
>[EMAIL PROTECTED]
>Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>
No, you will have to make a new directory for each user.  I put them all 
in /home/mailusers.

So, for the addresses [EMAIL PROTECTED] and [EMAIL PROTECTED] 
 I have the following directories:

[EMAIL PROTECTED]/
[EMAIL PROTECTED]/

each of which has it's own Maildir subdirectory, where mail gets 
delivered to.  You can easly script the addition of a user into the sql 
database, and the directory creation though...



_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to