List:MySQL++« Previous MessageNext Message »
From:Ruben Safir Date:March 16 2011 6:22am
Subject:Re: List subject prefix
View as plain text  
On Tue, Mar 15, 2011 at 12:32:13PM -0700, Jim Graf wrote:
> On Tue, Mar 15, 2011 at 11:24 AM, Tomalak Geret'kal <tom@stripped> wrote:
> 
> > On 15/03/2011 18:22, Chris Frey wrote:
> >
> >> On Tue, Mar 15, 2011 at 10:45:43AM +0000, Tomalak Geret'kal wrote:
> >>
> >>> Hi,
> >>>
> >>> Could this list be configured to prefix "[MySqlPP] " or
> >>> somesuch to the beginning of email subject lines please?
> >>>
> >>
> >> If you're looking for automatic filtering options, there is a header
> >> for that, which might help you:
> >>
> >>        List-ID:<plusplus.mysql.com>
> >>
> >> - Chris
> >>
> >>
> >>
> > No, I'm looking for a prefix to go in the subject line.
> >
> > Tom
> >
> >
> Use procmail:
> 
> 
> SUBJ_=`formail -xSubject: \
>        | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'`
> 
> :0
> * List-ID:.*plus.mysql.com
> {
>   # filter the Reply-To: line so it goes to the list, not the sender
>   :0hfW
>   | formail -Ybi "Reply-To: plusplus@stripped" -i "Subject: [MySqlPP]
> ${SUBJ_}"
> }
> 
> Works for me, but I don't use this. I use gmail Labels and filter on
> List-ID: plus.mysql.com
> 
> -jim


I love procmail reciepes.  Makes C++ seem like a cakewalk
-- 
http://www.mrbrklyn.com - Interesting Stuff
http://www.nylxs.com - Leadership Development in Free Software

So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches
mythological proportions in the mind of the world  - RI Safir 1998

http://fairuse.nylxs.com  DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002

"Yeah - I write Free Software...so SUE ME"

"The tremendous problem we face is that we are becoming sharecroppers to our own cultural
heritage -- we need the ability to participate in our own society."

"> I'm an engineer. I choose the best tool for the job, politics be damned.<
You must be a stupid engineer then, because politcs and technology have been attached at
the hip since the 1st dynasty in Ancient Egypt.  I guess you missed that one."

© Copyright for the Digital Millennium
Thread
List subject prefixTomalak Geret'kal15 Mar
  • Re: List subject prefixChris Frey15 Mar
    • Re: List subject prefixTomalak Geret'kal15 Mar
      • Re: List subject prefixJim Graf15 Mar
        • Re: List subject prefixTomalak Geret'kal15 Mar
          • Re: List subject prefixRuben Safir16 Mar
            • Re: List subject prefixTomalak Geret'kal16 Mar
              • Re: List subject prefixJoel Fielder16 Mar
                • Re: List subject prefixTomalak Geret'kal16 Mar
                  • Now off topic - Re: List subject prefixJoel Fielder16 Mar
        • Re: List subject prefixRuben Safir16 Mar
Re: List subject prefixDino Korah16 Mar