On Thu, 26 Oct 2006, Josko Plazonic wrote:
Normally, the UW IMAP software creates traditional mailbox format files
with the internal DON'T DELETE message, so this issue only affects those
sites which use external software to manipulate the files. The fact that
nobody encountered it until now suggests that community is rather small.
You'd think so but I initially encountered it in the following scenario. If
an account is using mbox driver it seems like in the current version the
driver will move emails from /var/spool/mail/username into mbox file and then
leave /var/spool/mail/username with 0 length. If you now move an email into
inbox imapd will attempt to add it to /var/spool/mail/username and crash.
Doesn't this scenario require the removal of ~/mbox prior to moving a
message into inbox? If there's an ~/mbox, then moving a message to inbox
should move to ~/mbox rather than the spool file.
Because people complained about the DON'T DELETE message being left in the
spool file after it was drained, the "snarf" code which moves mail from
the spool file to an alternative INBOX was changed to empty the spool
file. The Law of Unintended Consequences bites again!
-- Mark --
http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw