[NTLUG:Discuss] Email scanner

Patrick R. Michaud pmichaud at pobox.com
Tue Jul 11 07:57:42 CDT 2006


On Tue, Jul 11, 2006 at 12:51:09AM -0500, Chris Cox wrote:
> Greg Edwards wrote:
> > Does anyone know of any OSS tools, with source, that scans email files?  I 
> > need to extract To: and From: addresses.  I'm lazy and if the wheel 
> > already exists ;)  It's not a complicated program, just time consuming.
> > 
> > I'd prefer it written in C, C++ would be ok, if necessary.  It needs to be 
> > a binary, not scripted, solution.
> 
> grepmail maybe?
> It's perl...

How about formail?  It normally comes as part of the procmail
distribution.

    formail -x From -x To -c <email

Pm



More information about the Discuss mailing list