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 }
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 18 Aug 2014, Thomas Witt wrote:> 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. > > plugin { > antispam_backend = mailtrain > antispam_mail_notspam = --ham > antispam_mail_sendmail = /usr/bin/sa-learn > antispam_mail_spam = --spam > antispam_spam = Junk > antispam_trash = TrashAs far as I know sa-learn requires a filename at command line, therefore http://wiki2.dovecot.org/Plugins/Antispam spools the message to a file before. Could you try this script? Maybe you can use "-" as filename or something like that. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBU/H8i3z1H7kL/d9rAQL4ewgAlewIw7llu2K7zvR5gUs10iiaT40Y2/IS TKTA38N+96zsyUZ2xfHvEGVKs8zQ/fvfOp+nyY8Qi9Jp423nz0D4rtl9AsOr6orf BuWF+twDHC0dfruH0Z/TQNSFsJvR3eITnP7Yd9SFHX9MQ2q+8tR2p2JT8Rx3V4iL +iEwT4/kfUygALP9V3JOWDsWKgGcAOnEnlEHR3KvOOIk/gsz5W/ZpleUDx5hqAyp 1RDq8raXLQ43IflJtlVwPpik0ZuPfs9mYgMJZm5/62P+nko9sFfYGhKww5eadFZM +bbV2EDHAVncK6h68cdYA79Scv5s3LCd5Bat4EG4tuNzm0mcH0Z+5A==G8lf -----END PGP SIGNATURE-----