Dovecot

ajt on 2004-11-16T13:28:27

Over the weekened I decided to install an IMAP server on my home server. After asking around I decided to try Dovecot out. It's modern and apparently designed from the ground up to be simple and secure. I did the "apt-get" thing and Debian pulled and installed it all for me. The only configuration I had to perform was to tell it where my email is kept and that was it.

A quick google produced the correct configutation to get Mutt on my desktop system to talk with the new server, and it was done. I could use KMail, Thunderbird or some other fancy email client, but I find Mutt works perfectly well.

It's been up now for a few days without any apprent problem, and Mutt actually feels faster reading large mail boxes via IMAP than it did directly on the filesystem.


mutt + imap

Dom2 on 2004-11-16T16:15:28

Mutt actually works rather better with IMAP than I had given it credit for in the past. My main problem was simply that I was so used to quitting the whole time that I had to continually type in my password. I solved that by unbinding the quite key.

I think that there's a patch for mutt to enable IMAP header caching which will probably speed things up even more. Yep, here it is

-Dom

Re:mutt + imap

ajt on 2004-11-16T18:40:33

Cool, I'll have to investigate. Good idea about unbinding quit, I'll have to try that one out.

Re:mutt + imap

drhyde on 2004-11-17T09:49:45

Alternatively ...

# security a-go-go!
set imap_user="ajt"
set imap_pass="yourpassword"

in your .muttrc

Re:mutt + imap

ajt on 2004-11-17T11:00:03

I had though about that... I've currently got my username in the config, and did wonder about adding a password too. Seeing as I start mutt up and leave it running in it's own xterm I don't think typing in my password once extra is that much of a pain. I'm sure it's possible to do fancy LDAP stuff too if I really wanted.

Re:mutt + imap

drhyde on 2004-11-17T12:32:44

Now you've got me thinking. How about a Kerberized mutt and imapd?

Re:mutt + imap

ajt on 2004-11-17T13:32:46

I see there are patches available to make Dovecot and Mutt use Kerberos, so it should be possible...

Kerberos is good, but does anyone use it? I know M$ use a broken version of it an a broken version of LDAP in their ActiveDirectory technology.

Re:mutt + imap

drhyde on 2004-11-17T14:04:57

We use it at work, but credentials synchronisation between the Doze and Unix worlds is flakey as hell. And I'm not sure if I blame MS's version or not.

Re:mutt + imap

ajt on 2004-11-17T14:52:49

I beleieve that M$'s version is borked, but you can use the Cygwin version. I suspect it's another case of M$ "supporting" something so badly that no one actually uses it, but they still stick the logo on the box.

Re:mutt + imap

Juerd on 2004-11-16T21:28:27

In at least Debian sid(unstable)'s mutt package, that patch is already applied.

You still need to configure a cache directory manually, though:
mkdir ~/.muttcache
echo 'set header_cache=~/.muttcache' > ~/.muttrc

Re:mutt + imap

pjm on 2004-11-16T23:30:12

But be sure to backup your .muttrc before running that final command:-)

Re:mutt + imap

Juerd on 2004-11-17T09:46:35

Eh, yes. >> would have been much better :)

Re:mutt + imap

ajt on 2004-11-17T08:43:42

I'm currently running Debian "Woody" on my desktop system, and "Sarge" on my server. Now I've got the server all set up, I'll upgrade the desktop system to "Sarge" or possibly unstable as "Etch" (when it comes out). At the moment I'm in no rush, it looks like it'll be January before "Sarge" becomes stable, which is plenty of time for the price of the AMD64 system I plan to buy as my new desktop system to drop a little more, and for "Etch" on AMD64 to appear.

In the mean time I can live with the current "normal" version of Mutt, I'll try out cache when I eventually upgrade.