Emails

Sending emails is important for a server. It allows the server to notify remote users (you) in can you need to do some action.

This guide will show you two different configuration options:
 * Send only: Simple configuration. The server uses an external SMTP server to send emails. It can't receive emails
 * Send and Receive: More complex configuration. It allows you to handle your complete email infrastructure.

Configure
Edit file  Edit file   and add a line like Note: if   is a CNAME, you must use the destination of the CNAME in the   file. here you see on the first line that  is a CNAME to. In that case you can put  in the password file.

Finally, activate the new configuration using

Test
You should receive the email in your mailbox

Send and Receive
Want to get rid of Google and have your private email be really private? Building your own mail server is the solution.

Getting your own mail server is rewarding and fun, however it's harder and more time consuming than typical sysadmin tasks like installing a webserver. If done incorrectly you risk loosing emails, being submerged by spams or being considered as spammer by others and not be able to send emails. That being said, I've been running my own mail server for almost a decade without any major issue.

To get a fully functional web server, you will need to go through these guides:
 * IP address
 * Dovecot
 * Exim
 * Spamassassin
 * ClamAV
 * Roundcube