Chris Bidmead <bidmead(_at_)cbidmead(_dot_)demon(_dot_)co(_dot_)uk>
wrote on
Sun, 29 Jun 97 21:26:15 +0100 in
Message-ID:
<9706292026(_dot_)AA27408(_at_)cbidmead(_dot_)demon(_dot_)co(_dot_)uk>
Tim, if I may say so, this seems to be rather overengineered for
what you're trying to do.
That's true enough, and what's worse is that it has failed all day... :-(
Why things work under testing and fail under real life I'll never
understand, and why I left CS to begin with....
Anyway, I went back and took your suggestion with era eriksson
<era(_at_)iki(_dot_)fi>'s from
Date: Sun, 15 Jun 1997 21:54:07 +0300 (EET DST)
Message-Id: <199706151854(_dot_)VAA03425(_at_)kontti(_dot_)Helsinki(_dot_)FI>
and came up with this, which is much better:
#
# This file: $RCFILES/read-receipts-parse.rc
#
#
# Usage (in ~/.procmailrc):
# :0W
# * ^Subject: Read Receipt$
# * ^Received: by NeXT.Mailer
# { INCLUDERC=$RCFILES/read-receipts-parse.rc }
#
:0 B
* (Your message regarding|\
Votre message concernant|\
Ihre Mitteilung bezueglich) "\/[^"]*
{
SUBJECT=$MATCH
:0fhw
| formail -I "Subject: $SUBJECT"
:0
| appnmail Computer-Stuff/Read-Receipts
}
# Note: I tried to use the ^^ before the "(Your message" but it didn't ever
# seem to match when I did that for some reason... even one ^ didn't work
I also don't know that the French and German will work for sure.... but this
is a lot neater.
TjL