scripts/email_account
Thomas Preud'homme 3110ed1288 [email_account] Adapt to new mail config on adagio
Remove useless code from email_account considering the change of
configuration for the mail system on adagio:
* No need to twiddle cyrus and restart it to connect to cyradm, just
  stop using --auth
* No default domain anymore (thus no special casing for it)
* No file listing current valid emails
2013-02-10 19:03:56 +01:00
..
README [email_account] Add GPL header and README 2010-01-25 14:43:13 +01:00
TODO [email_account] Update TODO 2010-01-29 15:56:58 +01:00
email_account [email_account] Adapt to new mail config on adagio 2013-02-10 19:03:56 +01:00

README

email_account is a helper to create e-mail accounts in a configuration
using Postfix mail transport agent with vhosts and Cyrus IMAP server, in
a Debian environment.

It allows to simply create an e-mail account and an alias for it in one
command:
 email_account me@mydomain.org my.evil.double@mydomain.org

If you don't want an alias, you can just create the account:
 email_account me@mydomain.org

You can also create an alias for an existing account:
 email_account me@mydomain.org my.clone@mydomain.org

To use this script, you have to be root, or to be able to execute
commands with root privileges through sudo.
You should install it in a directory within the PATH of the root user,
such as /usr/local/sbin.