[email_account] Add GPL header and README
This commit is contained in:
parent
f1c6ab699b
commit
d42e4057c4
|
@ -0,0 +1,18 @@
|
|||
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.
|
|
@ -1,4 +1,23 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# email_account, Copyright © 2010 Thomas Preud'homme
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# 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.
|
||||
|
||||
set -u
|
||||
|
||||
|
|
Loading…
Reference in New Issue