I've just moved everything from my old dedicated server to my new dedicated server and running in to an issue.
To make the transition as smooth as possible, I rysnc'd all my config files & necessary data directories to preserve ownership/permissions.
Dovecot is now complaining is does not have permission to read/write to anything in /opt/virtual directory.
My old "virtual" user/group used to be 5003 (which no longer exists), but now is on 1003. The /opt/virtual directory is recursively set to virtual:virtual
How can I fix this?
To make the transition as smooth as possible, I rysnc'd all my config files & necessary data directories to preserve ownership/permissions.
Dovecot is now complaining is does not have permission to read/write to anything in /opt/virtual directory.
My old "virtual" user/group used to be 5003 (which no longer exists), but now is on 1003. The /opt/virtual directory is recursively set to virtual:virtual
How can I fix this?
Code:
Error: open(/opt/virtual/example.com/ken/dovecot.index.log) failed: Permission denied (euid=5003(<unknown>) egid=5003(<unknown>) missing +r perm: /opt/virtual/example.com/ken/dovecot.index.log, dir owned by 1003:1003 mode=0711)
May 03 21:09:50 pop3(ken@example.com)<16216><H4/Qs8qk0thjx7sX>: Error: Mailbox INBOX: file_dotlock_create(/opt/virtual/example.com/ken/dovecot-uidlist) failed: Permission denied (euid=5003(<unknown>) egid=5003(<unknown>) missing +w perm: /opt/virtual/example.com/ken, dir owned by 1003:1003 mode=0711)
May 03 21:09:50 pop3(ken@example.com)<16216><H4/Qs8qk0thjx7sX>: Error: Mailbox INBOX: open(/opt/virtual/example.com/ken/dovecot-uidlist) failed: Permission denied
May 03 21:09:50 pop3(ken@example.com)<16216><H4/Qs8qk0thjx7sX>: Error: Couldn't init INBOX: Mailbox INBOX: open(/opt/virtual/example.com/ken/dovecot-uidlist) failed: Permission denied