Email error

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/ line 1983, line 2.

How do I resolve this?



This was apparently due to a quota issue as it went away as soon as I upped it.

Yes, this can happen if a domain goes over quota. The next virtualmin release will add extra protection against this.

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( 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

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.