Re: [exim] Greping MBOX files for messages

Pàgina inicial
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
A: exim-users
Assumpte: Re: [exim] Greping MBOX files for messages
Marc Perkel <marc@???> (Fr 12 Mai 2006 15:19:27 CEST):
> Looking for a simple script. I'm storing some messages in MBOX format
> and I want to grep the file and produce a second MBOX file that contains
> only message that have the search string. I need to whole message not
> just the string that matches.


Have a look at "formail", esp. the "-s" option.


    Best regards from Dresden
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -