# Documentation and information relating to my self-hosted mail server Postfix is used as the SMTP server and Dovecot is used as the IMAP server TLS certs are obtained via lets encrypt OpenDKIM is used for signing paired with spamassassin for mail filtering A custom self-written Bash script is used to parse logs and automatically drop connections from offenders with iptables ## Features - Appropriate DNS records [(SPF, PTR, DKIM, DMARC)](https://git.tobiastime.xyz/Tobias/Mail-Server/raw/branch/main/images/mailpass.webp) implemented for authentic, trusted and reliable mail. Full report available [here](https://git.tobiastime.xyz/Tobias/Mail-Server/raw/branch/main/images/full_report.txt) - Strong encryption with AES-128-GCM and [secure mail transmission with TLS 1.3](https://git.tobiastime.xyz/Tobias/Mail-Server/raw/branch/main/images/tls.webp) - Mail deliverable to the most prolific service proivders, such as [Microsoft, Google and Yahoo](https://git.tobiastime.xyz/Tobias/Mail-Server/raw/branch/main/images/mail_delivered.jpg) - Fully functional mail accounts accessible via [IMAP/SMTP clients](https://git.tobiastime.xyz/Tobias/Mail-Server/raw/branch/main/images/k9mail.jpg) ## Extremely useful tools in debugging - The "postfix check" command - The "doveconf -n" command - https://www.appmaildev.com/en/dkim - https://sendtestemail.com/ - https://mxtoolbox.com ## Extremely useful documentation - https://www.postfix.org/documentation.html - https://doc.dovecot.org/ - https://thomas-leister.de/en/mailserver-migrate-config-to-dovecot-2.4-debian-trixie/ - https://landchad.net/mail/