20-lmtp.conf.erb 734 B

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