UW IMAP Utilities
Chapter 18, IMAP Tools , lists a variety of tools to perform nearly every common IMAP task. The UW IMAP Utilities are available at ftp://ftp.cac.washington.edu/imap/imap-utils.tar.Z. Download and unpack the tools at the same level as your UW IMAP source:
%lynx âdump ftp://ftp.cac.washington.edu/imap/imap-utils.tar.Z | uncompress |
tar xvf -
Youâll see several subdirectories. Each subdirectory has the source code for a separate utility. Change to the utility subdirectory and build the utility:
%cd chkmail
%make
In each utility subdirectory, youâll find a manual page describing the purpose and usage of the utility. Hereâs a brief description of the utilities:
- chkmail
chkmail is a utility for checking how many messages in a given mailbox have the Recent flag set. Any mailbox that can be described in C-Client mailbox syntax (as in the PINE configuration) can be checked for new messages with this utility.
- dmail
dmail is a drop-in replacement for binmail. Itâs intended for use as a local delivery agent in every case except as an MDA used by the transport agent. Essentially, dmail is intended for use in user processes, and tmail is intended for use in server processes.
- icat
An IMAP version of
/bin/cat
, icat can be used to display all the messages in a given folder in a single output stream. Users may also filter based on flags, dates, or other header values. icat is an excellent tool for migrating mailboxes away from proprietary or monolithic mailstores ...
Get Managing IMAP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.