bullmail/script/dovecot.conf

109 lines
2.1 KiB
Plaintext

#logging
dovecot_config_version = 2.4.1
dovecot_storage_version = 2.4.1
auth_mechanisms = plain login
auth_username_format = %{user | username | lower }
#auth_verbose = yes
#auth_debug = yes
#mail_debug = yes
#log_path = /var/log/dovecot.log
protocol imap {
ssl = yes
auth_allow_cleartext = yes
ssl_server_cert_file = KEY.pem
ssl_server_key_file = KEY.key
#ssl_client_ca_dir = /etc/ssl/certs
#ssl_dh = </usr/share/dovecot/dh.pem
ssl_min_protocol = TLSv1.1
}
service imap-login {
inet_listener imap {
port = 143
}
inet_listener imap_alt {
port = 1143
}
inet_listener imaps {
port = 993
ssl = yes
}
inet_listener imaps_alt {
port = 1993
ssl = yes
}
}
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0660
user = postfix
group = postfix
}
}
mail_driver = maildir
mail_path = ~/Maildir
mailbox_list_layout = fs
mail_privileged_group = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext
namespace inbox {
inbox = yes
mail_path = ~/Maildir
prefix =
mailbox Drafts {
special_use = \Drafts
auto = subscribe
}
mailbox Junk {
special_use = \Junk
auto = subscribe
}
mailbox Sent {
special_use = \Sent
auto = subscribe
}
mailbox Trash {
special_use = \Trash
auto = subscribe
}
}
passdb pam {
driver = pam
}
userdb passwd {
driver = passwd
}
sieve_script spam2junk {
path = /etc/dovecot/sieve/spam2junk.sieve
#sieve_global_dir = /etc/dovecot/sieve/
#sieve = file:~/sieve;active=~/.dovecot.sieve
}
protocol lmtp {
mail_plugins = sieve
postmaster_address = postmaster@__domain__
mail_fsync = optimized
}
protocol lda {
mail_plugins = sieve
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
}
protocols = imap lmtp