📬 Emails
YunoHost include un completo server mail, avrete quindi il controllo della vostra posta elettronica con il vostro nome di dominio.
The mail stack includes an SMTP server (Postfix), an IMAP server (Dovecot), antispam (Rspamd) and DKIM configuration.
Assicurare una corretta configurazione
La posta elettronica è un ecosistema complesso con un numero elevato di dettagli, che se mal configurati, possono impedire il suo corretto funzionamento.
Per assicurarsi una configurazione corretta:
- 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)
Programmi (client) per la posta elettronica
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.
I client sul pc e smartphone godono del vantaggio di scaricare i messaggi sul device, permettendo la consultazione dei messaggi anche off line e una parziale protezione dalla perdita dei messaggi in caso di guasti al vostro server.
Configurazione degli alias e degli inoltri automatici
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.
Cosa succede se il mio server è irraggiungibile?
Se il vostro server diventa non più raggiungibile le mail inviate al vostro server rimarranno in una lista di attesa nel server che vi ha spedito la mail per un periodo di circa 5 giorni. Il server proverà ad intervalli regolari ad inviare la mail. Passati i 5 giorni la mail viene cancellata.