Updated all templates to use instance variables
This commit is contained in:
parent
a0c854d3c0
commit
dc51af1ca2
113 changed files with 527 additions and 522 deletions
|
@ -1,19 +1,19 @@
|
|||
|
||||
ssl=required
|
||||
ssl_cert = <<%= dovecot_ssl_dir %>/certs/dovecot.crt
|
||||
ssl_key = <<%= dovecot_ssl_dir %>/private/dovecot.key
|
||||
<% if has_variable?('dovecot_ssl_ca') -%>
|
||||
ssl_ca = <<%= dovecot_ssl_dir %>/certs/dovecot.ca.crt
|
||||
ssl_cert = <<%= @dovecot_ssl_dir %>/certs/dovecot.crt
|
||||
ssl_key = <<%= @dovecot_ssl_dir %>/private/dovecot.key
|
||||
<% if @dovecot_ssl_ca -%>
|
||||
ssl_ca = <<%= @dovecot_ssl_dir %>/certs/dovecot.ca.crt
|
||||
<% end -%>
|
||||
|
||||
<% if has_variable=('dovecot_mailbox_format') && dovecot_mailbox_format == "mdbox" -%>
|
||||
<% if @dovecot_mailbox_format && @dovecot_mailbox_format == "mdbox" -%>
|
||||
# mdbox settings
|
||||
mdbox_rotate_size = 10M
|
||||
mdbox_rotate_interval = 10d
|
||||
<% end -%>
|
||||
|
||||
# zlib
|
||||
<% if has_variable?('dovecot_zlib') && dovecot_zlib == "yes" -%>
|
||||
<% if @dovecot_zlib && @dovecot_zlib == "yes" -%>
|
||||
mail_plugins = $mail_plugins zlib
|
||||
plugin {
|
||||
zlib_save_level = 1 # 1..9
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue