procmail
[Top] [All Lists]

Re: Filter list of spammers

1997-05-18 10:44:00
On 18 May 1997 12:28:41 -0400, Jason R Mastaler <jason(_at_)mastaler(_dot_)com>
wrote:
Dirk Allard <allad000(_at_)trudi(_dot_)zdv(_dot_)Uni-Mainz(_dot_)DE> writes:
how can I write a receipe which reads in a list of "spammer domains" and
filters them from a specific header file. It should look like this:
<...>
Take a look at http://www.panix.com/rc.shared - They have done
something very similar for Cyberpromo domains.  Also see
http://www.panix.com/uce.html

In summary, they define "CPDOM" in the procmailrc like this:

CPDOM=`cat /usr/local/filters/cpdomains | tr '\012' '|'` 

You should be very careful, however, that this file does not contain a
newline at the end, or any empty lines anywhere. This was beaten to
death on this list a few weeks ago. 

Some pointers to other more or less interesting solutions can be found
at http://www.iki.fi/~era/procmail/links.html (near the end of the page).

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

<Prev in Thread] Current Thread [Next in Thread>