Substack blocks kill-the-newsletter.com and I wanted to just run my own version. Substack has ended RSS feeds and made them into emails. Superheap is the opposite and takes emails and builds an RSS feed just like KTN. There's no utility to this over KTN except that you can run it on whatever domain you like and retain everything.
-
Run
superheap serve --config /path/to/config.json -
Add a cron that runs
superheap generate --config /path/to/config.jsonevery so often -
Put a STARTTLS-capable MTA (e.g., Postfix) on port 25 and relay to
superheapon 127.0.0.1:10025 -
Use stunnel for implicit TLS on 465
-
Subscribe to
whatever-email@your.hoston Substack -
Use some means to host the RSS feeds. I use Cloudflare Pages and just create a new deployment every now and then.
Example configurations:
configs/postfix-main.cfandconfigs/postfix-transport: Postfix front-end on :25 that offers STARTTLS and relays to127.0.0.1:10025.configs/stunnel.conf: implicit TLS listener on :465 that forwards to127.0.0.1:10025(optional if you want to support SMTPS). An example configuration forsuperheapis inconfigs/superheap.json.
MIT