Re: doveadm backup : Error: Failed to access mailbox

2020-05-24 Thread Laura Smith
FYI, found the solution.

It seems doveadm can't cope with brackets in mailbox names.

I moved the user's mails into non-braketed, deleted the bracketed and doveadm 
backup worked fine after that.

‐‐‐ Original Message ‐‐‐
On Sunday, 24 May 2020 14:32, Laura Smith  
wrote:

> Hi All,
>
> So close and yet so far.  ;-(
> Have been migrating users from an old Dovecot server to a new one.
> All of the users have doveadm backup'd perfectly, except for one !
>
> What does the below mean ?
>
> $ sudo doveadm -v -o imapc_user=j...@example.org.tld -o 
> imapc_password=secretSquirrel -o imapc_host=old-server.example.com backup -1 
> -R -u j...@example.org.tld imapc:
> dsync(j...@example.org.tld): Info: imapc(old-server.example.com:993): 
> Connected to 10.10.10.10:993 (local 10.10.10.11:35858)
> dsync(j...@example.org.tld): Error: Failed to access mailbox Sent Messages 
> (jasmin@example: Mailbox doesn't exist: Sent Messages (jasmin@example (0.001 
> + 0.000 secs).
> dsync(j...@example.org.tld): Error: Failed to access mailbox Sent Messages 
> (jas...@example.org: Mailbox doesn't exist: Sent Messages (jas...@example.org 
> (0.001 + 0.000 secs).
> dsync(j...@example.org.tld): Error: Failed to access mailbox Drafts 
> (jasmin@example: Mailbox doesn't exist: Drafts (jasmin@example (0.001 + 0.000 
> secs).
> dsync(j...@example.org.tld): Error: Failed to access mailbox Drafts 
> (jas...@example.org: Mailbox doesn't exist: Drafts (jas...@example.org (0.001 
> + 0.000 secs).
> dsync(j...@example.org.tld): Error: Failed to access mailbox Deleted Messages 
> (jasmin@example: Mailbox doesn't exist: Deleted Messages (jasmin@example 
> (0.001 + 0.000 secs).
> dsync(j...@example.org.tld): Error: Failed to access mailbox Deleted Messages 
> (jas...@example.org: Mailbox doesn't exist: Deleted Messages 
> (jas...@example.org (0.001 + 0.000 secs).




Re: Doveadm backup error.

2017-12-10 Thread Dovecot list
But on other side i have that same settings (Only on dovecot 1 ) ID and GID
are that same, and on other site i dont have any info in logs...
I think this is @ dovecot 2 problem, but dont know how to solve it...
Best regards.

2017-12-01 8:02 GMT+01:00 Aki Tuomi :

> This is probably problem on the other end.
>
> Aki
>
>
> On 20.11.2017 19:36, Dovecot list wrote:
> > Hello. I try to migrate dovecot 1 to dovecot 2 with doveadm backup.
> > But when i try to set doveadm backup i get :
> >
> > mx3:/root/dsync@[23:11] # doveadm -v -c ah.temp backup -R -u a...@test.pl
> >  imapc:
> > doveadm(a...@test.pl ): Error: Mail access for users with
> UID
> > 145 not permitted (see first_valid_uid in config file, uid from userdb
> > lookup).
> > doveadm(a...@test.pl ): Error: User init failed
> >
> >
> > mx3:/root/dsync@[22:13] # ls -la /home/mail/vhosts/test.pl/a...@test.pl/
> > 
> > total 1
> > drwxr-xr-x  2 vmail  vmail  2 Nov 12 23:59 .
> >
> > mx3:/root/dsync@[22:14] # doveadm user a...@test.pl 
> > field   value
> > uid 145
> > gid 145
> > home/home/mail/vhosts/test.pl/a...@test.pl <
> http://i-pi.pl/ahu...@i-pi.pl>
> > mailmdbox:~/mdbox
> > quota_rule  *:storage=5M
> >
> > mx3:/root/dsync@[22:14] # id 145
> > uid=145(vmail) gid=145(vmail) groups=145(vmail)
> >
> > mx3:/root/dsync@[1:14] # doveconf -n | grep 145
> > first_valid_uid = 145
> > last_valid_uid = 145
> >
> > I dont have any idea whats is the problem.
> > Best regards.
>
>