Permission Denied Issue with Dovecot Autoexpunge Lock File

Dovecot is unable to create the dovecot.autoexpunge.lock lock file due to permission issues in the /home/user/ directory

Feb 23 18:03:51 imap([email protected])<217196><2GepXtEubKp/AAAB>: Error: autoexpunge: Couldn’t create dovecot.autoexpunge.lock lock: file_create_locked(/home/user/dovecot.autoexpunge.lock) failed: safe_mkstemp(/home/user/dovecot.autoexpunge.lock) failed: Permission denied

What I’ve tried so far:

  1. Tried adjusting the file permissions.
  2. Restarted Dovecot.

However, the issue is still there.

Could you advise on how to resolve this, thanks.

Seems related to this topic:

1 Like