Sauvegarde boite mail

:uk:
Hello @wbk !

Following your advice in another thread, I installed mbsync/isync, and tried to alter your .mbsyncrc sample file to suit my needs.

mbsync/isync warned that Master & Slave were now obsolete. So I replaced them with Far & Near.
But this is not the main problem : I got an error that stops the process :

Error, certificate owner does not match hostname mail.domain.tld

I have 3 domains on my YUnoHost server :

  • domain.tld
  • mail.domain.tld
  • www.domain.tld

www.domain.tld is the oldest one (was the only one until I decided to host mail recently), and as such, is considered as the main domain (“Domaine principal”) by YUnoHost.

Each of these 3 domains has its own Let’s Encrypt certificate.

The mailbox I try to import from Gandi is info@domain.tld (the address that was hosted by Gandi is the same as the one now hosted by my server).
I installed Roundcube on the domain called mail.domain.tld, and I can access my emails through Roundcube webmail.

Do you have any idea, why mbsync/isync refuses my certificate ?


:fr:
Salut @wbk !

J’ai suivi le conseil que tu m’as donné dans une autre enfilade : j’ai installé mbsync/isync, et essayé de modifier ton modèle de fichier .mbsyncrc pour qu’il corresponde à mes besoins.

mbsync/isync m’a alerté que Master & Slave étaient désormais obsolètes. Je les ai donc remplacés par Far & Near.
Mais ce n’est pas le problème principal : j’ai une erreur qui arrête le processus :

Error, certificate owner does not match hostname mail.domain.tld

J’héberge 3 domaines sur mon serveur YUnoHost :

  • domain.tld
  • mail.domain.tld
  • www.domain.tld

www.domain.tld est le plus ancien (le seul jusqu’à ce que je décide d’héberger mon courriel récemment), et en tant que tel, est considéré comme le “Domaine principal” par YUnoHost.

Chacun de ces 3 domaines a son propre certificat Let’s Encrypt.

La boîte mail que j’essaie d’importer de chez Gandi est info@domain.tld (l’adresse qui était hébergée par Gandi est identique à celle que j’héberge maintenant sur mon serveur).
J’ai installé Roundcube sur le domaine appelé mail.domain.tld, et j’ai accès à mes mails à travers Roundcube webmail.

Saurais-tu pourquoi mbsync/isync refuse mon certificat ?

Cobus.