> On Sun, Sep 03, 2006 at 10:27:55PM -0400, Michael Scheidell wrote:
> > Sa coach sends stream to spamd with 'TELL' protocol.
> > It then calls the equivalent of 'spamassassin -r' (for spam) or '-z
> > for ham' or -f for forget.
> >
> > Do I need to call sa-learn --ham and sa-learn --spam also?
>
> No.

Postfix stop.
sa-learn --sync  # not needed with SQL, I think.
sa-learn --dump magic

0.000          0          3          0  non-token data: bayes db version
0.000          0      35777          0  non-token data: nspam
0.000          0      31979          0  non-token data: nham
0.000          0     134021          0  non-token data: ntokens
0.000          0 1156489182          0  non-token data: oldest atime
0.000          0 1157385371          0  non-token data: newest atime
0.000          0          0          0  non-token data: last journal
sync atime
0.000          0 1157353298          0  non-token data: last expiry
atime
0.000          0     691200          0  non-token data: last expire
atime delta
0.000          0      79280          0  non-token data: last expire
reduction count

spamassassin -k < ham.message
1 message(s) examined.

sa-learn --sync  # not needed with SQL, I think.
sa-learn --dump magic

0.000          0          3          0  non-token data: bayes db version
0.000          0      35777          0  non-token data: nspam
0.000          0      31980          0  non-token data: nham
0.000          0     134155          0  non-token data: ntokens
0.000          0 1156489182          0  non-token data: oldest atime
0.000          0 1157385371          0  non-token data: newest atime
0.000          0          0          0  non-token data: last journal
sync atime
0.000          0 1157353298          0  non-token data: last expiry
atime
0.000          0     691200          0  non-token data: last expire
atime delta
0.000          0      79280          0  non-token data: last expire
reduction count

Ok, one more ham.

spamassassin -r < spam.message

1 message(s) examined.

0.000          0          3          0  non-token data: bayes db version
0.000          0      35778          0  non-token data: nspam
0.000          0      31980          0  non-token data: nham
0.000          0     134197          0  non-token data: ntokens
0.000          0 1156489182          0  non-token data: oldest atime
0.000          0 1157385371          0  non-token data: newest atime
0.000          0          0          0  non-token data: last journal
sync atime
0.000          0 1157353298          0  non-token data: last expiry
atime
0.000          0     691200          0  non-token data: last expire
atime delta
0.000          0      79280          0  non-token data: last expire
reduction count

Ok, one more spam, new spam, old enough that spamcop rejects it?
Also, spamcop: you using generic spamassassin send address or a real
one?
Has anyone really decided if anon spamassassin reports to spamcop do
anything?

Gary: can you try again? If message already learned, it won'!


It did work this time. Even with the spamcop error...

sfa:~# su amavis -c 'sa-learn --dump magic'
0.000          0          3          0  non-token data: bayes db version
0.000          0          7          0  non-token data: nspam
[...]

sfa:~# su amavis -c 'spamassassin -r < email.txt'
[2812] warn: reporter: SpamCop message older than 2 days, not reporting
1 message(s) examined.

sfa:~# su amavis -c 'sa-learn --dump magic'
0.000          0          3          0  non-token data: bayes db version
0.000          0          8          0  non-token data: nspam
[...]

Gary V

_________________________________________________________________
Got something to buy, sell or swap? Try Windows Live Expo ttp://clk.atdmt.com/MSN/go/msnnkwex0010000001msn/direct/01/?href=http://expo.live.com/

Reply via email to