imapd supporting mbox files?

ask on 2003-04-07T10:06:40

Is there any decent imapd that supports mailbox spools? I want to access my mail via imap, but I am not ready to convert 100% to Maildirs. Too many mailboxes with too many thousand mails on a slow FreeBSD box.

I tried uw-imap-2002. What a pile of @#$%@#$. Just check the way you configure it to not use your ~home as the the mail directory. (Wanting to change that is apparently a "non-standard" thing).

If your system is non-standard, virtually everything that you are likely to want to modify can be found in the source file
.../src/osdep/unix/env_unix.c
[...]
Example 1: suppose your mailer delivers mail to file ".mailbox" in the user's home directory instead of the default UNIX mail spool directory. You will want to change routine sysinbox(), changing the line that reads:
sprintf (tmp,"%s/%s",MAILSPOOL,myusername ());
to be:
sprintf (tmp,"%s/.mailbox",myhomedir ());
[...]
static char *mailsubdir = NIL; /* mail subdirectory name */
to be:
static char *mailsubdir = "mail";/* mail subdirectory name */
What is this 1993?!

FreeBSD ports doesn't seem to have an easy option to set this, so I went through the hassle of making a new patch with my "configuration", plugging it into files/ etc etc. Of course the newly compiled imapd just ignored it and continued to use /home/user/ as the mail directory with a .bashrc showing up as a mailbox. Brilliant. (Yes, the patch did apply).

So, what am I to do? courier-imap is Maildir only (but otherwise ok, I've used it before). Cyrus is so badly documented that I barely even know where to start. In particular then it's entirely non-obvious if cyrus requires it own funky format storage or if it can use a standard mail store of some kind.

Hmpfr. Seems like I'm off to upgrading the mail server and using Maildirs; that'll be much better anyway.

Original entry with images and comments and stuff....