6 messages in net.sourceforge.lists.courier-usersRE: [courier-users] Auto creation of ...
FromSent OnAttachments
chester c youngSep 25, 2004 5:14 pm 
Sam VarshavchikSep 25, 2004 7:55 pm 
Arturo "Buanzo" BusleimanSep 25, 2004 8:27 pm 
Stian B. BarmenSep 26, 2004 4:13 am 
Jeff JansenSep 26, 2004 7:39 am 
Stian B. BarmenSep 28, 2004 2:41 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] Auto creation of home dir on first mail and/or logon to imap/pop3Actions...
From:Stian B. Barmen (sti@barmen.nu)
Date:Sep 28, 2004 2:41:28 am
List:net.sourceforge.lists.courier-users

OK thanks a lot, will take a look at this.

-stian

-----Original Message----- From: Randy Smith [mailto:ran@amigo.net] Sent: 27. september 2004 16:33 To: Stian B. Barmen Subject: Re: [courier-users] Auto creation of home dir on first mail and/or logon to imap/pop3

Stian B. Barmen wrote:

I am setting up a mail hosting solution with a simple SQL+PHP interface but I need to make a sudo script (kinda like quica does it) to make the users home dirs.

Could this be automated like postfix does it? When the user receives a welcome mail or at the first logon he/she will get the home dir and mail dirs automatically made.

Hope this is possible.

It depends on how you create the users I suppose. I wrote a script that creates all the supporting dirs and adds the user info to the database. It didn't make sense to me to wait to create all that stuff. (The script is available at http://sourceforge.net/projects/vuser. Get the CVS version.)

If you don't like the idea of running the script from the web page, you could write data files and have a cron script parse the files and create the accounts.