[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: first thread
> > Also, can you get Majordomo to set a reply-to?
>
> That would be nice...
Procmail is your friend. I added this at the end of my .procmailrc:
:0:
* ^Sender:.owner-linux-future@humbolt.nl.linux.org
| formail -i "X-Thrillseeker: linux-future" -i "Reply-To: Linux Future
<linux-future@humbolt.nl.linux.org>" -s procmail
I pipe everything back to procmail to allow myself to further
processing of the messages, such as sending some authors on other
lists directly to /dev/null. AFter the trashing of certain messages,
I then check for the X-Thrillseeker header added above and skip
processing if it's present. Here's the first few lines:
# LOGFILE=/home/weh/Log
# VERBOSE=on
# Check for duplicate messages and mark them for the Trash
:0 Whc: .msgid.lock
| formail -D 65536 .msgid.cache
:0 a:
| formail +1 -i "X-Thrillseeker: Junk" -s procmail
# Trash stuff sent directly to linux lists instead of via the mail list
:0:
* ^Sender: owner-linux-.*@vger\.rutgers\.edu
* ! ^(((To|Cc):)|( )).*linux
| formail -i "X-Thrillseeker: Junk" -s procmail
# Trash subscribe/unsubscribe messages
:0:
* ^Subject: .*scribe
| formail -i "X-Thrillseeker: Junk" -s procmail
# The shit list
:0:
* ^From:.*mkibort@compuserve.com
/dev/null
# File anything already processed
:0:
* ^X-Thrillseeker
/var/spool/mail/weh
# File system messages meant for root separately
:0:
* ^To: .*^^root^^
| formail -i "X-Thrillseeker: Root" -s procmail
I'm sure I'll end up adding a filter for the inevitable junk to the
list similar to the one above for the vger lists.
Regards to all,
Billy
-
Linux-future: thinking about the future of the Linux kernel
http://humbolt.nl.linux.org/lists/