Rename puppet's Dovecot 2 config from 99-local.conf to 98-puppet.conf
to make room for local fileserver file 99-local.conf
This commit is contained in:
parent
95fe49abe7
commit
17570b8e36
2 changed files with 3 additions and 3 deletions
38
dovecot/templates/puppet.conf.erb
Normal file
38
dovecot/templates/puppet.conf.erb
Normal file
|
@ -0,0 +1,38 @@
|
|||
|
||||
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
|
||||
<% end -%>
|
||||
|
||||
<% if has_variable=('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" -%>
|
||||
mail_plugins = $mail_plugins zlib
|
||||
plugin {
|
||||
zlib_save_level = 1 # 1..9
|
||||
zlib_save = gz # or bz2
|
||||
}
|
||||
<% end -%>
|
||||
|
||||
mail_location = <%= dovecot_mailbox_format %>:~/imapmail/
|
||||
|
||||
namespace {
|
||||
separator = /
|
||||
list = yes
|
||||
}
|
||||
|
||||
namespace {
|
||||
separator = /
|
||||
prefix = "#mbox/"
|
||||
location = mbox:~/imapinbox/:INBOX=/var/mail/%u
|
||||
inbox = yes
|
||||
hidden = yes
|
||||
list = no
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue