Dino wrote:

> I'm using standard DB based Bayes

>>>See how many spam (nspam) and ham (nham) are in the database (under
>>>the amavis user):

>>>su amavis -c 'sa-learn --dump magic'
>>>or:
>>>sudo -H -u amavis sa-learn --dump magic

> So I ran sudo -H -u amavis sa-learn --dump magic and here's the result.
> Am I to assume that there are 1429 nspam messages and 2039 nham
> messages?

Yes

> 0.000          0       1429          0  non-token data: nspam
> 0.000          0       2039          0  non-token data: nham

>>>Debug bayes as the amavis user:
>>> (get a sample from me if you need one):
>>>wget http://www200.pair.com/mecham/spam/sample-spam.txt

>>>su amavis -c 'spamassassin -D bayes < sample-spam.txt'
>>>or:
>>>sudo -H -u amavis spamassassin -D bayes < sample-spam.txt

> I ran both commands. The first one amavis -c 'spamassassin -D bayes <
> sample-spam.txt' returned nothing it just gave me a new line,

That's 'su amavis', but it won't work if the amavis user does not have
shell access - that's the reason for the second option.

> and the
> second one sudo -H -u amavis spamassassin -D bayes < sample-spam.txt
> gave me the following output:

> debug: SpamAssassin version 3.0.4
> debug: Score set 0 chosen.
> debug: running in taint mode? no
> bad areas in --debug option (bayes)!
> Usage:
<..>

Looks like your version does not support adding 'channels'
http://wiki.apache.org/spamassassin/DebugChannels
so this would instead be:

sudo -H -u amavis spamassassin -D < sample-spam.txt

> I've seen message headers with a BAYES hit, but yet they never score
> high enough. For instance, here's part of the header of a message that I
> know the BAYES filter has been trained with. As you can see, this
> message has been processed by two mail servers both running amavisd-new
> with SA yet still it's not tagged as spam.

> Message-Id: <[EMAIL PROTECTED]>
> X-Virus-Scanned: amavisd-new at mydirectmail.org
> X-Virus-Scanned: amavisd-new at mydirectmail.net
> X-Spam-Status: No, hits=0.214 required=5 tests=[AWL=0.008,
> BAYES_40=-1.096,
>  FM_WHITEONWHITE=0.45, HTML_80_90=0.146, HTML_MESSAGE=0.001,
>  HTML_TAG_EXIST_TBODY=0.114, SARE_UNI=0.591]
> X-Spam-Score: 0.214
> X-Spam-Level: 
> Return-Path:
> [EMAIL PROTECTED]
> X-OriginalArrivalTime: 23 Feb 2007 14:05:09.0187 (UTC)
> FILETIME=[A09CA130:01C75753]

> This is totally frustrating.

Your biggest problem is you are running 3.0.x. In the fast paced world
of spam abatement this version is not going to make you happy. I don't
think you have a major problem with Bayes so much as you need to
upgrade SA. Doing so may add new rules that will help push more spam
over the kill_level. What OS are you running?

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to