Hacker News new | past | comments | ask | show | jobs | submit login

Well, how does Sendgrid do it?



Sendgrid uses a mail transfer agent like Postfix or PowerMTA (I don't actually know what they use but I wouldn't be surprised if it was PowerMTA) to talk to receiving email servers via SMTP.

It's not hard to set up the technical bits to send email. You basically just need to run an MTA that knows how to stamp your outgoing messages with DKIM (a cryptographic signature). Your server has to have an SSL certificate. You also need SPF records set up that accurately reflect what servers are allowed to send on your behalf. DMARC records are helpful as well but not required. If you're only sending as yourself, that's basically it. You should be able to get mail through to the big receivers without much trouble (maybe having to mark "not spam" a few times to start).

The trick to maintaining your sending reputation as an individual is to not send email for anyone else and never send content that you don't control. Sendgrid sends for other people and they have people on staff who's full time job is to fight with the big receivers to maintain their reputation.


Sendgrid puts a huge amount of money and resources into maintaining both technical and political legitimacy. They have relationships with other major senders and receivers of email, they follow every single rule to the T, they aggressively police their own IPs (of which they have many) etc. It's a complicated business, which is why it's totally worth it to pay them to do it for you.


Funny how its a common refrain on HN that email is the one true decentralized communication protocol, and yet...


Yes there is a real lesson about the pragmatic impossibility of true decentralization in email. Specialization of labor is a useful thing, it turns out.

That being said: the fact that is a protocol and not a proprietary standard does have decentralizing effects that do provide a useful incentive check against providers, even if there are only a few of them. There is also a real lesson there too, that one I'll leave for the reader.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: