dark314 has asked for the wisdom of the Perl Monks concerning the following question:
I'm using sa-learn which is part of SpamAssassin. I've looked through the documentation for the module but have not found anything helpful in regards to using sa-learn. All my script has to do is learn a file as ham, or learn a file as spam. Perhaps I'm using the wrong module? The only line in the doc that comes close is:
$status = $f->learn ($mail, $id, $isspam, $forget)
This looks like somewhat the direction I'm going but does anybody have experience using such a module? Or can someone give me an example? I'm thinking $isspam is a boolean, the documentation mentions about whether it is set or not. Thanks for input.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: using Mail::SpamAssassin module, using sa-learn without system calls?
by gellyfish (Monsignor) on Aug 15, 2006 at 18:03 UTC |