-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 21 Aug 2015, Guillaume Lakano - DOVECOT wrote:
Aug 20 20:21:14 mail imap: antispam: running mailtrain backend program /usr/bin/sa-learn Aug 20 20:21:14 mail imap: antispam: running mailtrain backend program /usr/bin/sa-learn Aug 20 20:21:14 mail imap: antispam: running mailtrain backend program parameter 1 -D --username=guillaume.XXXX@mydomain.com Aug 20 20:21:14 mail imap: antispam: running mailtrain backend program parameter 2 --spam Aug 20 20:21:16 mail imap: antispam: run program failed with exit code -1
- -1 usually means exec() failed, that is:
/usr/bin/sa-learn does not exist or the process thinks so at least.
Do you have SELinux active? http://wiki2.dovecot.org/WhyDoesItNotWork near the end.
If this does not help, add a wrapper script in your config and check if the script is called at least
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVdcz83z1H7kL/d9rAQKTywf/dhX5NOxUTjLQXIVAI+iOyyvLuncrG4q1 B3HMhGhRjAfGX5nvJnzSI+YFn/PTaZyrs1B8gjaNz4VyW54GcSqUiycG3NZGAv6x uLd1cjIY9UFVl2VB1uyUitVWmioNrsXzq07I5iKf9XT6h4B0XyIVCKHCWt7t9vCc HesPN+Eu6fFSRXNeP1u8Qded/iyAD4Qd/AodIBwcO1gSNgjMhrDF9phYJZHFudLZ HlMvC2SOPB3TDNUdYqdK2ZDS8v7zN6wsKrxEQorWGoqv1vRDRBczm7h+oTSmI0T9 sMo/lHtrWY19As4t9ghr3sBjpwHr+fcQnV3gAkk+x9qHCCKxjT68gw== =Hfaj -----END PGP SIGNATURE-----