Send Spam to Folder?

Mark Nienberg mark at TIPPINGMAR.COM
Thu Feb 19 01:34:48 GMT 2004


On 18 Feb 2004 at 16:26, Mike McMullen wrote:
> Is there an easy way to get mail marked as spam automatically
> moved to a folder (mbox format) in a user's IMAP mail folders?

If a user has a folder named "spam", and your system uses procmail for local
delivery, then a rule like the following in the user's ".procmailrc" file will do it.

# Move Mailscanner marked spam to Spam folder
  :0:
  * ^Subject:.\{Spam\?
  spam

Mark



More information about the MailScanner mailing list