Results 1 to 2 of 2

Thread: Error on popboxen created by restoring backup from other server

  1. #1
    Join Date
    Nov 2016
    Location
    Apeldoorn, Netherlands
    Posts
    36

    Error on popboxen created by restoring backup from other server

    Hello,

    We had some errors with some of our accounts on a new server.

    Exim said:
    Code:
    LMTP error after RCPT .... 451
    Dovecot gives:
    Code:
    May 04 10:57:46 lmtp(28682): Error: fchown(/home/kom/imap/xxxx.nl/info/Maildir/maildirsizexxxxx.nl.28682.f08949c768fc0a55, group=1003(access)) failed: Operation not permitted (egid=12(mail), group based on /home/kom/imap/xxxx.nl/info/Maildir - see http://wiki2.dovecot.org/Errors/ChgrpNoPerm)
    May 04 10:57:46 lmtp(28682): Error: safe_mkstemp(/home/kom/imap/xxxx.nl/info/Maildir/maildirsize) failed: Operation not permitted
    May 04 10:57:46 lmtp(28682): Error: Mailbox INBOX: quota: Failed to get quota resource STORAGE_BYTES for INBOX: quota-maildir: Failed to get STORAGE_BYTES: failed to write maildirsize
    May 04 10:57:46 lmtp(28682): Error: mailbox_get_status(INBOX, STATUS_CHECK_OVER_QUOTA) failed: Mailbox INBOX: quota: Failed to get quota resource STORAGE_BYTES for INBOX: quota-maildir: Failed to get STORAGE_BYTES: failed to write maildirsize

    So I looked into the permissions and both folders (imap and Maildir) the owner is set to: <user>:access. I changed it to <user>:mail.
    This fixed the problem

    This seems to happen with accounts that were moved from another server. We restored the mail from the backup, but not the other parts of the backup.
    Could it be that in that case the permissions are set right??

    Greetz, Lydia

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,133
    Hello,

    Directories and files under /home/*/imap/ are owned by group mail on my end. What permissions you have in your *.tar.gz file, and/or old server?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •