Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Exmh, Evolution, Pine, and MH mailboxes



I've been using exmh for years as my mail reader, and there's a certain
amount of pain associated with trying to switch to something else, mostly
because of the difficulty of syncing between multiple mailboxes.

However, earlier today I was playing with pine, and got it to work natively
with my exmh folders, and when poking around in Evolution I found it
supported mh-style folders too. Its support wasn't transparent, but
a couple symlinks were enough to make it work.

Here's what it took:

For pine, I edited ~/.pinerc and changed two lines:

    inbox-path=#mhinbox
    folder-collections=#mh/[]

When I sent a message, it created the mh folder "sent-mail".

For Evolution, I opened the Inbox folder, then selected the menu option
"File->Folder->Properties" and set the mailbox type to "mh". I then
quit from Evolution and explored its directory structure.

The Inbox folder is located in ~/evolution/local/Inbox, and originally 
contained a couple of xml files and a file "mbox" containing a bunch of 
mail messages in mbox format. These were the test messages I had sent 
myself yesterday when I was trying out Evolution. After changing the 
preferences, the xml files were still there, and the mbox file had been
converted into an MH mail directory named "mbox". There was also a
couple of new index files.

Since there was nothing worth keeping there, I just deleted the mbox
directory and the index files, then created a symlink to ~/Mail/inbox
and named it mbox. When I started up evolution after that, it worked
perfectly. After that I converted the other mail folders the same way.

With this setup, I can now switch between exmh, evolution, and pine 
transparently. I had originally started this project by looking for
a way to make exmh talk to an IMAP server. Now I think it might be
better to go the other way: to find an IMAP server that can sit on
top of nmh the way exmh does. That would make it possible to add
the Mozilla mail client to this setup. 

-- 
John Abreau / Executive Director, Boston Linux & Unix 
ICQ 28611923 / AIM abreauj / JABBER jabr at jabber.org / YAHOO abreauj
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 344 bytes
Desc: not available
URL: <http://lists.blu.org/pipermail/discuss/attachments/20020513/17ef090e/attachment.sig>



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org