Table of Contents

Training

Ham

user@host:~$ sa-learn --progress --ham ~/Maildir/.90_spam/{cur,new}/*

Spam

user@host:~$ sa-learn --progress --spam ~/Maildir/.90_spam/{cur,new}/*
The command sa-learn has a fixed, hard coded upper limit for the size of messages which will be examined. This upper limit is at 256 kBytes. Unfortunately, the size limit is calculated with regard to the whole message, including all possible files which might be attached! It might therefore be necessary to reduce the size of the message, e.g. by removal of possibly large attachments, before it can be successfully examined and before keywords can be extracted from it.

Example: