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.

So I have to set in Postfix:

dspam-retrain_time_limit = 30

to force disconnection (and return a DSN).
Really I would like that dspamc could trap the invalid signature state
and that it could terminate as it does when signature exists.
Do I have to configure dspam in other way to force exit for invalid signature?

dspamc run remote from dspam:

ClientHost     10.10.10.10
ClientPort     20029
ClientIdent    "dsjkfhsdjk...@submit.test.it"

Thanks a lot
Marco


------------------------------------------------------------------------------
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

Reply via email to