> On 26/04/2021 14:38 Jean-Max Reymond <jmreymond at ckr-solutions.com>
wrote:
>
>
> Le 26/04/2021 ? 13:31, Aki Tuomi a ?crit?:
> >
> >> On 26/04/2021 14:28 Jean-Max Reymond <jmreymond at
ckr-solutions.com> wrote:
> >>
> >>
> >> Le 26/04/2021 ? 13:24, Yassine Chaouche a ?crit?:
> >>> Le 4/26/21 ? 10:22 AM, Jean-Max Reymond a ?crit?:
> >>> > After a change of server
> >>>
> >>> When you changed servers, did you copy the contents of
(probably)
> >>> /var/vmail/ from the old server to the new server ? this is
usually
> >>> where e-mails are stored.
> >>>
> >>> You can also use imap-sync from old to new server. This should
> >>> automatically transfer your old mail there (if old server is
still
> >>> operationnal)
> >>
> >> yep, the 144 GB of mails are copied. The correct owner is
mail:mail.
> >> Database posfixadmin is copied and authentification by sql works
> >> fine.dovecot does not report any issues, postfix works like a
charm. I
> >> have deleted for only one mailbox, the dovecot files but no
changes.
> >>
> >> --
> >> Jean-Max Reymond
> >> CKR Solutions Open Source https://www.ckr-solutions.com
> >
> > Does output of `doveadm user your-user-name` match with where you
copied all your mails to?
> >
> > Aki
> >
>
> # doveadm user jmreymond at normaal.fr
> field value
> uid 8
> gid 8
> home /home/Mails/jmreymond at normaal.fr/
> mail maildir:~/Maildir
> maildir jmreymond at normaal.fr/
>
> # ls -ld /home/Mails/jmreymond at normaal.fr/*
> drwx------ 2 mail mail 4096 Mar 26 07:12
> /home/Mails/jmreymond at normaal.fr/cur
> drwx------ 3 mail mail 4096 Nov 8 2014
> /home/Mails/jmreymond at normaal.fr/mail
> drwx------ 8 mail mail 4096 Apr 26 13:24
> /home/Mails/jmreymond at normaal.fr/Maildir
> drwx------ 2 mail mail 4096 Apr 26 11:12
> /home/Mails/jmreymond at normaal.fr/new
> -rw------- 1 mail mail 18 Jun 10 2019
> /home/Mails/jmreymond at normaal.fr/subscriptions
> drwx------ 2 mail mail 4096 Apr 26 11:12
> /home/Mails/jmreymond at normaal.fr/tmp
>
>
> --
> Jean-Max Reymond
> CKR Solutions Open Source https://www.ckr-solutions.com
home /home/Mails/jmreymond at normaal.fr/
mail maildir:~/Maildir
this is what matters, so dovecot expects to see your maildir structure under
/home/Mails/jmreymond at normaal.fr/Maildir/
Aki