52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
# Some general options
|
|
protocols = imap pop3 sieve
|
|
disable_plaintext_auth = yes
|
|
ssl = yes
|
|
#ssl_cert = </etc/ssl/certs/ssl-mail.pem
|
|
#ssl_key = </etc/ssl/private/ssl-mail.key
|
|
ssl_cert = </etc/letsencrypt/live/ketrenos.com/fullchain.pem
|
|
ssl_key = </etc/letsencrypt/live/ketrenos.com/privkey.pem
|
|
ssl_cipher_list = ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM
|
|
mail_location = maildir:~/Maildir
|
|
#auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
|
|
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.@
|
|
|
|
# IMAP configuration
|
|
protocol imap {
|
|
mail_max_userip_connections = 10
|
|
imap_client_workarounds = delay-newmail
|
|
}
|
|
|
|
# POP3 configuration
|
|
protocol pop3 {
|
|
mail_max_userip_connections = 10
|
|
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
|
|
}
|
|
|
|
# LDA configuration
|
|
protocol lda {
|
|
# postmaster_address = james_postmaster@ketrenos.com
|
|
mail_plugins = sieve
|
|
quota_full_tempfail = yes
|
|
deliver_log_format = msgid=%m: %$
|
|
rejection_reason = Your message to <%t> was automatically rejected:%n%r
|
|
}
|
|
|
|
# Plugins configuration
|
|
plugin {
|
|
sieve=~/.dovecot.sieve
|
|
sieve_dir=~/sieve
|
|
}
|
|
|
|
# Authentication configuration
|
|
auth_mechanisms = plain login
|
|
|
|
service auth {
|
|
# Postfix smtp-auth
|
|
unix_listener /var/spool/postfix/private/dovecot-auth {
|
|
mode = 0660
|
|
user = postfix
|
|
group = postfix
|
|
}
|
|
}
|