Thinking of setting up a mail server.

I really want to avoid ending up blacklisted, does anyone have any advice about running their own mail server?

please boost.

#askfedi #selfhost #selfhosting

@dirtycommo I use postfix and dovecot on my mail server. Been running my own mail server for decades now.

As regards blacklisting, if you mean Google etc, make sure you have DMARC and SPF setup, I found OpenDKIM to be a bit of a mare, but that too. Not having it hasn't affected my mail.

If you're forwarding to Gmail (like with status updates) be aware that you might get temp blacklisted cos they do that with new servers with high frequency.

A pain, but if you have DMARC, SPF etc that shouldn't happen or will lapse after a short while. There are ways to tell Google they have made a mistake but dunno if it really speeds anything up.

Keep an eye on anyone else using it for spam, and also you'll want to use various blacklists yourself, RBL etc - there are lists out there of the big ones to plug into Postfix. Also of course put in the usual protocols and security checks for clients, TLS etc. But be aware some clients are terribly coded and it might block some genuine people or mail, so test and monitor.