From: Evelyn Pichler
I am using courier as an MTA for quite a while now. Works nicely!
Now a friend got himself one of this root servers and I suggested
to him to use courier for his pop3 boxes and for everything else.
I am looking for an easy method for him to create users on his box.
He just needs virtual mail users, that do nothing else but mail. I
don't think that can be done with webadmin or?
I have a Perl script that handles most of the account/domain
administration for simple virtual addresses.
It expects userdb and maildrop. The script is able to do the
following:
- Create email accounts
- Automatically create domains if needed
(add to hosteddomains and esmtpacceptmailfor)
- Change passwords (specified or random generation)
- Set/remove quotas
- Set/remove forwarding
(as long as the .mailfilter does nothing else)
- Delete email accounts
- Delete domains
- List information on specific accounts or entire domains
(account names, quotas, current size, forwarding)
- The delete actions show the current state and prompt for
confirmation before continuing.
At the moment, the script makes several assumptions about the
locations of the accounts, the uid/gid to create them with, the
location of the courier config files, etc. If there is interest, I can
clean up the script and make it available.
Bowie