• 3 Posts
  • 646 Comments
Joined 9 months ago
cake
Cake day: December 13th, 2024

help-circle















  • Email is the hardest thing to self-host, but it’s definitely doable. You’ll need a static IP, and you’ll need to talk to your ISP to make sure outbound connections on port 25 are open.

    Set up your servers and your DNS settings (another commenter gave a good guide), then use this tool to check that DKIM and SPF are working and that you’re not seen as spam with SpamAssassin:

    https://dkimvalidator.com/

    Once that’s done, take your static IP and check it with this tool:

    https://mxtoolbox.com/blacklists.aspx

    If it’s on any of the lists, you’ll need to go to those lists’ sites and try to get it removed. You might need to make an email address for “postmaster@yourdomain” at this point.

    Beyond that, you may need to “warm up” your IP address, by sending email to yourself on various services (Gmail, Yahoo, Microsoft) and marking them as not spam.

    Then you should be golden.

    I had to do this for both my SMTP servers for Port87. If you use more than one server, this process gets a little harder, so probably stick to one at first.




  • Mine was about three years old. I missed an “&” in a query constructor. The way the constructor worked, this was no issue. But that was because of another bug that assumed it was there. One day I fixed that bug. Then the query to get the user’s account didn’t have the whole “& username=“ part and now just returned the first user… admin. So everyone who logged in was admin for about twenty minutes. Had to immediately take the whole system down.