sent_userinfo_postfix.sh: Add support for configuration file. Running the script must be confirmed after showing the parameter settings.

This commit is contained in:
root
2017-08-04 17:44:02 +02:00
parent 118959fab1
commit 16c22e862e
4 changed files with 232 additions and 36 deletions

View File

@ -0,0 +1,56 @@
# ----------------------------------------------------
# ---
# - Parameter Settings for script 'sent_userinfo_postfix.sh'.
# ---
# ----------------------------------------------------
# - user_info_file
# -
# - Full path to file containing the user info. If file is placed in this
# - configuration directory use '${conf_dir}/<file-name'
# -
# - See sent_userinfo_postfix.email.sample
# -
# - Defaults to '${conf_dir}/conf/sent_userinfo_postfix.email'
# -
#user_info_file="${conf_dir}/conf/sent_userinfo_postfix.email"
# - email_from
# -
# - From Address of user info
# -
# - Example: 'oo@oopen.de'
# -
#email_from=""
# - email_from_org
# -
# - Example: email_from_org="O.OPEN"
# -
#email_from_org=""
# - mail_user
# -
# - The owner of the mailbox directories and within the e-mails itself.
# -
# - defaults to 'vmail'
#mail_user=vmail
# - mail_group
# -
# - The group of the mailbox directories
# -
#mail_group=vmail
# - mail_basedir - No more needed!
# -
# - The root directory where all mailbox-domains are located.
# -
# - Defaults to '/var/vmail'.
# -
#mail_basedir=/var/vmail