Thanks Bill, I have gone through the code and it doesn't seem like a simple fix especially with IMAP. Any thoughts on how you are planning to implement this feature? I could give it a shot and submit a patch. Here is my analysis so far. If using POP I could call Spam Assassin when a message is received this should set the mail headers and that would give kick in the seive filters which i believe is used to move the messages to the Junnk folder. But this may not work in the case of IMAP since the entire message may not be available at that point. |