antispam plugin crash
Thomas Witt
lists at thwitt.de
Mon Aug 18 10:26:18 UTC 2014
On 18/08/14 09:02, Steffen Kaiser wrote:
> does it crashes all of the time or for specific messages, mailboxes,
> etc.pp? What version of Dovecot and which configuration do you use?
Dovecot version is 2.2.13. It crashes on every incoming mail as long as
the antispam plugin is activated.
Config:
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.15.6 x86_64 ext4
auth_mechanisms = plain login cram-md5
first_valid_gid = 5000
first_valid_uid = 5000
last_valid_gid = 5000
last_valid_uid = 5000
mail_debug = yes
mail_gid = 5000
mail_location = maildir:/var/vmail/%u/
mail_uid = 5000
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 ihave duplicate
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
antispam_backend = mailtrain
antispam_mail_notspam = --ham
antispam_mail_sendmail = /usr/bin/sa-learn
antispam_mail_spam = --spam
antispam_spam = Junk
antispam_trash = Trash
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
sieve_global_dir = /var/lib/dovecot/sieve/global/
sieve_global_path = /var/lib/dovecot/sieve/default.sieve
}
postmaster_address = postmaster at witt.link
protocols = imap sieve lmtp
service auth-worker {
user = $default_internal_user
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
service lmtp {
process_min_avail = 1
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = vmail
mode = 0660
user = postfix
}
}
ssl_cert = </root/cacert/link_crt.pem
ssl_key = </root/cacert/link_privatekey.pem
userdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
protocol lmtp {
hostname = witt.link
mail_plugins = " sieve"
postmaster_address = postmaster at witt.link
}
More information about the dovecot
mailing list