upsforum

Well-Known Member
Jul 27, 2005
474
0
166
I get these errors from maillog for a specific email account:

Apr 10 18:43:19 ssd2 dovecot: imap([email protected]): Error: file_create_locked(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: open(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: Is a directory
Apr 10 18:43:19 ssd2 dovecot: imap([email protected]): Error: file_create_locked(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: open(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: Is a directory
Apr 10 18:43:19 ssd2 dovecot: imap([email protected]): Error: file_create_locked(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: open(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: Is a directory
Apr 10 18:43:19 ssd2 dovecot: imap([email protected]): Error: file_create_locked(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: open(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: Is a directory
Apr 10 18:43:19 ssd2 dovecot: imap([email protected]): Error: file_create_locked(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: open(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: Is a directory
Apr 10 18:43:19 ssd2 dovecot: imap([email protected]): Error: file_create_locked(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: open(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: Is a directory
Apr 10 18:43:19 ssd2 dovecot: imap([email protected]): Error: file_create_locked(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: open(/home/username/mail/domainaccount/emailname/.vsize.lock) failed: Is a directory
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
Hi @upsforum

This issue is related to an internal case which is fixed in v70 of cPanel. CPANEL-17935 and CPANEL-17928 were created to address the issue where dovecot's .vsize and .vlock files were being modified to folders causing the accounts to be unable to deliver mail. The solution for this was found in CPANEL-17935.

cPanel v70 is still in RELEASE and not yet in CURRENT though it is planned for this month. If you don't want to update or in the meantime, you can move those files aside by performing the following action:

Code:
mv /home/username/mail/domainaccount/emailname/.vsize.lock /home/username/mail/domainaccount/emailname/.vsize.lock.bk
Once this is complete you should stop receiving the errors as well as begin being able to send mail once more.

Thank you,
 

hostguy

Registered
Feb 23, 2021
3
2
3
India
cPanel Access Level
Website Owner
Yes, this is permission issue for particular email account.
We have resolved this issue after updating the quota for particular email account in cpanel.

This trick worked for me. I hope it help you too.
 
  • Like
Reactions: cPRex