I use rubymail (http://www.lickey.com/rubymail/\). Maildirs are a
helluvalot simpler than mboxes. A maildir is simply a directory with
three standard subdirectories under it named cur, new, and tmp. Each
of these directories contains one file per mail message, with a name
based on the epoch time. Rubymail + the standard library is more than
adequate to do any reasonable manipulation of a maildir very easily,
without an explosion of complexity.
···
On Mon, 7 Feb 2005 09:13:42 +0900, mithrandir2003cz@gmail.com <mithrandir2003cz@gmail.com> wrote:
Hi, Does anybody know about ruby library for working with maildirs?
Hi, Does anybody know about ruby library for working with maildirs?
I checked RAA but I found nothing
I use rubymail (http://www.lickey.com/rubymail/\). Maildirs are a
helluvalot simpler than mboxes. A maildir is simply a directory with
three standard subdirectories under it named cur, new, and tmp. Each
of these directories contains one file per mail message, with a name
based on the epoch time. Rubymail + the standard library is more
than adequate to do any reasonable manipulation of a maildir very
easily, without an explosion of complexity.
RubyFilter (at http://www.lickey.com/rubyfilter/ ) can deliver new
mail to a Maildir. But neither RubyMail nor RubyFilter has code for
actually reading mail from a maildir (e.g. moving messages from "new"
to "cur", properly processing "tmp", etc. according to the Maildir
spec). That would be an interesting project!
But as mithrandir2003cz@gmail.com suggests above, it isn't that hard
to work with Maildirs since each message is in an individual file.
···
On Mon, 7 Feb 2005 09:13:42 +0900, mithrandir2003cz@gmail.com > <mithrandir2003cz@gmail.com> wrote:
In article <fd55348f050206175951105ccc@mail.gmail.com>,
···
Dido Sevilla <dido.sevilla@gmail.com> wrote:
On Mon, 7 Feb 2005 09:13:42 +0900, mithrandir2003cz@gmail.com ><mithrandir2003cz@gmail.com> wrote:
Hi, Does anybody know about ruby library for working with maildirs?
I checked RAA but I found nothing
I use rubymail (http://www.lickey.com/rubymail/\). Maildirs are a
helluvalot simpler than mboxes. A maildir is simply a directory with
three standard subdirectories under it named cur, new, and tmp. Each
of these directories contains one file per mail message, with a name
based on the epoch time. Rubymail + the standard library is more than
adequate to do any reasonable manipulation of a maildir very easily,
without an explosion of complexity.
Sounds interesting... are there any utilities to translate mailboxes of
various sorts to mildirs? (like from the OSX mail program mboxes to
maildirs)