On 12/17/12 4:22 PM, Marco wrote: > Hello, > > I woud ask an help about dspamc used in pipe mode with Postfix, > the problem is in dspamc. > > I have > > dspam-retrain unix - n n - 35 pipe > flags=Rhq user=dspam argv=/usr/bin/dspamc --user dspam > --deliver=summary --class=${nexthop} --source=error > > in master.cf of Postfix, and it works as expected > when I forward to dspamc a mail with valid signature. > Dspamc accept the mail and then *close* with an output as: > > X-DSPAM-Result: demo...@test.it; result="Innocent"; class="Innocent"; > probability=0.0000; confidence=0.00; signature=5,50cf294c134723189687634 > > If a user submits a mail without signature, then in log I see: > > dspam[13472]: Unable to find a valid signature. Aborting. > dspam[13472]: process_message returned error -5. dropping message. > > This is good, but dspamc says: > > 250 2.6.0 <dspam> Message accepted for delivery: INNOCENT > > and it *wait* forever instead to terminate.
You should probably set the pipe command to "... --deliver=", specifying that no delivery is ever done when retraining. The --deliver=summary is nice for you while testing, but it has no significance to postfix. -- Tom ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user