diff options
author | 2024-08-23 04:42:05 +0100 | |
---|---|---|
committer | 2024-08-23 16:52:20 +0100 | |
commit | 1940d0e81cf5ef9374010a6502f353b3232855c2 (patch) | |
tree | 202f7942ace8d784993ff742dd5dfbdcec97288b | |
parent | Separate userdb homedir and maildir for sieve support (diff) |
Add LMTP config to enable Sieve
-rw-r--r-- | ansible/roles/dovecot/templates/configs/20-lmtp.conf.j2 | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/ansible/roles/dovecot/templates/configs/20-lmtp.conf.j2 b/ansible/roles/dovecot/templates/configs/20-lmtp.conf.j2 new file mode 100644 index 0000000..08b3143 --- /dev/null +++ b/ansible/roles/dovecot/templates/configs/20-lmtp.conf.j2 @@ -0,0 +1,42 @@ +# Managed by Ansible + +## +## 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 + +# Add "Received:" header to mails delivered. +lmtp_add_received_header = yes + +# 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 + +# Workarounds for various client bugs: +# whitespace-before-path: +# Allow one or more spaces or tabs between `MAIL FROM:' and path and between +# `RCPT TO:' and path. +# mailbox-for-path: +# +# syntax. +# +# The list is space-separated. +#lmtp_client_workarounds = + +protocol lmtp { + # Space separated list of plugins to load (default is global mail_plugins). + mail_plugins = $mail_plugins sieve +} |