Options for ssl and protocols
This commit is contained in:
parent
bbe634e574
commit
7d3d409c55
|
@ -4,14 +4,17 @@
|
|||
|
||||
protocols = {{#vars.dovecot.cfg.protocols}} {{.}} {{/vars.dovecot.cfg.protocols}}
|
||||
|
||||
service imap-login {
|
||||
inet_listener imap {
|
||||
#port = 143
|
||||
}
|
||||
inet_listener imaps {
|
||||
port = 993
|
||||
ssl = yes
|
||||
}
|
||||
#service imap-login {
|
||||
# inet_listener imap {
|
||||
# #port = 143
|
||||
# }
|
||||
#
|
||||
#{{#vars.dovecot.cfg.ssl}}
|
||||
# inet_listener imaps {
|
||||
# port = 993
|
||||
# ssl = yes
|
||||
# }
|
||||
#{{/vars.dovecot.cfg.ssl}}
|
||||
|
||||
# Number of connections to handle before starting a new process. Typically
|
||||
# the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0
|
||||
|
@ -23,12 +26,14 @@ service imap-login {
|
|||
|
||||
# If you set service_count=0, you probably need to grow this.
|
||||
#vsz_limit = $default_vsz_limit
|
||||
}
|
||||
#}
|
||||
|
||||
protocol imap {
|
||||
|
||||
{{#vars.dovecot.cfg.ssl}}
|
||||
ssl_cert = <{{vars.dovecot.imap_cert}}
|
||||
ssl_key = <{{vars.dovecot.imap_key}}
|
||||
{{/vars.dovecot.cfg.ssl}}
|
||||
|
||||
# Space separated list of plugins to load (default is global mail_plugins).
|
||||
#mail_plugins = $mail_plugins
|
||||
|
@ -40,8 +45,10 @@ protocol imap {
|
|||
|
||||
protocol submission {
|
||||
|
||||
{{#vars.dovecot.cfg.ssl}}
|
||||
ssl_cert = <{{vars.dovecot.submission_cert}}
|
||||
ssl_key = <{{vars.dovecot.submission_key}}
|
||||
{{/vars.dovecot.cfg.ssl}}
|
||||
|
||||
# Space separated list of plugins to load (default is global mail_plugins).
|
||||
#mail_plugins = $mail_plugins
|
||||
|
@ -51,6 +58,15 @@ protocol submission {
|
|||
#mail_max_userip_connections = 10
|
||||
}
|
||||
|
||||
protocol lda {
|
||||
mail_plugins = $mail_plugins sieve
|
||||
}
|
||||
protocol lmtp {
|
||||
mail_plugins = $mail_plugins sieve
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
{{#vars.dovecot.cfg.userdbs}}
|
||||
userdb {
|
||||
|
|
Loading…
Reference in New Issue