Pretty sure substack uses mailgun. If you dig substack.com for mx and txt records you’ll see that their spf includes mailgun and their mx records point to the same as well.
Oh, seems strange for them not to spin up their own mail-sending server. Why not do that? They're funded to the gills.
Ask HN: How do services like Substack and Beehiiv send email?
11–14 of 14 posts
Re: Ask HN: How do services like Substack and Beehiiv send email?
#12Can you not use sendmail with appropriate DNS/DMARC records flashing the requisite badges? No need to make more work for yourself.
Recommending somebody to 'just use' some complex technical solution is a very typical and dare I say naive HN response.
Properly running an email service is a hard technical task. The days of just installing sendmail and expecting your email to actually arrive are long gone. Properly running an outbound email service requires knowledge on many domains (networking, system administration, DNS, cryptography, etc. etc.). It also requires plenty of maintenance.
So unless you are actually building an email service, just use a third party like Mailgun and focus on the product that you actually want to build.
Re: Ask HN: How do services like Substack and Beehiiv send email?
#13Earlier quoted context omitted.
I don't want to sound stupid, but I don't know what you mean. What's sendemail? Also I don't know anything about badges. But I think you've pointed me in the right direction.
no worries brother. sendmail is an email utility that runs on your server. You can tell it to do whatever you want. (and there are many alternatives that do this too) Basically it sends whatever you want as an email. Badges: When you send an email, you're sending to the recipient's email server--gmail.com or whitehouse.gov or whatever. But these servers get a billion spam messages a day, so you need to prove you're r…
And confidently get it wrong in this case. This is an example of why ChatGPT and others like it need a debug function to show their work/sources. Can you spot the errors and missing data?
Re: Ask HN: How do services like Substack and Beehiiv send email?
#14Earlier quoted context omitted.
I don't want to sound stupid, but I don't know what you mean. What's sendemail? Also I don't know anything about badges. But I think you've pointed me in the right direction.
no worries brother. sendmail is an email utility that runs on your server. You can tell it to do whatever you want. (and there are many alternatives that do this too) Basically it sends whatever you want as an email. Badges: When you send an email, you're sending to the recipient's email server--gmail.com or whitehouse.gov or whatever. But these servers get a billion spam messages a day, so you need to prove you're r…