fix backup script path
[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 # For a normal setup, we need something like this, which
32 # removes the domain part
33 # auth_username_format = %Ln
34 #
35 # or else # Exim says something like
36 # "LMTP error after RCPT ... 550 ... User doesn't exist someuser@somedomain"
37 # Dovecot verbose log says something like
38 # "auth-worker(9048): passwd(someuser@somedomain): unknown user"
39 # reference: http://wiki.dovecot.org/LMTP/Exim
40 #
41 # However, I use this to direct all mail to the same inbox.
42 # A more normal way to do this, which I did at first is to have
43 # a router in exim almost at the end, eg 950,
44 #local_catchall:
45 # debug_print = "R: catchall for $local_part@$domain"
46 # driver = redirect
47 # domains = +local_domains
48 # data = ian
49 # based on
50 # http://blog.alteholz.eu/2015/04/exim4-and-catchall-email-address/
51 # with superflous options removed.
52 # However, this causes the envelope to be rewritten,
53 # which makes filtering into mailboxes a little less robust or more complicated,
54 # so I've done it this way instead. it also requires
55 # modifying the local router in exim.
56 #
57 auth_username_format = ian
58 }