Submitted by SteveHeinsch on Mon, 02/21/2011 - 10:13
A client informed me he is unable to use his email via macmail. He went to usermin to see what was up and receives this error:
HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Mon, 21 Feb 2011 16:07:14 GMT Content-type: text/html Connection: close Error - Perl execution failed
Can't use an undefined value as a symbol reference at /usr/libexec/usermin/mailbox/folders-lib.pl line 1983, line 2.
How do I resolve this?
Status:
Active
Comments
Submitted by SteveHeinsch on Mon, 02/21/2011 - 10:56 Comment #1
This was apparently due to a quota issue as it went away as soon as I upped it.
Submitted by JamieCameron on Mon, 02/21/2011 - 12:58 Comment #2
Yes, this can happen if a domain goes over quota. The next virtualmin release will add extra protection against this.
Submitted by SteveHeinsch on Mon, 02/21/2011 - 20:02 Comment #3
Some of these clients are still having problems. Upping the quota partially fixed it, but now some of them receive this message:
The IMAP command “UID COPY” (to Deleted Messages) failed for the mailbox “INBOX” with server error: Internal error occurred. Refer to server log for more information. [2011-02-21 16:29:17].
The log reveals:
Feb 21 16:29:17 xxx dovecot: IMAP(xxx@xxx.com): file size unexpectedly shrinked in mbox file /home/xxx/homes/xxx/mail/Deleted Messages (147301 vs 167191)
I'm assuming hitting the quota triggered this problem? Maybe dovecot was recording that it was receiving these emails but the quota enforcement wouldn't write them to file so the filesizes are mismatched? I don't know. How do I fix it? Google isn't providing much info.
Thanks, Steve
Submitted by JamieCameron on Mon, 02/21/2011 - 20:11 Comment #4
Is the domain or user in question still over quota?
From those errors, it looks like it might be .. and this is stopping email from being written to the "Deleted Messages" folder.