|
|
|
@ -85,7 +85,7 @@ service auth {
|
|
|
|
|
|
|
|
|
|
service auth-worker {
|
|
|
|
|
unix_listener auth-worker {
|
|
|
|
|
user = mail
|
|
|
|
|
user = dovecot
|
|
|
|
|
group = mail
|
|
|
|
|
mode = 0660
|
|
|
|
|
}
|
|
|
|
@ -97,7 +97,7 @@ service auth-worker {
|
|
|
|
|
###############
|
|
|
|
|
|
|
|
|
|
protocol imap {
|
|
|
|
|
mail_plugins = $mail_plugins imap_quota
|
|
|
|
|
mail_plugins = $mail_plugins imap_quota antispam
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
service imap-login {
|
|
|
|
@ -147,4 +147,12 @@ plugin {
|
|
|
|
|
sieve_default = /var/lib/dovecot/default.sieve
|
|
|
|
|
sieve_after = /var/lib/dovecot/after.sieve
|
|
|
|
|
sieve_extdata_dict_uri = proxy::sieve
|
|
|
|
|
|
|
|
|
|
antispam_backend = mailtrain
|
|
|
|
|
antispam_spam = Junk
|
|
|
|
|
antispam_trash = Trash
|
|
|
|
|
antispam_mail_sendmail = /usr/bin/rspamc
|
|
|
|
|
antispam_mail_spam = learn_spam
|
|
|
|
|
antispam_mail_notspam = learn_ham
|
|
|
|
|
antispam_mail_sendmail_args = -h;antispam:11334;-P;q1
|
|
|
|
|
}
|
|
|
|
|