Commit Graph

4 Commits

Author SHA1 Message Date
Matteo Cypriani d11ba705fe [email_account] Min. nb_tabs in echo_with_tabs()
In echo_with_tabs(), set the number of printed tabs to 1 if it is
evaluated to less than 1 (typically if the third parameter is too small
comparatively to the text length).
2010-01-20 16:29:07 +01:00
Thomas Preud'homme 0361541657 [email_account] call postmap after maps change
Call postmap on /etc/postfix/virtual and /etc/postfix/vmailbox after
changes has occured
2010-01-20 15:03:14 +01:00
Thomas Preud'homme 67347f7806 [email_account] postfix reload after config change
Use invoke-rc.d postfix reload instead of invoke-rc.d postfix restart
2010-01-20 15:01:31 +01:00
Thomas Preud'homme 1f0be8664b Add a script for managing email accounts
This initial version can:
- create a mailbox (cyradm)
- create a mail alias (virtual_{alias|local}_map)
- create a valid recipient for postfix ({virtual|local}_recipient_map)
- create a password for the account (saslpasswd2)
- print settings to set in the MUA to use this account
- test arguments
2010-01-20 14:53:09 +01:00