[CentOS] OT: Extracting Subject Lines from IMAP Mailbox

Mon Feb 16 18:50:31 UTC 2015
Tim Evans <tkevans at tkevans.com>

Looking for a command-line way to extract only the Subject lines from my 
mailbox on my ISP's IMAP server, without actually downloading/modifying 
the contents of the mailbox.  Sort of the remote equivalent of locally 
doing:

$ grep ^Subject /var/spool/mail/mymailbox > subjectlistfile

Thanks.
-- 
Tim Evans			|   5 Chestnut Court
UNIX System Admin Consulting	|   Owings Mills, MD 21117
http://www.tkevans.com/		|   443-394-3864
tkevans at tkevans.com