Grep mails by subject with shell script

Warren Turkal wt at atmos.colostate.edu
Tue Sep 12 12:41:35 EDT 2006


On Tuesday 12 September 2006 10:14, you wrote:
> So do you or someone else know of a command line mail reader where I can
> scan my mails for some criteria?
>
> I know I can search mails e.g. with thunderbird. But I want to do it with
> shell scripts under linux to make some evaluations and generate lists.

Fetchmail can connect to a IMAP server and pull the mail down to a mbox or 
maildir. This is probably the most general thing. Mail can then be 
manipulated with local tools.

wt
-- 
Warren Turkal, Research Associate III/Systems Administrator
Colorado State University, Dept. of Atmospheric Science


More information about the Info-cyrus mailing list