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