Deliver SPAM too IMAP folder
Alex Neuman van der Hans
alex at nkpanama.com
Mon Feb 5 15:54:07 CET 2007
uxbod wrote:
Okay, the rationale behind this thought is that I have seen some
commercial AV solutions that deliver SPAM too a specific Exchange folder
within a users account. Therefore, would like to be able to do this
using OSS and deliver to a IMAP folder.
- Well, you can do that with procmail. Since MS will add a header that
some clients (like Thunderbird) respect, you can filter on that and move
messages to a folder. My setup is:
/home/alex/.procmailrc :
:0:
* ^X-Spam-Status: Yes
mail/Junk
That way all junk mail goes there. Substitute mail/Junk for something
else (like a communal spam folder, for example).
More information about the MailScanner
mailing list