Jose Romildo Malaquias writes:
> Hello.
>
> I want to remove a prefix from the messages coming
> from a mailing list I am subscribed before saving
> the messages in its folder. Currently my procmail
> recipes for saving the message is
>
> DUMMY=`test -d linux-br || mkdir linux-br`
>
On 2000.06.29, in <[EMAIL PROTECTED]>,
"Lars Hecking" <[EMAIL PROTECTED]> wrote:
>
> D'oh. That's a job for procmail's MATCH and formail. No need for an
> external program.
No, but it's easier with an external program, because procmail's
$MATCHing is so weak. Here's my old procmail m
> % D'oh. That's a job for procmail's MATCH and formail. No need for an
> % external program.
>
> Well, I thought about that, and formail is a called program at the same
> level as sed, but I didn't know how to strip part of the Subject: line
> with formail :-)
As always, I realised that "
Romildo --
...and then Jose Romildo Malaquias said...
% On Thu, Jun 29, 2000 at 11:39:27AM -0400, David T-G wrote:
% >
% > sed -s "s/^Subject: .*(linux-br) /Subject: /"
% ^^
You're right, of course; thanks for catching my typo.
%
% As am not an experienced procmail user, would you
Lars --
...and then Lars Hecking said...
%
% > If you can comfortably accept that all Subject: lines look like
% >
% > Subject: .*(linux-br) ...
% >
% > then just turn your recipe into a clone/copy recipe and pipe the message
% > through
% >
% > sed -s "s/^Subject: .*(linux-br) /Subject:
On Thu, Jun 29, 2000 at 11:39:27AM -0400, David T-G wrote:
>
> ...and then Jose Romildo Malaquias said...
> %
> % I want to remove a prefix from the messages coming
> ...
> %
> % The subject header line comes with one of the prefixes
> % "(linux-br) ", "Re: (linux-br) ", "Re: Re: (linux-br) ",
> If you can comfortably accept that all Subject: lines look like
>
> Subject: .*(linux-br) ...
>
> then just turn your recipe into a clone/copy recipe and pipe the message
> through
>
> sed -s "s/^Subject: .*(linux-br) /Subject: /"
>
> and then proceed as normal.
D'oh. That's a job fo
* Jose Romildo Malaquias wrote on Thu, 29 Jun 2000:
[procmail question]
Please use the procmail list <[EMAIL PROTECTED]>
-Dirk
Romildo --
...and then Jose Romildo Malaquias said...
% Hello.
Hi!
%
% I want to remove a prefix from the messages coming
...
%
% The subject header line comes with one of the prefixes
% "(linux-br) ", "Re: (linux-br) ", "Re: Re: (linux-br) ",
% and so on (without the quotes).
This is reall
Hello.
I want to remove a prefix from the messages coming
from a mailing list I am subscribed before saving
the messages in its folder. Currently my procmail
recipes for saving the message is
DUMMY=`test -d linux-br || mkdir linux-br`
:0:
* ^[EMAIL PROTECTED]
linu
10 matches
Mail list logo