SCIENTIFIC-LINUX-USERS Archives

February 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steven Haigh <[log in to unmask]>
Reply To:
Steven Haigh <[log in to unmask]>
Date:
Fri, 17 Feb 2012 21:00:00 +1100
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (972 bytes) , smime.p7s (4 kB)
Well, Seeing as its a quiet night on the list, I figured I'd share a 
procmail recipe that I use for the FNAL mailing lists.

This takes the email, matches the Sender header, then removes the 
[SCIENTIFIC-LINUX-USERS] from the subject, adds a List-Post: header so 
the "Reply to List" function works in Thunderbird, then files the email 
in its own IMAP mail folder!

## Scientific Linux Users mailing list.
:0 Wfh
* ^Sender: [log in to unmask]
| sed -e '/^Subject:/ s/\[SCIENTIFIC-LINUX-USERS\] *//g' && sed 
':a;N;$!ba;s/Precedence: list/Precedence: list\nList-Post: 
<mailto:[log in to unmask]>/g'
:0 A
.Mail\ Lists.SL-Users/

Now, as I know some mail clients will mess this up with wrapping lines, 
the following is the first two chars of a new line:

:0
*
|
:0
.M

Procmail can do some pretty awesome email voodoo ;)

-- 
Steven Haigh

Email: [log in to unmask]
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299



ATOM RSS1 RSS2