• 0 Posts
  • 4 Comments
Joined 3 years ago
cake
Cake day: July 10th, 2023

help-circle
  • I’ve set up postfix and dovecot on my VPS a few weeks ago and it was pretty simple. From my testing, popular email providers (outlook, gmail and proton) accept my mail, but corporate mail might bounce because of av (trendmicro in particlular seems to mark VPS host ips as residential/dynamic, you might be able to request removal tho).

    Guidelines recommend setting up rDNS and SPF with DMARC for all mail and additionally DKIM for bulk senders. Mail will still be sent to spam, but shouldn’t be blocked. If you are not using it to send mailing lists and writing only to people that are ok with receiving your mail, it’s probably not a problem.

    Make sure you configure postfix properly and don’t make it an open relay, as it could be used to send spam.

    For receiving, set up something like rspamd to check for inbound spam, verify other sender’s SPF and DKIM. Test your server to make sure they actually work as intended.

    For instructions: check mail provider guidelines and read the documentation for your servers before deploying them. Also be careful to not lock yourself out of accounts if you move things to this new mail.