On Tue, Feb 10, 2009 at 02:12:17PM -0600, Christopher L. Barnard wrote:
My golden rule:
* ^Subject:.L700 NetBackup
Your second condition should not have a dot there.
Probably it won't come up as a problem for you, but
it has to do with the rigor I wrote about earlier.
That would match on, e.g.,
Or one day your server configuration whill change and the
message will come with a series of spaces instead of one,
for example. (That is not so far-fetched: it happened
on the panix server a few years ago when people invoked
SpamAssassin. SA converted the space after the colon in
the headernames to five spaces! It took a bunch of people
a while of hacking around to find out what was wrong with
some procmail rules.) That's why my advice is, just code
it right in the first place and avoid the headache later.
* ^Subject:[ ]*L700 NetBackup
(Space and tab in the brackets.)
procmail mailing list Procmail homepage: http://www.procmail.org/