Ruby and maildir

  • Thread starter mithrandir2003cz
  • Start date
M

mithrandir2003cz

Hi, Does anybody know about ruby library for working with maildirs?

I checked RAA but I found nothing :-(

--
Michal Koudelka
(e-mail address removed)

ICQ : 192421460
YAHOO : mithrandir2003cz
AIM : mithrandir2003cz
MSN : (e-mail address removed)
JABBER : (e-mail address removed)

Being Ymor's right-hand man was like being gently flogged to death with
scented bootlaces.
-- Terry Pratchett, "The Colour of Magic"
 
D

Dido Sevilla

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.
 
M

Matt Armstrong

Dido Sevilla said:
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 (e-mail address removed) suggests above, it isn't that hard
to work with Maildirs since each message is in an individual file.
 
P

Phil Tomson

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)

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,244
Members
46,839
Latest member
MartinaBur

Latest Threads

Top