### transport/30_stalag13-dovecot_lmtp
#################################

# Use this instead of mail_spool if you want to to deliver via dovecot ltmp
#  https://medspx.fr/blog/Debian/dovecot_sieve/
#
#
# dc_localdelivery='dovecot_lmtp' in /etc/exim4/update-exim4.conf.conf
# 
# apt install dovecot-lmtpd dovecot-sieve
# /etc/dovecot/conf.d/20-lmtp.conf:
#  lmtp_proxy = no
#  lmtp_save_to_detail_mailbox = no
#  lmtp_rcpt_check_quota = no
#  lmtp_add_received_header = no 
#  protocol lmtp {
#    # Space separated list of plugins to load (default is global mail_plugins).
#    mail_plugins = $mail_plugins sieve
#    # remove domain from user name
#    auth_username_format = %n
#  }

dovecot_lmtp:
  debug_print = "T: dovecot_lmtp for $local_part@$domain"
  driver = lmtp
  socket = /var/run/dovecot/lmtp
  #maximum number of deliveries per batch, default 1
  batch_max = 200
  # remove suffixes/prefixes
  rcpt_include_affixes = false


