I have procmail running two hosts on different domains.
One of my recipes is:
* $^From "$BLACKLIST"
* !^X-Loop: sancese(_at_)domainA
| (formail -rt \
-A "Precedence: junk" \
-A "X-Loop: sancese(_at_)domainA" ; \
cat $PMDIR/blacklist.reply; \
) | $SENDMAIL -t
(the $BLACKLIST is a very small list of known people, so I don't spam anyone).
Problem is that on domain domainB the recipe is slightly different for the
X-Loop stuff, indicating domainB.
How can I parametrize the recipe so that I can use the same rc file on machines
on different domains?