Linux Engineering
 
 
 
 
 
 
 
(Answer) (Category) Linux on Dell systems FAQ-O-Matic : (Category) Meta-FAQ - Lists, People, web sites :
Can we have the Subject: line modified to help mail filters?
(Taken verbatim from the Linux Kernel FAQ at http://www.tux.org/lkml/)
The usual proposition is that a string like [LINUX-POWEREDGE] is prepended to the subject line. This question has been raised many times before, and the answer has always been "no" or "there are better ways to filter email". The list maintainers take this position. Some of the reasons are:
o It would increase the size of the Subject: line. This is a problem, as it limits the amount of useful information that can be seen in the Subject: line, making it harder to scan through a list of subject lines looking for interesting subjects.
o It doesn't work for cross-posted messages, as the subject line for a single email will change depending on which list it was sent via. Not only can this confuse simple-minded filtering recipes, it can also break threaded mail readers (people may end up reading the same message twice).
All mailing lists on lists.us.dell.com use GNU Mailman. People subscribed to linux-poweredge@dell.com, may want to use something this example procmail recipe:

# linux-poweredge
:0
* ^X-BeenThere: linux-poweredge@dell\.com
/home/fred/mfilter/linux/kernel-poweredge

People using mailagent might try this in their .rules file (thanks to Martin Smith <martin@sharrow.demon.co.uk>):
To CC: /linux-poweredge@dell.com/
{ SPLIT -adi ~/linux-poweredge }
Similarly to procmail you can omit the mail folder from the split command. This causes the split messages to go back into the mailagent queue for further processing. Most mailers with filtering capabilities can be similarly configured. If not, then you can simply install procmail. If perchance you're running a damaged OS that can't filter properly, and there is no procmail port for it, then you should either upgrade, or accept that you won't be able to filter linux-poweredge. Don't bother asking for a subject line modification.


Matt_Domsch

[Append to This Answer]
Previous: (Answer) When will (new Red Hat release / new platform) be supported/available?
This document is: http://lists.us.dell.com/cgi-bin/fom?file=60
[Search] [Appearance]
This is a Faq-O-Matic 2.719.