doveadm import - strange warning
Ralf Hildebrandt
r at sys4.de
Thu Jul 16 08:46:28 UTC 2015
I'm using the doveadm import command to extract mails from my backup:
% doveadm import -u restore at backup.invalid mdbox:/home/copymail/mdbox "" \
mailbox INBOX header Delivered-To backup+$SEARCHPATTERN at backup.invalid
This works like a charm, I'm getting all the mails, and I can access
the newly generated mailbox.
But when executing the command I'm getting an annoying warning:
doveadm(restore at backup.invalid): Error: chdir(/root/) failed: Permission denied (euid=1001(copymail) egid=1001(copymail) missing +x perm: /root, dir owned by 0:0 mode=0700)
doveadm(restore at backup.invalid): Error: chdir(/root) failed: Permission denied
I'm using a file based authentication:
# cat passwd
restore at backup.invalid:{SHA}+/...the.hash...:1001:1001:(gecos):/home/restore::
So why is "restore at backup.invalid" being associated with /root?
I'm using 2:2.2.18-1~auto+91, but the warning has been around for ages
:)
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
More information about the dovecot
mailing list