20-lmtp.conf.erb 713 B

1234567891011121314151617181920
  1. ##
  2. ## LMTP specific settings
  3. ##
  4. # Support proxying to other LMTP/SMTP servers by performing passdb lookups.
  5. <%= Dovecot::Conf.attribute(@conf, 'lmtp_proxy', false) %>
  6. # When recipient address includes the detail (e.g. user+detail), try to save
  7. # the mail to the detail mailbox. See also recipient_delimiter and
  8. # lda_mailbox_autocreate settings.
  9. <%= Dovecot::Conf.attribute(@conf, 'lmtp_save_to_detail_mailbox', false) %>
  10. <% if @protocols['lmtp'].kind_of?(Hash) and @protocols['lmtp'].length > 0 -%>
  11. <%= Dovecot::Conf.protocol('lmtp', @protocols['lmtp']) %>
  12. <% else -%>
  13. protocol lmtp {
  14. # Space separated list of plugins to load (default is global mail_plugins).
  15. #mail_plugins = $mail_plugins
  16. }
  17. <% end -%>