This sort of question gets asked a lot and there are various answers.
 
The most common solution is to set up some public folders that are really IMAP folders, probably on your main mail machine, but that doesn't really matter much.  Then as you suggest, run a cron job to pull the mail from them and do the learning.
 
If you look in the wiki I believe there is a page or two devoted to this sort of thing with Outlook or OE.
 
Do you have individual bayes databases or site-wide?  If you have individual bayes databases then they would most likely each be under a usercode for the individual owner.  In that case having global spam and ham folders won't work all that well, since you would have to learn the whole mess many times, once into each bayes database.  It would make more sense to have per-user ham and spam folders, which could still use the IMAP solution.
 
I assume that you have a global bayes database.  In that case you should run sa-learn under whichever usercode SA is running under when it accesses that database.
 
        Loren
----- Original Message -----
Sent: Wednesday, September 20, 2006 10:37 PM
Subject: Training sa-learn from Outlook.

I imagine the following questions have been asked a lot, but I haven’t seen the exact answers I’m after yet so here goes.

 

We are running qmail, vpopmail, spamassassin, smb shares using samba, among other things, on freebsd. I want to set up public ham and spam folders such that our users can drag emails from Outlook. I can then set up a cron job that runs sa-learn on those folders and deletes the mail.

 

Can I just create two public samba shares, then use those for the emails and run s-learn on them ? I guess not because the emails by this stage are wrecked by Outlook. How else can I do this ?

 

Also, I don’t understand exactly the implications of which user you run sa-learn under. How do I set this up when running sa-learn ? I suppose if I run it as the same user as vpopmail then this will work ?

 

Apologies if these questions have already been covered in this mailing list or elsewhere.

 

Andrew.

Reply via email to