Sysadmin Notes
From Krupczak.org
Notes on system administration gotchas, snafus, etc.
Fun with Dovecot IMAP, Postfix, Squirrel Mail, Apache, etc.
I recently lost a disk and paid to have it recovered. When I re-loaded my home directory, some of my file permissions got mangled.
When I tried to log into my Webmail facility, I received the following error message:
ERROR: Could not complete request. Query: LSUB "" "*" Reason Given: Permission denied
Fixing this problem involved finding all the Dovecot files in my home directory and changing the onwership and group back to my user rather than root.
Look for .subscriptions and .imap in your Mail directory (or mail) and check the ownership and permissions.