This is a simple tutorial (check attached PDF) helping you to implement your own mail server on an ubuntu machine.
- SMTP Server = Postfix
- IMAP Server = Dovecot
- WEB SERVER = Nginx
- WEB MAIL = rainloop
- Setup SPF & DKIM with POSTFIX
- Enable https on nginx
- Redirect-http-to-https for Nginx
- INSTALL WAF for NGINX = NGINX ModeSecurity