[Dovecot] dovecot + antispam plugin - no retraining

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Thu Jan 17 12:16:45 EET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 16 Jan 2013, Michael Moerz wrote:

> plugin {
>  antispam_backend = pipe

Er, this module is called "mailtrain", isn't it? At least in antispam 
changeset 50:0319240072d8. You should get an error "configured 
non-existent antispam backend: pipe"

>  antispam_mail_notspam = ham at example.org
>  antispam_mail_sendmail = /usr/sbin/sendmail

You could replace this program by a shell script to get the info, that it 
is called, e.g.:

==== /usr/local/bin/mailtrain.sh
#!/bin/bash

( date
   id -a
   echo "$@"
   /usr/sbin/sendmail "%@"
   rc=$?
   echo rc=$rc
   exit $rc
) >>/tmp/mailtrain.log 2>&1
=============

So you see, if the program is fired up and which uid is used and what 
problem sendmail had.

Kind regards,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUPfPjV3r2wJMiz2NAQL5Swf/X8UYD0PH/WG1qUp9QkzqCCaq0U33aTCU
qGy9nYAHjvaXbjv9iDOorTb9kOdX0ApkliHtGnSWTOB9aJSwltDk2Cg+AFLudZaa
UoyBE67P3XajPh4hxJ7Q/qaMDmqSnOV7W2bvMuQXe0tWgA19dppQIHCN+P0tUhva
p3UiQGShp2yCOW9lPGCrVxALyv/0IeJzNzfRjIf7bfd586HCxuNWirPRP4VQ8Dni
oz2KLIwABGlaCl5dk+d6r0OrTnln0YpHWfa2vDpOShqLN4J0AncQoDV4VBqEYUyH
HzD1SEhTHU++bVWvni7vrGPVa9LEy/4vdPzeBkHcVlbowOzn5zokoA==
=9u45
-----END PGP SIGNATURE-----


More information about the dovecot mailing list