Byteplant Forum

Home » CleanMail Support » CleanMail SpamAssassin Filter » Training the filter
Training the filter [message #677] Mon, 07 June 2004 10:09
balt
Messages: 1
Registered: June 2004
Junior Member
Hi,

I use Imail Server as Mail Server and collect all spams that are not recognised as spam's in a folder. The format of this folder basically is a flat file containing all the mails.

What's the best way to get spamassassin to learn from such a flat file?

Cheers
Re: Training the filter [message #678 is a reply to message #677] Mon, 07 June 2004 10:35 Go to previous message
support
Messages: 919
Registered: April 2004
Senior Member
> I use Imail Server as Mail Server and collect all spams that
> are not recognised as spam's in a folder. The format of this
> folder basically is a flat file containing all the mails.
>
> What's the best way to get spamassassin to learn from such a
> flat file?

Is the file in mbox format ? If this is the case, run:
cd [NoSpamTodayInstallationPath]
sa\sa-learn -c sa\ruleset --spam --mbox "[FolderPath]"

Otherwise:
cd [NoSpamTodayInstallationPath]
sa\sa-learn -c sa\ruleset --spam "MessageFile"

Please see also the corresponding HOWTO document on our website:
http://www.byteplant.com/support/nospamtoday/howtolearnspam.html



Customer Support
Byteplant GmbH
Previous Topic: Error: No configuration text or files found! Please check your setup.
Next Topic: Change message content in detected spammail
Goto Forum:
  


Current Time: Wed Dec 07 13:26:38 CET 2016