Commit Graph

8 Commits

Author SHA1 Message Date
Matteo Cypriani d42e4057c4 [email_account] Add GPL header and README 2010-01-25 14:43:13 +01:00
Thomas Preud'homme f1c6ab699b [email_account] Ask about restart after sudoing
Ask if the user is ready to restart only after performing the eventual
sudo
2010-01-20 17:14:16 +01:00
Matteo Cypriani 779c586029 [email_account] Redirect error messages to stderr 2010-01-20 16:39:46 +01:00
Matteo Cypriani 16960f727c [email_account] Fix typos in comments and echo
Some typos and English mistakes in comments and in printed messages.
Prefix error messages with "Error!".
2010-01-20 16:35:16 +01:00
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