21 messages in net.sourceforge.lists.courier-usersRe: [courier-users] virtual email
FromSent OnAttachments
Tony BibbsJan 17, 2002 8:48 am 
Peter C. NortonJan 17, 2002 9:34 am 
Tony BibbsJan 17, 2002 10:03 am 
SysopJan 17, 2002 10:05 am 
SysopJan 17, 2002 10:24 am 
cour...@kaiserdigital.comJan 17, 2002 10:40 am 
Peter C. NortonJan 17, 2002 11:13 am 
Peter C. NortonJan 17, 2002 11:30 am 
SysopJan 17, 2002 11:43 am 
Roland SchneiderJan 17, 2002 12:33 pm 
Johannes ErdfeltJan 17, 2002 12:59 pm 
cour...@kaiserdigital.comJan 17, 2002 1:08 pm 
Randy Lewis (Kenneth R. Lewis)Jan 17, 2002 1:51 pm 
Roland SchneiderJan 17, 2002 3:00 pm 
Rich BuggyJan 17, 2002 3:32 pm 
Sam VarshavchikJan 17, 2002 3:47 pm 
cour...@kaiserdigital.comJan 17, 2002 3:55 pm 
Roland SchneiderJan 18, 2002 5:31 am 
Randy Lewis (Kenneth R. Lewis)Jan 18, 2002 6:46 am 
Roland SchneiderJan 18, 2002 7:39 am 
Randy Lewis (Kenneth R. Lewis)Jan 18, 2002 8:29 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 emailActions...
From:Sysop (sys@foolclan.com)
Date:Jan 17, 2002 10:24:52 am
List:net.sourceforge.lists.courier-users

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?

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.

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,

No, you will have to make a new directory for each user. I put them all in /home/mailusers.

So, for the addresses host@j2solutions.net and des@j2solutoins.net I have the following directories:

/home/mailusers/host@j2solutions.net/ /home/mailusers/des@j2solutions.net/

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...