[pmmail-list] Creating simple spam filter
Bruce Francis
pmmail-list@blueprintsoftwareworks.com
Thu, 25 Jan 2001 14:09:11 -0500 (EST)
On Thu, 25 Jan 2001 13:33:52 -0500, Jim Reisert AD1C wrote:
>I'm new to PMMail, having used Eudora for the last few years.
Welcome!
>I want to create a simple SPAM filter. After all my other filters have
>executed, if my address is NOT in the To: or CC: fields, then file the
>message in the SPAM folder, otherwise keep it in the Inbox.
>
>How can I easily set this up?
Very easily -- this is exactly the same filtering I use. Make sure you have
filtered all of your maillists (eg, this one, etc) to folders, or even to your inbox
(they are usually not addressed explicitly to you, often BCC'd or to an
email list address, and these will end up in your SPAM filter).
I have the following as my last Incoming Filter:
Description: SPAM -- *Last* Incoming Filter!
x Complex
header.X-Distribution="Bulk" | header.X-Distribution="Mass" |
header.Precedence="Bulk" |
!(header.to="$c.acctid$" | h.cc="$c.acctid$" |
h.Resent-To="$c.acctid$" | h.Apparently-To="$c.acctid$")
Type: Incoming
Actions:
Move Message SPAM
==============================================================
You may or may not want the 1st 2 lines (Distribution); they check for Bulk/Mass
email headers. The last 2 lines say if this message is not (!) to|cc|resent|apparently-to
me, then it gets moved to the SPAM filter. If this filter is last and a message
passes thru it then it has been addressed to me and will end up in the Inbox.
---
Bruce Francis BFrancis@pobox.com
For PGP Public key: email with Subject "BFrancis Public Key"
________________________________________________________
- pmmail-list - The PMMail Dicussion List ---------------------------
To POST to the list, send your message to
pmmail-list@blueprintsoftwareworks.com
To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com with the first
line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------