[PLUG] procmail recipe not catching a Dr.Oz

Michael Rasmussen michael at jamhome.us
Wed Jul 17 19:38:47 UTC 2013


On Wed, Jul 17, 2013 at 12:34:14PM -0700, Michael Rasmussen wrote:
> > On Wed, Jul 17, 2013 at 11:12 AM, Michael Rasmussen <michael at jamhome.us>wrote:
> > > A procmail recipe:
> > >
> > >     :0
> > >     * ^From:.*Feed Blaster
> > >     * ^From:.*Oz.*New
> > >     * Dr.*Oz
> > >     * ^From:.*Dr.*Oz
> > >     * ^From:.*DrOz
> > >     $MAILDIR/.aspambin/
> > >
> > > Is not catching email with:
> > >
> > >     Date: Wed, 17 Jul 2013 20:06:16 +0300
> > >     From: "Show-Dr.Oz Newsletter" <AbVBBW664 at alhippa.net>
> > >     Subject: Revealing the slim, trim body you've always wanted
> > >
> > > And I have verified that it is Oz and not 0z. (oh not zero)
> > >
> > > What do your eyes catch that I'm missing?
> > >
> > >
> > you don't have any trailing .*s to match the rest of the line?

recind the forehead slap.  It is a substring match and you don't need to spec the full line.


-- 
            Michael Rasmussen, Portland Oregon  
          Be Appropriate && Follow Your Curiosity
  Other Adventures: http://www.jamhome.us/ or http://gplus.to/MichaelRpdx
A special random fortune cookie fortune:
Are you making all this up as you go along?



More information about the PLUG mailing list