procmail
[Top] [All Lists]

Even better way of filtering out the extras

1997-07-04 11:51:00
Hi All,

In fact by using some clever {} jiggery pokery, you can combine the
two actions into one recipe (sending an insufficient permission and
filing it as well) as follows:

##############################################################################
#  4) Fourth -- I catch all mail from certain folks who still slip through...
:0hb
* ^From.*( FreeWay(_at_)dm1(_dot_)com\
          |KORBS(_at_)ix(_dot_)netcom(_dot_)com\
          |hnet(_at_)dialup(_dot_)francenet(_dot_)fr\
          |owl(_at_)owlsnest(_dot_)com\
          |softree(_at_)web(_dot_)net\
          |excellent(_at_)softnet(_dot_)com\
          |samn(_at_)twics(_dot_)com\
          |jmills(_at_)nr1(_dot_)resultnet(_dot_)com\
          |Tiffany(_at_)lvsweeties(_dot_)com\
          |starmaker(_at_)earthstar(_dot_)com\
          |Emerald(_at_)earthstar(_dot_)com\
          |alexc(_at_)cynet(_dot_)net\
          |comcorp(_at_)texas(_dot_)net\
          |upsouth(_at_)mail(_dot_)upsouth(_dot_)com\
          |don(_at_)mail(_dot_)rasha(_dot_)com\
          |camel6.mindspring.com\
          |jc(_at_)ender(_dot_)morefreestuff(_dot_)com\
          |meganets(_at_)equishare(_dot_)com\
          |toner(_at_)cartridge(_dot_)com\
          |travel(_at_)quantcom(_dot_)com\
          |pcic(_at_)genesisnetwork(_dot_)net\
          |bill(_at_)earthlink(_dot_)net\
          |r_denterprise(_at_)hotmail(_dot_)com\
          |julie(_at_)mail1(_dot_)livecybersluts(_dot_)com\
          |west(_at_)arcturus(_dot_)net\
          |gardena3(_at_)earthlink(_dot_)net\
          |msg9707-1(_at_)wrfconsulting(_dot_)com\
          |abcdefg\
          )
    {
     EXITCODE=77
     :0:
     automated/junk
    }
##############################################################################

The curlys allow you to group together a number of actions for one pattern.
I should have spotted this because it's used further up rc.spammers (to
catch cyberpromos)

Andrew.

-- 
*************************************************************
* Andrew Beckett               * Tel:   +44 1344 360333     *
* Lead Applications Engineer   * Fax:   +44 1344 360324     *
* Cadence Design Systems Ltd   * Email: andrewb(_at_)cadence(_dot_)com *
* Bagshot Road                 *                            *
* Bracknell.  RG12 3PH         *                            *
*************************************************************

<Prev in Thread] Current Thread [Next in Thread>
  • Even better way of filtering out the extras, Andrew Beckett <=