Description of problem: When the filesystem containing the index files fills up, the log message: Jul 27 09:01:13 chaven imap(meredith): Error rewriting mbox file /var/spool/mail/meredith: No space left on device Jul 27 09:01:13 chaven imap(meredith): write() failed with mbox file /var/spool/mail/meredith: No space left on device Incorrectly identifies the Inbox filesystem as the culprit. The FC3 version of Dovecot also implicates locking: Jul 27 09:01:13 chaven imap(meredith): mbox file /var/spool/mail/meredith was modified while we had it read-locked, make sure all your software accessing mboxes uses the same locking methods (fcntl, flock, dotlock) Version-Release number of selected component (if applicable): dovecot-0.99.11-2.EL4.1 or dovecot-0.99.13-3.FC3 How reproducible: Every time Steps to Reproduce: 1. Set dovecot up with the mailbox filesystem on one filesystem and the index files on another 2. Fill up the index filesystem 3. Try and read your mail 4. Check /var/log/maillog Actual results: The log entries seen above Expected results: Log entries referencing the filled filesystem. Additional info:
I have probably identified the change between 0.99.11 and 0.99.13 that makes the difference in the logs and will be testing it now. Precise steps to reproduce the faulty behavior: S enable pop3 and set "default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u:INDEX=/var/indexes/%u" in the dovecot.conf S mount /second/device /var/indexes S service dovecot start C telnet localhost 110; USER foo, PASS bar, LIST, QUIT (it creates initial structures under /var/indexes/dan/.imap/INBOX) S dd if=/dev/zero of=/var/indexes/big_file S/C mail foo C telnet localhost 110; USER foo, PASS bar => ERR no inbox + messages on the server
I can't get the messages you were seeing on FC-3, but the main issue is reproduceable.
I'm sorry for not addressing the issue in RHEL-4. As dovecot is not scheduled for update in RHEL-4.9, I'm closing that bugzilla WONTFIX. If you are still experiencing the issue with RHEL-5, feel free to reopen it against RHEL-5.