Le dimanche 10 avril 2011 à 13:54:35 (+0200 CEST), Julien Valroff a écrit :
> It works fine from the command line but for unknown reason, I cannot make it
> work with postfix pipe (and I've deleted the spam I wanted to test with by
> error…).
[...]
> dspam-retrain unix - n n - - pipe
> flags=Ru user=dspam argv=/usr/local/bin/dspam-retrain-forward.pl
> --headers-only=yes --bodies-only=no --client --mode=teft --class=${nexthop}
> --source=error --user ${sender}
> -o
> smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
> -o mynetworks=127.0.0.1
It now works fine - I had to remove the smtpd_recepient_restrictions. I
still do not understand why as I used the same for my previous retrain
transport (which called dspamc directly).
Thanks Stevan for this script, it suits my needs perfecty.
Should you state the license, I could ship it with the Debian package.
Cheers,
Julien
--
.''`. Julien Valroff ~ <[email protected]> ~ <[email protected]>
: :' : Debian Developer & Free software contributor
`. `'` http://www.kirya.net/
`- 4096R/ E1D8 5796 8214 4687 E416 948C 859F EF67 258E 26B1
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user