Mailback is service that accepts emails and sends them back to the original sender either after requested time has elapsed or periodically.
Mailback consists of 3 separate components that need to run in order for everything to work.
Receiver handles incoming emails. Validates the time interval (or period) and saves the emails and schedules them for delivery back.
Sender retrieves the emails from database when its time for them to be send back and sends them to the original sender.
Web server is necessary to allow the users to unsubscribe from periodic emails.
- Get a domain - get a domain for your server.
- Get a server - get a VPS or some other server to host the application.
- Generate DKIM private and public key
- Add dkim record for your domain
- Add SPF record
- Generate API key on Cloudflare, add it on server
- Expose port 25