antispam plugin crash
Steffen Kaiser
skdovecot at smail.inf.fh-brs.de
Mon Aug 18 13:15:54 UTC 2014
-----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 = Trash
As 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-----
More information about the dovecot
mailing list