procmail
[Top] [All Lists]

Re: mysql & green/black list

2003-03-17 09:47:34
Jason Crowe skribis:

Here is a section of my rc.green file that allows email in before the
spam filtering starts.

:0
* ^From:.*(@lowes.com|@wal-mart.com|@westlakehardware.com|@doitbest.com|
@samsclub.com|@target.com|@orgill.com|@homedepot.com|@pamida.com|
@meijer.com|@shopko.com|@jcpenney.com|@walgreens.com|@cabelas.com|
@franks.com|costco.com)
{
        :0
        $DEFAULT
}

I am afraid that this will get very unmanagable over time. I am
hoping to come away with a better idea for dealing with my
green/black list.


Reformat & sort & add locking & add subdomains & escape dots &
test that address really ends in .com & remove {}:

:0:
* ^From:[  ]+.*@([-a-z0-9]+\.)*(\
  cabelas|\
  costco|\
  doitbest|\
  franks|\
  homedepot|
  jcpenney|\
  lowes|\
  meijer|\
  orgill|
  pamida|\
  samsclub|\
  shopko|\
  target|\
  wal-mart|\
  walgreens|\
  westlakehardware|\
@@)\.com($|[^-a-z0-9])
$DEFAULT

-- 
Affijn, Ruud

Easy people don't care too much.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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