## ## 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 #ian: added this, per https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration mail_plugins = $mail_plugins sieve # For a normal setup, we need something like this, which # removes the domain part # auth_username_format = %Ln # # or else # Exim says something like # "LMTP error after RCPT ... 550 ... User doesn't exist someuser@somedomain" # Dovecot verbose log says something like # "auth-worker(9048): passwd(someuser@somedomain): unknown user" # reference: http://wiki.dovecot.org/LMTP/Exim # # However, I use this to direct all mail to the same inbox. # A more normal way to do this, which I did at first is to have # a router in exim almost at the end, eg 950, #local_catchall: # debug_print = "R: catchall for $local_part@$domain" # driver = redirect # domains = +local_domains # data = ian # based on # http://blog.alteholz.eu/2015/04/exim4-and-catchall-email-address/ # with superflous options removed. # However, this causes the envelope to be rewritten, # which makes filtering into mailboxes a little less robust or more complicated, # so I've done it this way instead. it also requires # modifying the local router in exim. # auth_username_format = ian }