YunoHost comes with a complete mail stack allowing you to host your own email server, and therefore to have your own email addresses in
The mail stack includes a SMTP server (postfix), an IMAP server (Dovecot), an antispam (rspamd) and DKIM configuration.
Email is a complicated ecosystem and quite a few details can prevent it from working properly.
To validate your setup:
Webadmin > Diagnosis > Email). You can also use mail-tester.com, a score of at least 8~9/10 is a reasonnable goal (be careful : only 3 tests per domain per day are allowed)
To interact with the email sever (read and send emails), you can either install a webclient such as Roundcube or Rainloop on your server - or configure a desktop/mobile client as described in this page.
Desktop and mobile clients have the advantage of copying your emails to the device, allowing offline viewing and relative protection against possible hardware failures of your server.
Mail aliases and forwards can be configured for each users. For instance, the first user created on the server automatically has an alias
email@example.com configured - meaning that an email sent to this address will end in the inbox of the first user. Automatic forwards may be configured, for instance if an 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.
Another feature which few people know about is the use of suffixes beginning with "+". For example, emails sent to
firstname.lastname@example.org will automatically land in the
booking dir (lowercase) of John Doe's mailbox or in John Doe's inbox if
booking directory doesn't exist . It is a practical technique for example to provide an e-mail 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
webmaster@<domain.tld>. More information to use-it with the dedicated page.
If your server becomes unavailable, emails sent to your server will stay in a pending queue on the sender's side for as long as ~5 days. The sender's host will regularly try to resend the email, until it drops it if it was unable to send it.
It is possible that the emails sent from your YunoHost instance are considered as spam by the big email services. Is it possible that the IP address from your server have been previously been used to sent spam or that these email services consider your server as a spam sender. To ensure that your servers’ IP address isn't on these blacklists and to remove it from them, follow this link.
See this page.
See this page.
Found errors? Think you can improve this documentation? Simply click the Edit link at the top of the page, and then the icon on Github to suggest changes.