|
@@ -14,12 +14,16 @@ login_log_format_elements = "user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k"
|
|
|
mail_home = /var/vmail/%d/%n
|
|
|
mail_location = maildir:~/
|
|
|
mail_plugins = quota acl zlib listescape #mail_crypt
|
|
|
-ssl_protocols = !SSLv3
|
|
|
+# Dovecot 2.2
|
|
|
+#ssl_protocols = !SSLv3
|
|
|
+# Dovecot 2.3
|
|
|
+ssl_min_protocol = TLSv1
|
|
|
ssl_prefer_server_ciphers = yes
|
|
|
ssl_cipher_list = EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA256:EECDH:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!IDEA:!ECDSA:kEDH:CAMELLIA128-SHA:AES128-SHA
|
|
|
+# Default in Dovecot 2.3
|
|
|
ssl_options = no_compression
|
|
|
-# Automatically regenerates every week
|
|
|
-ssl_dh_parameters_length = 2048
|
|
|
+# New in Dovecot 2.3
|
|
|
+ssl_dh=</etc/ssl/mail/dhparams.pem
|
|
|
log_timestamp = "%Y-%m-%d %H:%M:%S "
|
|
|
recipient_delimiter = +
|
|
|
auth_master_user_separator = *
|
|
@@ -260,6 +264,7 @@ plugin {
|
|
|
sieve_pipe_bin_dir = /usr/local/lib/dovecot/sieve
|
|
|
sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute
|
|
|
sieve_max_script_size = 1M
|
|
|
+ sieve_max_redirects = 30
|
|
|
sieve_quota_max_scripts = 0
|
|
|
sieve_quota_max_storage = 0
|
|
|
listescape_char = "\\"
|