This is an important recipe for me:
:0 fh w
*
^TO()\/procmail(@(informatik|lists)\.rwth-aachen\.de|-users(_at_)procmail\(_dot_)org)
*$ ! ^Reply-To:[ ]*$MATCH
| formail -i"Reply-To: $MATCH"
It puts the mailinglist's address in the Reply-To: headerfield,
which ensures that I send my replies only to the list, which I
prefer.
In order to Log the setting of the Reply-To, I changed it to:
:0
*
^TO_()\/procmail(@(informatik|lists)\.rwth-aachen\.de|-users(_at_)procmail\(_dot_)org
)
*$ ! ^Reply-To:$WSP*$MATCH
{
LOG="--- set Reply-To: "$MATCH$NL
:0 fh w
| $FORMAIL -i"Reply-To: "$MATCH
}
Is there a better way? Small recipes like:
:0:
* ^X-XS4ALL-SPAM-Warning:
$SPAMFILE.xs4
I had (to add Logging) to change to:
:0
* ^X-XS4ALL-SPAM-Warning:
{
LOG="--> spam.xs4"$NL
:0:
$SPAMFILE.xs4
}
This does not work:
# :0:
# * ^X-XS4ALL-SPAM-Warning:
# {
# LOG="--> spam.xs4"$NL
# $SPAMFILE.xs4
# }
Would the following work?
# :0:
# * ^X-XS4ALL-SPAM-Warning:
# { LOG="--> spam.xs4"$NL }
# $SPAMFILE.xs4
Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail