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.