Killing flamewars: your list needs YOU

Richard Gooch (Richard.Gooch@atnf.CSIRO.AU)
Tue, 14 Jul 1998 12:18:50 +1000


Brandon S. Allbery writes:
> In message <199807140054.UAA11355@pincoya.inf.utfsm.cl>, Horst von Brand
> writes
> | we take all this into gnu.misc.discuss, where it surely belongs?
>
> Because people keep insisting that linux-kernel is where it belongs.
>
> MOVE IT ELSEWHERE!

As a public service, I've written a procmail recipe that bounces
offtopic messages and flamewars to the sender. Below is the recipe
that I use for a current flamewar. If a large number of people use
this, we can smash the ugly pimple that is this flamewar. You may
notice that it is basically the same crowd who carry on and on and on
and on about this dumb topic.

###############################################################################
#
# Rules for offtopic messages and flamewars sent to mailing lists.
# This must come *BEFORE* the rules for the lists themselves
#

# linux-kernel vger list
:0 W
* ^Sender: owner-linux-kernel.*@vger\.rutgers\.edu
* ^Subject: .*Linus Speaks About KDE-Bashing
{
INCLUDERC=.procmail/offtopic.rc
}
###############################################################################

And below is the "generic" code to do the auto-reply.

###############################################################################
:0 c
| (grep -iE '^From|^Subject:|^To:|^Cc:|^Date:|^Message-ID:|^Sender:'; echo '') >> .procmail/log.offtopic

:0: offtopic-reply.lock
* ? test -f $OFFTOPICMESSAGE
* !$ ^X-Loop: $OFFADDR
* !$ ^Subject:.*$NOREPLYCODE
| (: offtopic; cat > offtopic-text; \
formail -rt -A"Precedence: bulk" -A"X-Loop: $OFFADDR" \
-A"From: $OFFADDR" \
-I"Subject: [$NOREPLYCODE] Re:`formail -x subject: < offtopic-text`" \
< offtopic-text; \
cat $OFFTOPICMESSAGE; \
head -500 offtopic-text; \
rm -f offtopic-text) | sed -e "s/^From />From /" | $SENDMAIL -t

:0
/dev/null
###############################################################################

And some sample configurations (this must come at the beginning):

OFFTOPICMESSAGE=.procmail/messages/offtopic.txt
OFFADDR=your@email.address
NOREPLYCODE=auto-reply

Regards,

Richard....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html