Subject: | |
From: | |
Reply To: | |
Date: | Fri, 17 Feb 2012 21:00:00 +1100 |
Content-Type: | multipart/signed |
Parts/Attachments: |
|
|
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
|
|
|