Procmail Recipe for SpamAssassin

If SpamAssassin is set up on your mail server (like mail.your-company-name.tld); you can set up your mail client to filter out spam messages, based on headers that SpamAssassin adds to each message.

If you are using Procmail, add the following rule to your ~/.procmailrc file:

* ^X-Spam-Flag: Yes

The recipe will save messages marked with "spam" into your spam email folder.

IMPORTANT: Please keep in mind that non-spam messages could end up in the spam folder and spam messages could end up in your Inbox.

Related Link(s):

Procmail Homepage -

The instructions and screen shots contained within this website are specific to services offered by Real Time Enterprises only.



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

Real Time Enterprises, Inc.

Real Time Enterprises, Inc.
10181 Crosstown Circle
Eden Prairie, MN 55344

Phone: (952) 943-8700
Fax: (952) 943-8500

Open Linux Menu
Open Macintosh Menu
Open Windows Menu
Open Source Menu
Website Search
Send Email