procmail
[Top] [All Lists]

Re: correct syntax of subject variable?

2003-08-27 18:25:05
The caret (^ mark) is used to anchor something to the beginning of a line.
it is needed, or else your filter would grab messages with
"Subject:.*virus" anywhere in the line.  It might be unlikely, but not
impossible.

Fuzzy
-- 
Quidquid Latine dictum sit, altum videtur.
Si hoc legere scis, nimium eruditionis habes.
Vir sapit qui pauca loquitur.
Cras amet qui numquam amavit, quique amavit cras plus amet.
Uno itinere non potest perveniri ad tam grande secretum.

On Thu, 28 Aug 2003, Dragoncrest wrote:

      Just curious of something.  When trying to filter by subject, which of
these is the correct syntax.

      This?:  * ^Subject:.*virus
      Or This?: * Subject:.*virus

      I'm trying to figure out if the carrot is even needed or if it is, 
where,
when and why?  Cause it seems to work with the carrot, but I'm also seeing
other parts of my recipe where the carrot isn't in front of Subject yet it
still works too.  So I'm a tad confused.


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