procmail recipe to change the Subject

procmail recipe to change the Subject

am 11.06.2005 22:26:35 von Bogart

How can I insert a tag in the subject line
in front of the existing subject (for example
like lists often do) ?

bogey

Re: procmail recipe to change the Subject

am 11.06.2005 23:24:10 von Alan Connor

On comp.mail.misc, in <42ab48f7$0$2025$ed2e19e4@ptn-nntp-reader04.plus.net>, "Bogart" wrote:
>
>
> How can I insert a tag in the subject line
> in front of the existing subject (for example
> like lists often do) ?
>
> bogey

No valid email address and no NNTP-Posting-Host IP, and
you are out of luck.

If you are not a spammer or troll, there is no need to
hide your identity like you are.

And by-the-way: Stay out of my mailboxes. That's an
order, not a request, and my mail filter will enforce
it without even telling me about it.

AC

--
alanconnor AT earthlink DOT net
Use your real return address or I'll never know you
even tried to mail me. http://tinyurl.com/2t5kp
~

Re: procmail recipe to change the Subject

am 11.06.2005 23:44:13 von Neil Woods

>>>>> Bogart writes:

> How can I insert a tag in the subject line
> in front of the existing subject (for example
> like lists often do) ?

Assuming you want to add the tag "[TAG]" to subject lines, something like
the following should do the trick:

:0 fhw
* ^Subject: \/.*
| formail -I "Subject: [TAG] $MATCH"


--
Neil

Re: procmail recipe to change the Subject

am 13.06.2005 18:31:05 von AK

Bogart wrote:

> How can I insert a tag in the subject line
> in front of the existing subject (for example
> like lists often do) ?
>
> bogey

You would need to use formail to extract the subject into a variable and
then use formail as a filter to update the Subject line

i.e.
SUBJECT=`formail -zx "Subject:"`
:0fwh
|/usr/local/bin/formail -b -a -I"Subject: [prefix here]$SUBJECT"

AK

Re: procmail recipe to change the Subject

am 16.06.2005 08:34:50 von Adam

In article <_DIqe.2723$hK3.2168@newsread3.news.pas.earthlink.net>
Alan Connor wrote:

>On comp.mail.misc, in <42ab48f7$0$2025$ed2e19e4@ptn-nntp-reader04.plus.net>, "Bogart" wrote:
>>
>>
>> How can I insert a tag in the subject line
>> in front of the existing subject (for example
>> like lists often do) ?
>>
>> bogey
>
>No valid email address

Yours is not valid either, hypocrite.

>and no NNTP-Posting-Host IP,


That is not his choice, idiot.
His ISP or NSP determines if that header should be allowed in the posts
from their servers.

>and you are out of luck.
>

So you won't help him?
Big deal, and you don't help anyway, you just spam.


>If you are not a spammer or troll, there is no need to
>hide your identity like you are.

You mean like you did?
Generic "Alan Connor" name and zzzzzz@xxx.yyy "email"?

For we know, you could be using a hijacked Earthlink news server/account
or poxying though it.


>And by-the-way: Stay out of my mailboxes.


Why would someone email a certified kook like you?

Never mind you are not aware that you are not providing a VALID email
address to be emailed, ya dummy.

>That's an
>order, not a request, and my mail filter will enforce
>it without even telling me about it.

Is that why you spam us all time with entries from your logs?
Stop sniffing glue.