On Thu, Feb 13, 2003 at 08:53:04PM -0500, KHIMAIRA ~ Linda Campbell wrote:
I have looked through the FAQs and can't seem to find a way to add some designated text to the subject line for list mail. It would be a great help to our clients who want to identify their lists with some text. Can someone please point me in the right direction?
It's documented somewhere but it isn't easy to find. What I do is this. Add to the file rc.local.s20 the following recipe: SUBJ=`formail -zx Subject:` # extract the subject :0 fw * ! Subject:.*\[list name\] * ! Subject:.Re: \[list name\] * | formail -I "Subject: [list name] $SUBJ" Then uncomment the line near the endo of rc.custom that says: RC_LOCAL_SUBMIT_20 = rc.local.s20 Now I'll be the first to tell you that this isn't perfect, because sometimes peoples "Re:" prefixes on their replies are a little different than this expects or the list is carboned on a message to some other list or some such thing so that the subject line looks a little different and so you occasionally get message that have a subject line like "Re; [list name] RE: [list name] or whatever. But in my experience it doesn't happen too often. You might find differently however. I keep meaning to fancy it up a bit to try to catch some of those anomalies, and in fact I've seen one or two slick recipes somewhere to do just that, but lethargy prevails. There are those on this list who will argue strenuously that you oughtn't to do this at all, but many like it and so there you are. Don MacDougall
Thank you very much, Don! That was easy and everyone's happy :) I am a little curious why there would be objections to doing it. Thanks, Linda -----Original Message----- From: smartlist-admin@Lists.RWTH-Aachen.DE [mailto:smartlist-admin@Lists.RWTH-Aachen.DE]On Behalf Of Donald MacDougall Sent: Thursday, February 13, 2003 11:50 PM To: KHIMAIRA ~ Linda Campbell Cc: smartlist@Lists.RWTH-Aachen.DE Subject: Re: Subject line On Thu, Feb 13, 2003 at 08:53:04PM -0500, KHIMAIRA ~ Linda Campbell wrote:
I have looked through the FAQs and can't seem to find a way to add some designated text to the subject line for list mail. It would be a great
help
to our clients who want to identify their lists with some text. Can someone please point me in the right direction?
It's documented somewhere but it isn't easy to find. What I do is this.
This list is very helpful. It would be nice, however, if I could easily distinguish messages from the list by some text in the subject line. I end up having to spend extra time checking incoming messages through my spam filter. How about: "[smartlist]" in the subject line. Peace, Gyan Life is a mystery to be lived, not a problem to be solved. -- Osho. ¤º°`°º¤º°`°º¤o,,,,o¤º°`°º¤o¤º°`°º¤o,,,,o¤º°`°º¤o¤º°`°º¤ Gyan Penrose-Kafka * gyan@zenmonkey.net * ICQ # 37394131 P.O. Box 232092, Encinitas, CA 92023 USA -- tel: +760.613-4926 ¤º°`°º¤º°`°º¤o,,,,o¤º°`°º¤o¤º°`°º¤o,,,,o¤º°`°º¤o¤º°`°º¤ For my PGP key send a message to pgpkey@zenmonkey.net
On [2003-Feb-19] KHIMAIRA ~ Linda Campbell <Linda@khimaira.com> wrote:
Thank you very much, Don! That was easy and everyone's happy :) I am a little curious why there would be objections to doing it. Thanks,
Mostly because it is entirely unnecessary. All modern email clients that I know of let you filter your email into individual directories/folders. So, you can easily have a [smartlist] folder and a [photoshop] folder based on information in the headers that is already unique to that email list without adding extra text to the subject line (which I then have to strip off before I file my email). Rich -- richard_ball@merck.com (I regret the presence of the legal disclaimer but I have no control over it) ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ==============================================================================
At 3:47 PM -0500 2/19/03, Richard G. Ball is rumored to have typed:
Mostly because it is entirely unnecessary. All modern email clients that I know of let you filter your email into individual directories/folders.
The one I'm using now is six years old, and it allows for this filtering. Since this list is run via mailman (yeah, I know, the irony), the X-BeenThere: header field is probably the preferred, although any of the List-*: header fields would work as well. For SmartList mailing lists, the X-Loop: header field is preferred.
So, you can easily have a [smartlist] folder and a [photoshop] folder based on information in the headers that is already unique to that email list without adding extra text to the subject line (which I then have to strip off before I file my email).
Yeah, I have an entire rc.mailinglist file filled with nothing but recipies removing subject munges, removing footers, correcting list-added Reply-To: header fields which destroy the ability to properly reply to postings, etc., etc. NONE of this nonsense is necessary, IMHO, and the munges end up making it _more_ difficult for anyone willing to spend a few moments reading the documentation to their email client to properly manage their mail. Charlie Summers
Charlie Summers wrote:
For SmartList mailing lists, the X-Loop: header field is preferred.
Actually, if the smartlist version is not too old, any of the List-* headers is more reliable than X-Loop, which may appear several times if, for example, a list is subscribed to another one.
Thanks for the insight. I usually get an average of 2000 messages a day, and do use filters extensively, but with the sheer volume of mail and variety of subjects, I've found it to be more efficient to have lesser traffic listmail not going into other directories. Those will come into the main directory and then I can delete quickly from there. Thanks again for the help, Linda -----Original Message----- From: smartlist-bounces@lists.RWTH-Aachen.DE [mailto:smartlist-bounces@lists.RWTH-Aachen.DE]On Behalf Of Richard G. Ball Sent: Wednesday, February 19, 2003 3:48 PM To: smartlist@lists.RWTH-Aachen.DE Subject: Re: Subject line Mostly because it is entirely unnecessary. All modern email clients that I know of let you filter your email into individual directories/folders. So, you can easily have a [smartlist] folder and a [photoshop] folder based on information in the headers that is already unique to that email list without adding extra text to the subject line (which I then have to strip off before I file my email). Rich --
Le Thu, 13 Feb 2003 20:49:31 -0800 Donald MacDougall <dmacdoug@usc.edu> a écrit:
It's documented somewhere but it isn't easy to find. What I do is this.
As far I know, the official method is done by activating the "$subject_flag" lines in your rc.ini and rc.custom files, and use the rc.local.s10 files to put your recipes about subject line updates. For information, I have rewritten this recipe, in order to correct some usual problems : "[listname] Re:" instead of "Re: [listname]", "[listname] Re: Re: ...", "[listname] Re: [listname] ", etc.. Some of these problems being due, for example, to more or less strict implantations of RFC 2047 (MIME header extensions) by several sending mail clients, causing the brackets surrounding "listname" to not be detected, because these characters are converted in their QP equivalent... This recipe works flawlessly on my lists since more than two years. ----- start of rc.local.s10 SUBJ=`formail -zx Subject: | sed "s/\[$subject_flag\]//g" | sed "s/\_=5B$subject_flag=5D//g"| sed "s/R[Ee]:[ ]*R[Ee]: */Re: /"` # extract the subject :0fw * ! ^Subject:.*\[$subject_flag\] | formail -I "Subject: [$subject_flag] $SUBJ" ------- end of rc.local.s10 (notes : - the two lines under the "SUBJ=" line must be joined with this one. - in the "s/R[Ee]:[ ]*R[Ee]:" expression, the "[ ]" part pust be typed as "[<space><tab>]") Jacques. -- The last man connected to the Net was browsing some old WebSites. "You have new mail" appeared on the screen... --------------------------- adapted from a short Fredric Brown's story
participants (7)
-
Charlie Summers
-
Donald MacDougall
-
Gyan Penrose-Kafka
-
Jacques Belin
-
KHIMAIRA ~ Linda Campbell
-
Richard G. Ball
-
Santiago Vila