I stated my impression:
T> One thing I neglected to mention -- Philip, please correct this -- is that
T> the expansions of ^FROM_MAILER, ^FROM_DAEMON, and ^TO and ^TO_ are always
T> case-insensitive, regardless of the `D' flag. However, if I understand
T> correctly, the rest of the regexp after ^TO or ^TO_ or anything alternated
T> with ^FROM_DAEMON or with ^FROM_MAILER will be treated sensitively to case
T> if the colon line flags include `D'.
Philip duly responded,
G> Nope. If the ^FROM_DAEMON token is present in the regexp, procmail will
G> force _that_condition_ to be processed ignoring case. Otherwise, the
G> tokens are a simple textual substitution of what you see at the bottom
G> of the procmailrc(5) manpage.
Please help me make sure I understand.
1. If a recipe has the `D' flag,
* ^FROM_DAEMON|pussycat
will match if "PUsSYcAT" appears in the head.
2. #1 is not true if the condition has ^FROM_MAILER rather than ^FROM_DAEMON.
3. If a recipe has the `D' flag,
* ^TO_address
will match "Cc: address" but not "CC: address".
Thank you.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail