Skip to content

mukeshsahnis/smtp-server

 
 

Repository files navigation

Setting up SMTP server for sending emails

This is a guide on how we can setup our own SMTP server for sending lots of emails.

Topics

  1. Why take the pain? It is 100x cheaper and scalable.
  2. Finding a good host
    1. Picking a good host
    2. Checking IP common spam tracking services
    3. Setup forward and reverse DNS
  3. Setting up postfix
    1. Setting up server
    2. Installing postfix and authentication
    3. Setting up DKIM
    4. Setup SPF
  4. Monitoring
    1. Sending test emails and getting verified[./production.md]
    2. Check if SPF and DKIM tests are passing
    3. Monitor server health using Google's Postmaster and Outlook's SNDS
    4. Script to get daily error logs
  5. Whitelisting
    1. Check on common services
    2. Whitelist on Hotmail
  6. Useful commands for debugging or handling send queue

Overall Checklist

About

Guide on setting up SMTP server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published