procmail
[Top] [All Lists]

Re: No match on Invalid recipient:

2001-09-03 00:18:18
In your message regarding No match on Invalid recipient: dated Sat, 1 Sep
2001 18:33:33 +0700, Tim Rice said that ...

 Hello all,
 
 I'm trying to match the Invalid recipient: 
<whatever(_at_)somewhere(_dot_)net>
 in the body and add the address between the <> to a file.

I see now I should be using egrep so I tried:
:0HB:
* ^Subject: *failure notice
| egrep -is [To: \/] ; $MATCH >> $HOME/.blacklistglobal

But of course this doesn't work. I just cant figure out the proper use of
grep & MATCH. The [To:] I'm trying to grep is in the body, not the header.

Any help would be appreciated.

Thanks

-- 
Best Regards,

Tim Rice
---------------
Stationery & Stuff
Phuket Thailand
http://www.thaistuff.com
http://www.computerstuff.net
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail