procmail
[Top] [All Lists]

Re: yet another newbie question

2002-02-18 14:55:23
in message 
<4(_dot_)3(_dot_)2(_dot_)7(_dot_)0(_dot_)20020218162357(_dot_)00ceff00(_at_)mailer(_dot_)isn(_dot_)net>,
 
wrote Charles Tassell thusly...

I'm fairly new to procmail, but for it to check if RELAY is at the 
*beginning* of the subject, shouldn't it be:

* ^Subject:[  ]RELAY*

Which would be match a line starting with Subject:, possibly followed by a 
space, then the work RELAY, then anything else.

that regex is (if case sensitivity switch, D, is missing)....

  line beginning w/ "Subject:"
  followed by a non-optional space
  followed by word "rela"
  followed by optional "y"

...so, that will match...

Subject: related information
sUBJECT: relayed informacion


 - parv

-- 
 
_______________________________________________
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>