📬 Courriels
YunoHost est livré avec un écosystème complet de serveur mail, vous permettant d'héberger votre propre serveur de messagerie, et donc d'avoir vos propres adresses email dans le style quelquechose@votre.domaine.tld.
The mail stack includes an SMTP server (Postfix), an IMAP server (Dovecot), antispam (Rspamd) and DKIM configuration.
S'assurer que votre configuration est correcte
Les emails sont un écosystème compliqué et un grand nombre de détails peuvent les empêcher de fonctionner correctement.
Pour valider que votre configuration est correcte :
- if you are self-hosting at home and not using a VPN, ensure your ISP doesn't block port 25 ;
- route ports according to this documentation ;
- carefully configure mail DNS records according to this documentation ;
- test your configuration using the diagnostic features ( Webadmin → Diagnosis → Email ). You can also use mail-tester.com; a score of at least 8~9/10 is a reasonable goal (be careful: only 3 tests per domain per day are allowed)
Clients de messagerie
To interact with the email server (read and send emails), you can either install a webmail client such as Roundcube or Rainloop on your server or configure a desktop/mobile client as described in this page.
Les clients de bureau ou mobile ont l'avantage de copier vos emails sur l'équipement permettant ainsi la consultation hors ligne et une protection relative face à d'éventuelles pannes matérielles de votre serveur.
Configuration des alias de messagerie et des redirections automatiques
Mail aliases and forwards can be configured for each user. For instance, the first user created on the server automatically has an alias root@the.domain.tld configured—meaning that an email sent to this address will end up in the inbox of the first user. Automatic forwards may be configured, for instance if a user doesn't want to configure an additional email account and just wants to receive emails from the server on, say, his/her Gmail address (a copy of each email will be kept on the YunoHost server).
Another feature which few people know about is the use of suffixes beginning with "+". For example, emails sent to johndoe+booking@the.domain.tld will automatically land in the booking directory (lowercase) of John Doe's mailbox or in John Doe's inbox if the booking directory doesn't exist. It is a practical technique, for example, to provide an email address to a website, then easily sort (via automatic filters) the mail coming from this website.
Groups also can use alias features; by default, the group admins has aliases such as root@<domain.tld> and webmaster@<domain.tld>. More info on the groups and permissions page.
Que se passe-t-il si mon serveur devient indisponible ?
Si votre serveur devient indisponible, les courriels envoyés à votre serveur resteront dans une file d'attente du côté de l'expéditeur pendant environ 5 jours. L'hébergeur de l'expéditeur tentera régulièrement de renvoyer le courrier, jusqu'à ce qu'il le jette s'il n'a pas pu l'envoyer.