procmail
[Top] [All Lists]

Re: Quick fix

2000-12-08 12:35:31
from kipt(_at_)wcc2(_dot_)wcc(_dot_)net on Fri, Dec \
08, 2000 at 11:20:11AM -0600

Kip Turk:

Can someone give me a quick fix to block the following text in the
body of a message?

Software provide by [MATRiX] VX team:
Ultras, Mort, Nbk, LOrd DArk, Del-Armg0, Anaktos
Greetz:
All VX guy on #virus channel and Vecna
Visit us: www.coderz.net/matrix

<snip>

Hi Kip,

I would use sed.  Note that I'm not very good with procmail, but I
would expect something that looks like this would work:

:0 Bf
* Software provide by [MATRiX] VX team:
| sed '/Software provide by [MATRiX] VX team:/,/Visit us: 
www.coderz.net\/matrix/d'

(you might have to escape the '[]'s)

I know the pipe part of it works.

By the way, why would that appear in the body of your mail in the
first place?

take care,

Cory

Attachment: pgpuLcDnxi6Fa.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>