Outlook: rules or macro for an IMAP folder, without hanging application - spam
Posted on 2006-06-29
I have Outlook 2003 at work and have a local Exchange account and a personal account that I access via IMAP.
I get a LOT of spam to my personal account. I tried setting up rules to delete the spam (flagged by Spam Assassin in the subject line) before even downloading it, but the combination of crappy outlook and my crappy hosting company means that the following occurs:
Outlook tries to delete the messages from the server, and there is a huge delay in doing so.
Outlook finally comes back and tells me there was an error in applying one of the rules.
This is unacceptable so I have turned off the rule and let the spam come down to me and delete it manually.
My question is: How to I prevent the spam getting downloaded without Outlook hanging?
Perhaps there is a way to write a macro that can:
Change to my personal folder inbox
Search for all items that have "**SPAM" in the subject
Or maybe there is a way of removing them from the server before they even get downloaded?
I realise I could use POP to collect the mail but I do not want to as I check the mail in two different locations and I want to use IMAP to ensure they are synched.