This may be an IMAP issue instead of a PHP issue, but y'all seem so bright and experienced you may have experienced this.
I am trying to add "save sent message" functionality to my PHP webmail program, and I'm having a little trouble with the IMAP quota system.
This request:
$mbox = imap_open("{myserver.com/imap:143}","testuser","pwd",OP_HALFOPEN)
imap_createmailbox($mbox,imap_utf7_encode("{myserver.com/imap:143}INBOX.Sent"))
Returns (imap_errors()):
CREATE failed: Can't create mailbox /usr/home/testuser/INBOX.Sent: Disc quota exceeded
User "testuser" has no quota limitations set in its mailbox properties, and even if I set the "mail" folder containing that mailbox to 777 permissions, and give "testuser" a huge quota (instead of "infinite"), I get the same error.
Collecting mail from this mailbox is always successful. It is the creation of new folders within that box that has me stymied.
System Information:
FreeBSD 4.2 running Apache 1.3.12
OUR DOMAIN IS AN APACHE "VIRTUAL" DOMAIN!
PHP 4.0.6 with IMAP 4.1 enabled
mySQL 3.23.42 (not used by this app)
I have no PHP instructions to GETQUOTA anywhere (in the .INI file or otherwise)
We usually administer the account as a pseudo "root" user, although since our account is "virtual" we are not the "real" root user, which is the hosting company administrator of our "virtual server".
Any thoughts will be greatly appreciated. Thanks!