On 2/9/06, Ruud H.G. van Tol <rvtol(_at_)isolution(_dot_)nl> wrote:
Pseudo-code:
if <In-Reply-To> contains a single <Message-ID>
and <References> doesn't end with that <Message-ID>
then append the <Message-ID> to the <References>.
:0
* ^References:.*@
* ^In-Reply-To:.*\/[$NWS](_dot_)*(_at_)(_dot_)*
* 1^1 MATCH ?? @
{ H_IRT = $MATCH } H_IRT_IDS = "$="
:0
* H_IRT_IDS ?? ^^1^^
* ^References:.*\/[$NWS].*
* ! MATCH ?? $\H_IRT[$WS]*^
| $FORMAIL -i References: ${MATCH} ${H_IRT}
(untested)
What is WS and NWS? My procmailrc manpage doesn't seem to mention
such variables.
itz(_at_)unicorn:~$ dpkg --status procmail | grep '^Version:'
Version: 3.22-14
--
"Political systems do not deal easily
with long term threats,
even if they have a probability of 100%"
James Schlesinger, a former director of the CIA
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail