On Tue, 22 Jun 2010, David Michaels wrote:

Is there a obvious reason this doesn't work?

header __GK__PHARMS_01 To =~ micha...@ucrwcu.rwc.uc.edu

That looks insufficiently punctuated. Try:

header __GK__PHARMS_01 To =~ /michae...@ucrwcu\.rwc\.uc\.edu/i

header __GK__PHARMS_02 Subject =~ /PHARMA|PHARMACY/

That alternation isn't needed. "PHARMA" will hit on "PHARMACY".

What does a lint check have to say about your original version?

You _did_ lint it, didn't you? :)

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Win95: Where do you want to go today?
  Vista: Where will Microsoft allow you to go today?
-----------------------------------------------------------------------
 12 days until the 234th anniversary of the Declaration of Independence

Reply via email to