On Wed, Nov 07, 2001 at 09:29:40AM -0600, Jay Kline wrote:
> At the company I work for, we have a "trap all" email account, which
> collects most every piece of mail sent here.  On an average day, it
> recieves 15 to 20 thousand emails a day, and is stored in a standard 
> POP account. Because a large number of these messages are server 
> generated, all that is important is the sender email address and the 
> subject line (for most anyway)  Is there some way I can automate a 
> process that goes through these emails, and creates a text file 
> containing the email address and the subject line, without having to 
> download the whole message? (in other words, one text file on my 
> machine that would get very large very quickly- one line per 
> email/subject) Some filtering capibilities would be nice, but not 
> required. I can do that later with grep if need be.
> 
> Any help or advice would be great.

Perl has a Mail::POP3Client package that looks about right.

-- 
johntrammell at yahoo.com | 78BA 706C C5F9 9321 E7C4 933B D063 907B A88E 924B
Twin Cities Linux Users Group Mailing List (TCLUG)
Minneapolis/St. Paul, Minnesota  http://www.mn-linux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20011107/8ac65315/attachment.pgp