procmail
[Top] [All Lists]

Simple regex doesn't match

1999-09-23 06:51:28
I've read through the man pages and the FAQ, but I can't find this one.
It must be unbelievably simple, but I can't find it.

I want to rewrite the following 

To: "Kris Boulez" <krbou(_dot_)ABEG1PO1(_dot_)ABEG1DOM(_at_)pgsgent(_dot_)be>

to 

To: "Kris Boulez" <krbou(_at_)pgsgent(_dot_)be>


I thought the following procmail recipe would do this

-----------------
:0 fhbw
* ^To: abeg1
| sed -e 's/ABEG1PO1.ABEG1DOM//'
------------------------

But it doesn't. The log file says

procmail: No match on "^To: abeg1"


Can anyone help me please ?
(this is on a pretty standard RH 5.2 install)


Kris,

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