Nick,

> I understand that. My question is whether the message file, as stored is 
> amavis spam quarantine dir, is in a format suitable for use by sa-learn.

Yes, should be fine.

The sa-learn will ignore X-Spam-* header fields.

The presence of Delivered-To, X-Envelope-To, X-Envelope-To-Blocked
and X-Quarantine-ID fields shouldn't be a problem, even though
bayes may store these as tags.

> So, if I copy some messages (which I consider ham) from 
> /var/blockedmail/spam/ to /path/to/ham/folder/ and I run:
> 
>     sa-learn --ham /path/to/ham/folder
> 
> will sa-learn understand these files correctly and process them without 
> problems for training?

Yes. Some older versions of sa-learn needed an option --dir when
given a directory as an argument.

  Mark

Reply via email to