OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Nick Simicich (njsscifi.squawk.com)
Date: Thu Sep 06 2001 - 15:32:51 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    At 10:38 PM 9/5/2001 +1000, Rod... Whitworth wrote:
    >So what do you think of <this> list's behaviour?
    >
    >Messages coming from it have NO Reply-To Header line and as a result I
    >have to hit CTL-R and where I normally get a choice of the group or a
    >reply to the author (From) I just get (in this case you) and have to CC
    >the list manually.

    The simple answer which I have adopted for many lists is to use maildrop,
    and its supporting cast of utilities. I believe that it is reasonable for
    someone to reconfigure headers of mail that they have gotten way that they
    want to, but it is probably not the right thing for postfix to do it. The
    reformail command that comes with maildrop will add a header. Some of the
    stuff in the middle is me removng mime cruft from list mail (where it
    probably should not be anyway).

     if ( /^Sender:.*!(linux|talk)!-admin!flux\.org/ || \
            /^Sender:.*!bind-users!-bounce!isc\.org/ || \
            /^Sender:.*!firewalls!-owner!Lists\.GNAC\.NET/ || \
            /^Sender:.*!courier-maildrop!-admin!lists\.sourceforge\.net/ || \
            /^Sender:.*!security-discuss!-owner!linux-mandrake\.com/)
    {
            ltalk=$MATCH2
            domain=$MATCH4
            if ( /^content-type:[:space:].*html/ || \
                 /^content-type:[:space:].*multi/ || \
                 /^content-type:[:space:].*rich/ || \
                 /^X-MS-Attachment/ || \
                 /^[:space:]+winmail.dat/:b || \
                 /\*This message was transferred with a trial version of
    CommuniGat\
    e\(tm\) Pro\*/:b || \
                 /^begin[:space:]+[:digit:]+[:space:]+winmail.dat/:b || \
                 /^begin\s+[0-7]+[:space:]+[:graph:]+[:space:]*$/:b)
            {
                    log "$ltalk$domain message demimed: $MATCH"
                    # to "demime-njsscifi.squawk.com"
                    xfilter $DEMIMEFILTER
            }
            if ( ! /^Reply-to:/)
            {
                    log "$ltalk$domain message having Reply-To: $ltalk$domain
    add\
    ed."
                    xfilter "/usr/local/bin/reformail -A'Reply-To:
    $ltalk$domain'"
            }
    }

    [...]

    >But in a way you are correct. The MTA does not need to mung the
    >headers. The list software should do it properly in the first place.

    And if the list does not do it, there are better tools. I was kind of
    sorry to see postfix endorse procmail since I think that maildrop is worlds
    better.

    >>see http://www.unicom.com/pw/reply-to-harmful.html
    >>
    >>reply-to should *NOT* be set by mailing lists.

    The person who wrote this is simply wrong. But that is another religious war.

    --
    We will fight for bovine freedom, And hold our large heads high.
    We will run free, with the buffalo or die! Cows with Guns.
     - Dana Lyons, Cows With Guns
    Nick Simicich mailto:njsscifi.squawk.com
    http://scifi.squawk.com/njs.html -- Stop by and Light Up The World!
    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users