> From: Johnson, S
> Once the message has left the linux spamassassin and forwarded onto a
> mail server, say exchange or groupwise.  How can I save the message
> so that SA could autolearn the message?  The headers and such are not
> saved if I copy and paste the mail into a text file.  I also don't
> want to set up a folder that would automatically pick up "spam"
> messages.  (people don't seem to know the difference between a mail
> list and spam so it would have to be manually checked)      

Kang, Joseph S. wrote:
> I've done it via a pair of public folders under MS Exchange (FPs and
> FNs).  Then I use a perl script that can access those folders via
> IMAP from the Linux box.  If you look on the SA wiki, I think there
> is a link to a script.  I have it set up to run automatically every
> few hours via CRON but you could just run the script by hand once
> you've checked through the folders first.     
> 
> -Joe K.

Or you could set up four folders:

Visible to everyone:
FN: spam but not tagged
FP: tagged but not spam

Visible only to you and the IMAP account that SA uses:
sa-learn as spam
sa-learn as ham

You could instruct people to drag/drop to the FN and FP folders.
You could set up a cron job to have SA learn from the sa-learn folders.

Periodically you could review the FN and FP folders manually - drag true FN's 
and true FP's to the correct sa-learn folder - and rebuke^H^H^H^Htrain 
submitters of spurious FP's or FN's.

Matthew.van.Eerde (at) hbinc.com                 805.964.4554 x902
Hispanic Business Inc./HireDiversity.com         Software Engineer
perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg," 

Reply via email to