0955b17ecd26b93cb0acf292600bc0374b14bf50
[distro-setup] / filesystem / etc / dovecot / conf.d / 20-lmtp.conf
1 ##
2 ## LMTP specific settings
3 ##
4
5 # Support proxying to other LMTP/SMTP servers by performing passdb lookups.
6 #lmtp_proxy = no
7
8 # When recipient address includes the detail (e.g. user+detail), try to save
9 # the mail to the detail mailbox. See also recipient_delimiter and
10 # lda_mailbox_autocreate settings.
11 #lmtp_save_to_detail_mailbox = no
12
13 # Verify quota before replying to RCPT TO. This adds a small overhead.
14 #lmtp_rcpt_check_quota = no
15
16 # Which recipient address to use for Delivered-To: header and Received:
17 # header. The default is "final", which is the same as the one given to
18 # RCPT TO command. "original" uses the address given in RCPT TO's ORCPT
19 # parameter, "none" uses nothing. Note that "none" is currently always used
20 # when a mail has multiple recipients.
21 #lmtp_hdr_delivery_address = final
22
23 protocol lmtp {
24 # Space separated list of plugins to load (default is global mail_plugins).
25 #mail_plugins = $mail_plugins
26
27 #ian: added this, per https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration
28 mail_plugins = $mail_plugins sieve
29
30
31 # ian: added this, based on errors and some googling.
32 # Exim says something like "LMTP error after RCPT ... 550 ... User doesn't exist someuser@somedomain"
33 # Dovecot verbose log says something like "auth-worker(9048): passwd(someuser@somedomain): unknown user"
34 # reference: http://wiki.dovecot.org/LMTP/Exim
35 auth_username_format = %Ln
36 }