scripts/email_account
Thomas Preud'homme ea0213d482 Look for cyrus password in /root/passwords
Change the place to look for cyrus password:
  /root/passwords/cyrus_main_admin_password instead of
  /root/cyrus_main_admin_password
2011-02-05 17:49:33 +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 Look for cyrus password in /root/passwords 2011-02-05 17:49:33 +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.