procmail
[Top] [All Lists]

Other tools?

1997-03-02 07:33:01
This is only vaguely related to the procmail list, but I figured someone
here might be able to help.

Until yesterday, all my mail was stored on an IMAP4 server, and procmail
was setup up to filter mail into folders on the server.  This had
several advantages (didn't use local disk space, remote access to
multiple mail folders from a Mac-based IMAP client, or from any Unix
host via pine, etc.).  I wrote a command-line client that, among other
things, let me make use of the IMAP4 'SEARCH' command.  This let me do
things like:

* display the number of new (recent + unseen) messages in every mailbox,
or
  in a specific mailbox.

* show a summary line of ever message received since 27-Feb-1997 that
contains
  the text "zoot" in the subject line.

* move every message in sent before 1-March-1997 into a folder
  called "sent-mail-0297".

* delete any messages older than 7 days (this actually required an
  intervening program to generate the date, but was still relatively
  easy).

In the past few days, the host acting as my IMAP server has been up and
down like a kangaroo on caffeine, so I've rewritten all my procmail rc
files to filter mail to local mailboxes, instead.

Now I'm trying to find some sort of tool that will let me deal as
flexibly with mail in local folders as I was able to deal with remote
folders on the IMAP server.  Specifically, this tool needs to
"understand" dates, it needs to operate directly on mail files, and it
needs to be controlled from the command line, rather than from
configuration files.

Any thoughts?  If you know of a freely available IMAP4 server, that
would be just fine.  I've played with the imap2bis server distributed
with pine 3.95, and it's "close but not quite" -- it doesn't appear to
support the crucial date-related arguments to the SEARCH command.

--Lars

<Prev in Thread] Current Thread [Next in Thread>