[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] mh access via imap (and mhaildirsync 0.2)

From: Chris Garrigues
Subject: Re: [Nmh-workers] mh access via imap (and mhaildirsync 0.2)
Date: Tue, 8 Jul 2008 08:54:42 -0500

No updates since the 0.2 version.  It's been working great for me.


On Jul 8, 2008, at 8:37 AM, Paul Fox wrote:

joel wrote:
I have some users who would like to be able to use a webmail client (e.g., SquirrelMail) when they can't log in to read their mail with nmh. Webmail clients tend to use IMAP servers for storage. I don't know of any way to configure nmh to use an IMAP server for storage (nor do I really want that), nor do I know of any webmail clients which use MH directories for storage.

One way to solve this would be to have an IMAP server which uses the user's Mail/ for storage. Has anyone here faced this problem before? Does such a
beast already exist?

chris garrigues posted his "mhaildirsync" script here some time
ago.  i've played with it a few times, but imap access has never
reached the level of "must have" for me, so i've never finished
implementing it in my mail flow.

essentially what mhaildirsync does is periodically (frequently)
sync a hard-linked tree between an mh datastore (the primary
store) to a Maildir store (which can be served by imap).

chris initially published version 0.1, but sent me a second
version privately when i expressed interest.  i'll attach that
version below, but chris may have a more recent version.


chris' words:
Date:    Wed, 21 Jun 2006 16:13:25 CDT
To:      address@hidden
From:    Chris Garrigues <address@hidden>
Subject: [Nmh-workers] mhaildirsync 0.1

I have recently written a Perl script to synchronize my MH
hierarchy with a Maildir++.  since MH and Maildir++ both keep
messages in separate files, this could be implemented entirely
using hard links so it takes little hard drive space and runs
quickly (for a Perl script).  A message can be added to or
removed from any folder in either hierarchy and the change
will be propagated to the other hierarchy.  Maildir flags are
mapped into a subset of MH sequences.

I am an exmh user and every time I've tried to move away from
it, I've become frustrated with the poor job other MUAs do
handling a mail hierarchy as complex as mine.  On the other
hand, the ability to occasionally access my email from a fully
MIME-savvy mail reader on either my PC or my Mac can be very

This script allows me to go back and forth between MH and IMAP
environments with ease.  I couldn't get an MH-based IMAP
server to work, so I did this instead.  Besides, my other
users are using a courier-imap and I didn't really want to run
another IMAP server on a funny port just for me.

I run this on my mail server every 2 minutes with cron.

paul fox, address@hidden (arlington, ma, where it's 75.0 degrees)

Nmh-workers mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]