Heh. I should test my code before I send it. Procmail is a strange
beast. A good way to test it out though is to just run it from the
command line and feed it fake email, and read the logs.
shell$ procmail < fake.msg
Anyway, I did end up making my little Reply-To recipe nice and small:
# Fix bad list Reply-To munging.
:0 fHW
* ^Reply-To: *\/[^ ].*
* $ ^To: $MATCH
| formail -R "Reply-To" "${NEWREPLYTO:-X-Not-Going-To-Reply-To:"
Hope this helps.
--
Chad Walstrom <chewie at wookimus.net> | a.k.a. ^chewie
http://www.wookimus.net/ | s.k.a. gunnarr
Get my public key, ICQ#, etc. $(mailx -s 'get info' chewie at wookimus.net)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20020222/bd461370/attachment.pgp