On 12/04/2005 10:48 pm, Tyler Nally wrote: > On Sunday 04 December 2005 05:08 pm, Pollywog wrote: > > That did not do it, but I think you are close, that is is something along > > those lines. I think the instructions I followed are not intended for > > Courier but for Cyrus. > > I user Courier on this particular server .. and for > sa-learn to harvest spam out of a Courier/IMAP Maildir > folder (because all Courier Maildir folders (regardless > of whether it's the main "Maildir" or one of the subfolders) > has a "cur" "tmp" and "new" subfolders ... this is what I > have to do.
I do that as well and have no problem, but when I use the fetchmail as shown at the URL I posted (the command goes into a crontab), fetchmail can't find the IMAP folder. > > I use a similar mechanism where I keep track of the different > Ham and Spam folder names... and I use two different scripts > to sweep through the file system with a HAM sweep (going through > all of the cur, tmp, & new named sub-folders that are known to > have HAM in them.... and another script that is setup to sweeep > through the cur, tmp, & new SPAM sub-folders. > > This is what most of my HAM folders sa-learning script looks like: I think I might have to do something similar, because I can't get this other method to work. It sure would be nice to just drop the spams in the "LearnAsSpam" folder and forget about them, though. 8)