List:MySQL++« Previous MessageNext Message »
From:Jim Graf Date:March 15 2011 7:32pm
Subject:Re: List subject prefix
View as plain text  
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

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