Description of Problem:
The mbox driver of imap is broken -- it does not move read mail into
~/mbox, nor it reads ~/mbox at all.
Steps to Reproduce:
1.send e-mail (to $USER), see it in /vars/spool/mail/$USER
2. as $USER, read it through imap
mail still in /var/spool/mail/$USER
mail moved to ~/mbox
Imap compiled from scratch works as expected.
This seems to have been a deliberate decision. If you install (with 'rpm
--install') the imap source RPM and look in /usr/src/redhat/SOURCES, you'll
see a file imap-2000-redhat.patch which deliberately patches away the mbox
handling. I built a new version with this patch removed and it works fine.
The disabling of the mbox driver was intentional, and is not a bug. I've
got my own reasons for not wanting to re-enable the mbox driver, although
I don't know why Nalin disabled it initially as that predates my employment.
I've Cc'd Nalin so he can comment, but I'm closing the bug report as I don't
consider it a bug.
OK, it isn't a bug, but I'd like to gently suggest it may have been a bad
decision. If no mode 0600 file named 'mbox' exists in a user's home directory,
imapd doesn't use the mbox driver, so no real harm is done if it is enabled by
default. In addition, disabling it by default requires those of us who use the
functionality to rebuild imapd from source; the behavior can't be changed by
simply editing a config file somewhere.