I try to move mail from one user to another:

sudo doveadm move -u touser INBOX user fromuser mailbox INBOX ALL

In finally I get an error:

doveadm(touser): Fatal: setresgid(1005(fromuser),1005(fromuser),8(mail)) failed with euid=1000(touser): Operation not permitted

What does that error mean and how to fix it?

| improve this question | | | | |
  • You need a root permissions (via sudo) to manipulate files ownership. – Kondybas May 14 '19 at 13:02
  • @Kondybas I have done it, I get error anyway. – UnixUser May 14 '19 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.