* Charles Gregory wrote:
* ^Date:.* (1|2|3|4|5|6|7) $MNTH $YR
* ^Date:.* [1-7] $MNTH $YR
You need a "$" at the beginning of the line to tell procmail that you
want variable substitution - otherwise "$MNTH" will just be matched by
end of line, M, N, T, H.
* $ ^Date:.* [1-7] $MNTH $YR
Note: On some systems, to make $MNTH work, you need to insert
a backslash *after* the $ sign....
* ^Date:.* [1-7] $\MNTH $\YR
$\VAR escapes all regexp constructs in VAR (see man procmailrc). If MNTH
is just "Feb", it doesn't matter, but if it's "(Jan|Feb|Mar)", $\MNTH
will be "\(Jan\|Feb\|Mar\)", which is probably not what you want in a
procmail mailing list Procmail homepage: http://www.procmail.org/