Notes update (Auto-subsribe mailbox folder; Execution of external programs)
This commit is contained in:
@@ -150,11 +150,13 @@ step_8() {
|
|||||||
echo " }"
|
echo " }"
|
||||||
echo " }"
|
echo " }"
|
||||||
echo
|
echo
|
||||||
echo "# Auto-create Sent and Trash Folder"
|
echo "# Auto-subscribe Drafts, Sent, Junk and Trash Folder"
|
||||||
|
echo " and auto delete after 30 days"
|
||||||
echo " [/etc/dovecot/conf.d/15-mailboxes.conf]"
|
echo " [/etc/dovecot/conf.d/15-mailboxes.conf]"
|
||||||
echo " # Add \"auto = create\" to folder e.g.:"
|
echo " # Add \"auto = create\" to folder e.g.:"
|
||||||
echo " mailbox Trash {"
|
echo " mailbox Trash {"
|
||||||
echo " auto = create"
|
echo " auto = subscribe"
|
||||||
|
echo " autoexpunge = 30d"
|
||||||
echo " special_use = \\Trash"
|
echo " special_use = \\Trash"
|
||||||
echo " }"
|
echo " }"
|
||||||
echo
|
echo
|
||||||
@@ -290,14 +292,26 @@ step_25() {
|
|||||||
echo " sieve_plugins = sieve_extprograms"
|
echo " sieve_plugins = sieve_extprograms"
|
||||||
echo " sieve_user_log = file:/var/vmail/%d/%n/sieve/sieve.log"
|
echo " sieve_user_log = file:/var/vmail/%d/%n/sieve/sieve.log"
|
||||||
echo
|
echo
|
||||||
echo "# Enable excution of external programs (e.g. to send xmpp messages on certain keywords)"
|
|
||||||
echo " [$mdaConfDir/90-sieve-extprograms.conf]"
|
|
||||||
echo " sieve_execute_bin_dir = /usr/lib/dovecot/sieve-extprograms"
|
|
||||||
echo
|
|
||||||
echo "# Enable sieve for lmtp"
|
echo "# Enable sieve for lmtp"
|
||||||
echo " [$mdaConfDir/20-lmtp.conf]"
|
echo " [$mdaConfDir/20-lmtp.conf]"
|
||||||
echo " postmaster_address = postmaster@$MAS_DOMAIN"
|
echo " postmaster_address = postmaster@$MAS_DOMAIN"
|
||||||
echo " mail_plugins = $mail_plugins sieve"
|
echo " mail_plugins = $mail_plugins sieve"
|
||||||
|
echo
|
||||||
|
echo "# Enable excution of external programs (e.g. to send xmpp messages on certain keywords)"
|
||||||
|
echo " [$mdaConfDir/90-sieve-extprograms.conf]"
|
||||||
|
echo " sieve_execute_bin_dir = /usr/lib/dovecot/sieve-execute"
|
||||||
|
echo
|
||||||
|
echo "# Notes on execution of scripts"
|
||||||
|
echo " * Scripts are executed with the $MAS_VIRTUAL_USER user"
|
||||||
|
echo " * Scripts must no be writeable by others"
|
||||||
|
echo " (chown root:$MAS_VIRTUAL_USER script; chmod 750 script)"
|
||||||
|
echo " * \$HOME is set to the virtual users home"
|
||||||
|
echo " (e.g. /var/vmail/$MAS_DOMAIN/max)"
|
||||||
|
echo
|
||||||
|
echo "# Notes about sendxmpp"
|
||||||
|
echo " * .sendxmpprc resides in every virtual users home"
|
||||||
|
echo " and must be owned by $MAS_VIRTUAL_USER"
|
||||||
|
echo " (chown $MAS_VIRTUAL_USER: .sendxmpprc; chmod 700 .sendxmpprc)
|
||||||
}
|
}
|
||||||
|
|
||||||
step_50_info() { echo "Adding relay host for sending mails"; }
|
step_50_info() { echo "Adding relay host for sending mails"; }
|
||||||
|
Reference in New Issue
Block a user