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 ah@test.pl ahuryn@i-pi.pl imapc: doveadm(ah@test.pl ahuryn@i-pi.pl): Error: Mail access for users with UID 145 not permitted (see first_valid_uid in config file, uid from userdb lookup). doveadm(ah@test.pl ahuryn@i-pi.pl): Error: User init failed
mx3:/root/dsync@[22:13] # ls -la /home/mail/vhosts/test.pl/ah@test.pl/ http://i-pi.pl/ahuryn@i-pi.pl/ total 1 drwxr-xr-x 2 vmail vmail 2 Nov 12 23:59 .
mx3:/root/dsync@[22:14] # doveadm user ah@test.pl ahuryn@i-pi.pl field value uid 145 gid 145 home /home/mail/vhosts/test.pl/ah@test.pl http://i-pi.pl/ahuryn@i-pi.pl mail mdbox:~/mdbox quota_rule *:storage=50000M
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.