OK. I've had it.  Rogue Listmailers beware.  I'm changing your friggin
email!  No more of the stupid "Reply-To" headers will make it unmarred,
unchecked, untouched!  I'm changing their tune with procmail and
formail!!

    # Snippet of a procmailrc to rename the friggin Reply-To to
    # X-You-Thought-You-Would-Make-Me-Reply-To
    #
    #
    INCLUDERC=headers.rc            # from procmail-lib

    MORE_LIST_MAILERS="${USERADDR}-(admin|request)"
    MORE_LIST_HEADERS="^(List-(Id|Help|Archive|(un)?subscribe|Post|${USERADDR})|\
    X-Mailman-Version)|X-(List|listar-version):$PRE_ADDR_SPAN"
    MORE_FROM_LIST="($LIST_PRECEDENCE|($FROM|$MORE_LIST_HEADERS)\
    ($LIST_MAILERS|$MORE_LIST_MAILERS)$POST_ADDR_SPAN)"

    # Make sure MATCH is cleared
    MATCH

    # If it's from a list, do stuff...
    :0
    * $ $MORE_FROM_LIST
    { 
        :0
        * $ $FROM\/($LIST_MAILERS|$MORE_LIST_MAILERS)
        { LISTADDR=$MATCH }

        # Get rid of thos friggin' annoying Reply-To headers...
        :0f
        * $ LISTADDR ?? .
        * ^Reply-To:.*
        | formail -R "Reply-To" "X-You-Thought-You-Would-Make-Me-Reply-To"


        # Do more stuff... [snipped for brevity]
    }

Ah, yes!  I see the light!

-- 
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/20020221/2b3ff4f0/attachment.pgp