diff options
author | Bryan Newbold <bnewbold@archive.org> | 2019-01-16 13:24:08 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2019-01-16 13:24:30 -0800 |
commit | 427427ec3bcb58eadaa9c62477f70a5f3c6f39e0 (patch) | |
tree | cf3e6030e2cfd158bf118965ffd79b44bba40ba9 /roles/mailserver/templates/etc_dovecot_conf.d_15-lda.conf.j2 | |
parent | 619285adf88d3ea78a1501108888d0d2d23d0a06 (diff) | |
download | infra-427427ec3bcb58eadaa9c62477f70a5f3c6f39e0.tar.gz infra-427427ec3bcb58eadaa9c62477f70a5f3c6f39e0.zip |
mailserver role
Diffstat (limited to 'roles/mailserver/templates/etc_dovecot_conf.d_15-lda.conf.j2')
-rw-r--r-- | roles/mailserver/templates/etc_dovecot_conf.d_15-lda.conf.j2 | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/roles/mailserver/templates/etc_dovecot_conf.d_15-lda.conf.j2 b/roles/mailserver/templates/etc_dovecot_conf.d_15-lda.conf.j2 new file mode 100644 index 0000000..b464365 --- /dev/null +++ b/roles/mailserver/templates/etc_dovecot_conf.d_15-lda.conf.j2 @@ -0,0 +1,48 @@ +## +## LDA specific settings (also used by LMTP) +## + +# Address to use when sending rejection mails. +# Default is postmaster@<your domain>. +postmaster_address = postmaster@{{domain}} + +# Hostname to use in various parts of sent mails, eg. in Message-Id. +# Default is the system's real hostname. +hostname = {{ mail_server_hostname }} + +# If user is over quota, return with temporary failure instead of +# bouncing the mail. +#quota_full_tempfail = no + +# Binary to use for sending mails. +#sendmail_path = /usr/sbin/sendmail + +# If non-empty, send mails via this SMTP host[:port] instead of sendmail. +#submission_host = + +# Subject: header to use for rejection mails. You can use the same variables +# as for rejection_reason below. +#rejection_subject = Rejected: %s + +# Human readable error message for rejection mails. You can use variables: +# %n = CRLF, %r = reason, %s = original subject, %t = recipient +#rejection_reason = Your message to <%t> was automatically rejected:%n%r + +# Delimiter character between local-part and detail in email address. +#recipient_delimiter = + + +# Header where the original recipient address (SMTP's RCPT TO: address) is taken +# from if not available elsewhere. With dovecot-lda -a parameter overrides this. +# A commonly used header for this is X-Original-To. +#lda_original_recipient_header = + +# Should saving a mail to a nonexistent mailbox automatically create it? +#lda_mailbox_autocreate = no + +# Should automatically created mailboxes be also automatically subscribed? +#lda_mailbox_autosubscribe = no + +protocol lda { + # Space separated list of plugins to load (default is global mail_plugins). + mail_plugins = $mail_plugins sieve +} |