procmail
[Top] [All Lists]

My growing list of bad domains

1997-04-13 17:05:00

I now have 110 domains that I refuse to accept mail from.

I have been using this:

:0
* ^From.*(telysis\.com|\
answerme\.com|\
bbnplanet\.com|\
bu1kemai1\.com|\
bulkads\.com|\
bulkinquiries\.com|\
bulkinternet\.com|\
bulkmagnet\.com|\
bulkpower\.com|\
        [snip for brevity]
usa\.net|\
why\.net|\
yougotmail\.com|\
your\.friends|\
youvegotmail\.com|\
softcell\.net)

I would like to dump the messages if any of these hosts are found  
in any of these headers:

From
Received
From:
Message-ID:
Return-Path:
X-Sender:

Is there a way to put all the domains in a separate file (which  
would be easier to maintain) and have them match any of those  
headers?

Thanks

TjL


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