"David W. Tamkin" <dattier(_at_)ripco(_dot_)com> writes:
I wrote, responding to Dallman Ross,
There's no "D" modifier on a single condition. If you have some regexps
which must be tested sensitively to case and some insensitively to case,
you have to put them into separate [linked or braced] recipes ...
One thing I neglected to mention -- Philip, please correct this -- is that
the expansions of ^FROM_MAILER, ^FROM_DAEMON, and ^TO and ^TO_ are always
case-insensitive, regardless of the `D' flag. However, if I understand
correctly, the rest of the regexp after ^TO or ^TO_ or anything alternated
with ^FROM_DAEMON or with ^FROM_MAILER will be treated sensitively to case
if the colon line flags include `D'.
Nope. If the ^FROM_DAEMON token is present in the regexp, procmail will
force _that_condition_ to be processed ignoring case. Otherwise, the
tokens are a simple textual substitution of what you see at the bottom
of the procmailrc(5) manpage.
procmail mailing list