Re: [dspam-users] SOLUTION: Postfix problem with global spam alias

From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Date: Tue Nov 08 2005 - 10:09:52 EST

On Tue, 8 Nov 2005 09:46:18 -0500
"Covington, Chris" <Chris.Covington@plusone.com> wrote:

> On Mon, Nov 07, 2005 at 06:42:20PM -0500, Covington, Chris wrote:
> > > I'm also experiencing this problem:
> > >
> > > ' failed11/07/2005 09:28:45] Signature retrieval for
> > > '1,436d5725196871232315631
> > > 29012: [11/07/2005 09:28:45] Unable to find a valid signature. Aborting.
> > > 29012: [11/07/2005 09:28:45] process_message returned error -5.
> > > dropping message.
> > >
> > > I have no way to train on errors (I see a lot of false positives,
> > > unfortunately, after my corpus feeding).
> > >
> > > However, if I have the signature inserted in the headers
> > > (signatureLocation=headers), how will dspam know what the signature is
> > > if a user simply forwards the email to an address? The way I intended
> > > to set it up was to have users drop false positives into an IMAP folder,
> > > then a perl script picks up the message (headers and all) and delivers
> > > it to a folder and runs dspam --user plusone --class=innocent
> > > --source=error --deliver=summary --process --stdout < ${FILE}.
> >
> > OK, I've found a workaround for this. You can specify the signature by
> > the command line. So I've done this:
> >
> > dspam --user plusone --source=error --signature=1,436d5725196871232315631 < ${FILE}
> >
> > And I can train FPs / FNs now.
>
> OK, I've tried turning off MySQLUIDInSignature and I've tried
> signatureLocation=message and everytime I run dspam --user plusone
> --source=error < ${FILE} I get "Unable to find a valid signature.
> Aborting." even though the signature is both in the body and headers.
> I've also tried all combinations of ParseToHeaders ChangeModeOnParse and
> ChangeUserOnParse.
>
> The only way it works is to specify the signature manually in the
> command line. My scripting skills aren't good enough to write a script
> which can pull out the signature from the file and specify it on the
> command line for training.

the attached script is *old* but you should get the idea from it. If
you run it from cron be sure to add the full path to the executables.

-- 
IOnut
Unregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

Received on Tue Nov 8 10:11:30 2005

This archive was generated by hypermail 2.1.8 : Wed Nov 09 2005 - 00:00:01 EST