1 message in net.sourceforge.lists.courier-users[courier-users] Debugging "[ALERT] CO...
FromSent OnAttachments
Greg EarleDec 22, 2004 5:26 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Debugging "[ALERT] COPY failed - no write permission or out of disk space"Actions...
From:Greg Earle (ear@isolar.DynDNS.ORG)
Date:Dec 22, 2004 5:26:10 pm
List:net.sourceforge.lists.courier-users

A user at work is getting these errors in Eudora "5-10 times a day":

"Could not transfer message. 17 [ALERT] COPY failed - no write permission or out of disk space"

Looking at imap/imapd.c (Courier 0.44.2, in this case), it looks like an attempt to copy a message is failing, but the error above makes no sense - there's plenty of disk space (400 GB free), the user owns - and has user/write permission on - all files & directories under her Maildir, and "/tmp" and "/var/tmp" have the correct permissions. Disk quotas are not being used.

There is nothing in "/var/log/syslog" (Solaris 9) when these errors occur.

No one else seems to be reporting these errors. (How is one supposed to debug a problem like this? I have no idea why she's getting these and no one else is.)

In looking at the code, it's not at all clear to me which function failed (uidplus_fill() or do_msgset()), and I'm wondering if it's possible to syslog a diagnostic at this point somehow.

Interestingly, there are two lines in the test suite's "testsuite.txt" output:

000587 i012 NO [ALERT] Cannot create message - no write permission or out of disk space. 000588 i013 NO [ALERT] COPY failed - no write permission or out of disk space.

but when I run "imap/testsuite" myself, I don't get those two lines - I get

000587 + OK 000588 i012 NO Error in IMAP command received by server.

Any suggestions? Permissions problem somewhere under ~/Maildir? Group-ownership, group-writable problem?

- Greg