From 2673f771d9dd5db6873621869f0a45c072423465 Mon Sep 17 00:00:00 2001 From: Otthorn Date: Wed, 3 Feb 2021 20:18:46 +0100 Subject: [PATCH] Enable Dovecot sieve --- roles/dovecot/templates/conf.d/20-lmtp.conf | 31 +++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 roles/dovecot/templates/conf.d/20-lmtp.conf diff --git a/roles/dovecot/templates/conf.d/20-lmtp.conf b/roles/dovecot/templates/conf.d/20-lmtp.conf new file mode 100644 index 0000000..4d40470 --- /dev/null +++ b/roles/dovecot/templates/conf.d/20-lmtp.conf @@ -0,0 +1,31 @@ +# {{ ansible_managed }} +# Dovecot configuration for Aurore +# More info at https://gitea.auro.re/Aurore/ansible +# And on the Dovecot wiki : https://doc.dovecot.org/ + +## +## LMTP specific settings +## + +# Support proxying to other LMTP/SMTP servers by performing passdb lookups. +#lmtp_proxy = no + +# When recipient address includes the detail (e.g. user+detail), try to save +# the mail to the detail mailbox. See also recipient_delimiter and +# lda_mailbox_autocreate settings. +#lmtp_save_to_detail_mailbox = no + +# Verify quota before replying to RCPT TO. This adds a small overhead. +#lmtp_rcpt_check_quota = no + +# Which recipient address to use for Delivered-To: header and Received: +# header. The default is "final", which is the same as the one given to +# RCPT TO command. "original" uses the address given in RCPT TO's ORCPT +# parameter, "none" uses nothing. Note that "none" is currently always used +# when a mail has multiple recipients. +#lmtp_hdr_delivery_address = final + +protocol lmtp { + # Space separated list of plugins to load (default is global mail_plugins). + mail_plugins = $mail_plugins sieve +}