|
@@ -3,14 +3,18 @@
|
|
|
##
|
|
|
|
|
|
# Support proxying to other LMTP/SMTP servers by performing passdb lookups.
|
|
|
-#lmtp_proxy = no
|
|
|
+<%= Dovecot::Conf.attribute(@conf, 'lmtp_proxy', false) %>
|
|
|
|
|
|
# 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
|
|
|
+<%= Dovecot::Conf.attribute(@conf, 'lmtp_save_to_detail_mailbox', false) %>
|
|
|
|
|
|
+<% if @protocols['lmtp'].kind_of?(Hash) and @protocols['lmtp'].length > 0 -%>
|
|
|
+<%= Dovecot::Conf.protocol('lmtp', @protocols['lmtp']) %>
|
|
|
+<% else -%>
|
|
|
protocol lmtp {
|
|
|
# Space separated list of plugins to load (default is global mail_plugins).
|
|
|
#mail_plugins = $mail_plugins
|
|
|
}
|
|
|
+<% end -%>
|