Server side mail filters

Posted Oct 24 at 09:49 CDT by Remi in Email  - 2 comment(s)

We just added a much requested feature to our control panel: the ability to specify your own server-side mail filters.

To configure your own filter rules you just need to edit your mailbox, tick the "use manual procmailrc" box and then enter your rules in the "manual procmailrc" text area.

Here is a sample .procmailrc file:

# Send mail to spamassassin
:0fw: spamassassin.lock
| /usr/bin/spamassassin

# If spam level > 8, discard e-mail
:0:
* ^X-Spam-Level: ........
/dev/null

# If spam level > 5, put mail in "spam" folder
:0:
* ^X-Spam-Level: .....
mail/spam

# If subject contains "WebFaction", move e-mail to "webfaction" folder
:0:
* ^Subject:.*WebFaction*
mail/webfaction
Enjoy :)

2 comments:




biblioconsult said on 2007-10-26 17:05:32:
THANXS! You finally did it. Great. I'm sure you made lots of customers happy!




Absolutely made my day. Thank you so much for this.





Leave a new comment:

(Note: comments may be moderated)

Author:
Email (not displayed):
Website:
Message: