myname wrote:When you say filters work on pre-download mode, do they also work on messages after they are downloaded?
In addition to running in response to
events, filters (and scripts) can run in the following modes:[list][*]Pre-Download - while the messages are still on the server, before they are downloaded into the local mail store[*]Incoming - immediately after the message has been read into the local mail store[*]Outgoing - immediately before a message is sent (giving you the ability to alter the outgoing message)[*]Post-Send - After the message has been sent (useful for moving messages into mailboxes, this is better than using an Outgoing filter because only those messages successfully sent are stored).[*]Manual - You can select one (or more) messages from a mailbox and run one of the manual filter sets or individual scripts against them. You can
assign a script to a button and use it this way.
myname wrote:The reason why I'm asking is, it seems like every day or two, the baysian filters stop working, and all my spam ends up in my inbox. I have all the other spam filters disabled.
The above modes should not affect the Bayesian filtering, I would check to see that you have enough words in the good and spam corpuses (which, given this feature was working I suspect you have). I would also check to ensure you do no have any filter with a "Stop processing" action in it. If this were before the junk mail filters it could cause what you are seeing.
myname wrote:Back on the original topic, could a script be written to scan messages before they are downloaded, then mark the ones that don't meet a specific criteria to download and delete from the server? This would leave the messages I want on the server.
In psuedocode:
If message subject equals "Leave me on server"
download message and leave on server
else
download message and delete from server
end if
--Kevin
Yes, I do pretty much what you are wanting. You can only really check the header information but I check several headers in making my determination of whether or not to delete the message from the server.