
On 25.10.11 17:05, Tim Connors wrote:
Could we do something about finding the setting in the new mailing list software to remove the nasty "[luv-main] [luv-talk] [luv-main]" subject line cruft that will no doubt appear once this ends up back on the luv-main list?
Being elbowed from list to list has inconveniences, it seems. We don't have to inconvenience the list administrators, though. The following performs the header rewriting in procmail, so the [luv-main] [luv-talk] guff is removed when we receive them: :0 * ^TO_luv-main@.*luv.asn.au { # We need the subject line _content_, # minus any [list-name]: SUBJECT=`formail -czX "Subject:" | sed -re "s/Subject:// ; s/ \[luv-[a-z]*\]//g"` # Header rewrite: :0fhw | formail -i "Subject: $SUBJECT" # Delivery to relevant mailbox: :0: luv-main } -------------------------- The "SUBJECT" assignment is one line. The "-i" in the second formail invocation leaves a copy of the original subject line in the header, renamed to "Old-Subject:". The "TO_" macro in the second line results in courtesy copies going to the list mailbox, not the default mailbox. (My procmail setup then dumps the list copy, which arrives later, in "duplicates".) Now my subject lines are uncluttered. :-)
I fear that it's been a month now, and might almost become accepted behaviour to keep munging the subject line like that. And then it's only a short path down the track to LUV-main become a web-forum <shudder>.
+1 on the <shudder>. (And +40 on all the objections voiced over fora.) Erik -- The web is a new-fangled gimmick that will never catch on. - Shaun Jackman on avr-gcc-list on Thu, 7 Dec 2006