ryan.overton

Active Member
Mar 3, 2006
35
0
156
About 2-3 times a week, I get a user who gets this error, or some variation of it.

Code:
ERROR: Could not complete request.

Query: COPY 176 "INBOX.Trash"

Reason Given: UID COPY failed: Can't append - not in valid mailbox format:

what causes this?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
Probably a script failure or an invalid email, somehow. You'll either have to repair the problem or empty out the file. This is another good reason to migrate over to maildir as it does away with this type of issue completely.
 

ryan.overton

Active Member
Mar 3, 2006
35
0
156
how does one do this?? :)

chirpy said:
Probably a script failure or an invalid email, somehow. You'll either have to repair the problem or empty out the file. This is another good reason to migrate over to maildir as it does away with this type of issue completely.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
Run:

/scripts/convert2maildir

This will give you options to first backup existing mailboxes and then to perform the conversion process. Note that Neomail is removed, as it's no longer supports, and users of squirrelmail will have to signup to their imap folders again afterwards.
 

ryan.overton

Active Member
Mar 3, 2006
35
0
156
is there a way to convert just a single person for testing purposes?

chirpy said:
Run:

/scripts/convert2maildir

This will give you options to first backup existing mailboxes and then to perform the conversion process. Note that Neomail is removed, as it's no longer supports, and users of squirrelmail will have to signup to their imap folders again afterwards.
 

lngtanseco

Well-Known Member
Jun 9, 2006
64
0
156
ryan.overton said:
is there a way to convert just a single person for testing purposes?
Yes, I've found one. Here's how I did it.

1. SSH as root
2. Execute:
/usr/local/cpanel/3rdparty/mb2md/mb2md -s /home/username/dir/to/inbox -d /home/username/dir/to/

I've tested this method with a server that has maildir installed, created a a test email address, copied inbox file (mbox format) into /home/username/dir/to/inbox then run #2 above. Then it created all email in /home/username/dir/to/cur.

Note: change /username/dir/to/ to your actual path.

Hope this helps.