top | item 45373790

(no title)

maz1b | 5 months ago

It's unfortunate that email hosting and email infrastructure can really be done only well by major players. The days of people running and maintaining their own are pretty much long gone.

Fwiw, not a knock against CF. I like their products, mostly simple, fair pricing, etc. Just a bit unfortunate commentary on the state of email infra on the internet.

discuss

order

drnick1|5 months ago

I run my own email server and you couldn't pay me to use a commercial provider like Google instead. The privacy benefits are huge and there is no one to restrict my storage or change my "terms and conditions" overnight.

The days of people running their own servers are gone because of the shortsightedness and laziness of IT managers. They though the "cloud" would be easier and cheaper, and they are now trapped.

matheusmoreira|5 months ago

You don't have deliverability issues?

I entertained the idea of running my own mail servers for a while. After researching the topic it turned out that the internet now runs on an IP reputation system. Major email services like gmail assume that anything sent from unknown IPs is malicious.

So it looks like we've gotta be well connected to federate with the other email servers now. A nobody like me can't just start up his own mail server at home and expect to deliver email to his family members who use gmail or outlook. So I became a Proton Mail customer instead.

jedberg|5 months ago

> The privacy benefits are huge

Are they? I'd bet 90% of the email in your archive went through Google or Microsoft or Yahoo's servers, and most likely a copy still resides there.

If you're sending to or getting a message from a Gmail account, Google still has a copy.

xp84|5 months ago

Can you share what your antispam strategy is?

I have arrived at the opinion that what I would do if I moved to selfhost would just be to pay some trivial amount for outbound email via a provider like sendgrid as someone else in these comments has also mentioned. Since I send out maybe a half dozen emails a month I don't think this would be a big deal.

But when I relied on selfhosted email several years ago, I was always inundated with spam, which SpamAssassin was wildly undermatched to handle -- that was one of the main reasons I moved to gmail. So I'm curious what people who are happy self-hosting today are using.

stackskipton|5 months ago

I’m the reverse, I can Microsoft 8 bucks not to mess with this? Sign me up!

cullumsmith|5 months ago

I've run my own mail for 10 years (postfix/dovecot/rspamd), no issues. Reverse DNS, SPF, and DKIM records need to be in place, but that's a small lift.

Well, one time I was unable to send mail to a guy with an ancient @att.com email address from his ISP. I got a nice bounce message back with instructions to contact their sysadmins to get unblocked.

To my surprise, they unblocked the IP of my mail server in a matter of hours.

everfrustrated|5 months ago

Private email will have no problems. I also ran my own mail server for personal use and had almost zero problem (and this was on an AWS IP!).

Where people will absolutely have problems is trying to run a marketing campaign through their own IP. You absolutely will (and should) get blocked. This is why these mixer companies exist and why you pay for an intermediary to delivery your mail.

sgt|5 months ago

This is a myth though (with some truth to it in certain cases). I've run my own mail infrastructure since 1999, no issues.

cj|5 months ago

I suspect if you shared more info about your mail infrastructure, it might reveal that what is working for you is too complicated for 99.9% of people to set up and maintain themselves.

zokier|5 months ago

It is probably because you have run it so long that you have good reputation and less issues. Too bad we don't have time machine to go back to ninties to start building up reputation.

lomase|5 months ago

Every single IT team I know wanted to get rid of the mails servers.

I don't know why. At the same time they don't want to get rid of the bbdd servers, or the app servers.

Maintaining a email service must not be as easy for them.

nicce|5 months ago

Have you had static IP since then? A problem is that most new mail servers will have IP address with history.

logicallee|5 months ago

>This is a myth though (with some truth to it in certain cases). I've run my own mail infrastructure since 1999, no issues.

when was the last time you got a reply to an email you sent?

SoKamil|5 months ago

Well, it’s hard to beat 26 years of expertise.

python273|5 months ago

It's really not that hard to run a mailserver with https://github.com/docker-mailserver/docker-mailserver

The problem is that Gmail will bounce any emails from DigitalOcean IP, even if you sit on this IP for years (so no recent spam), even if replying to someone, even if you registered as 'Postmaster' on Google.

So if you want to selfhost, you'll first need to find an IP that's not blocked to begin with.

TZubiri|5 months ago

> It's not hard, if you do it in a way that you can't send to like 50% of the recipients.

So it's hard (to do well)

>The problem is that Gmail will bounce any emails from DigitalOcean IP, even if you sit on this IP for years (so no recent spam), even if replying to someone, even if you registered as 'Postmaster' on Google.

>So if you want to selfhost, you'll first need to find an IP that's not blocked to begin with.

I'd say this is just the thing antitrust was made for. Hopefully some incumbent can get them to court.

SahAssar|5 months ago

That is not my experience at all. Using a pretty fresh IP and domain I get pretty good deliverability as long as I have proper rDNS and all the other normal steps (like DKIM, etc.)

sgustard|5 months ago

Cloudflare's customers are companies that have to send out, say, reset password emails and verify account emails and other crumbs of the modern web. You want me to build my own infrastructure for that? Personally I can't wait for them to expand to SMS and crush Twilio.

parliament32|5 months ago

> The days of people running and maintaining their own are pretty much long gone

This is very much a myth. There's a lot of FUD around how mail is "hard", but it's much less complicated than, say, running and maintaining a k8s cluster (professionally, I'm responsible for both at my org, so I can make this comparison with some authority).

Honestly `apt install postfix dovecot` gets you 90% of the way there. Getting spambinned isn't a problem in my experience, as long as you're doing SPF and DKIM and not using an often-abused IP range (yes, this means you can't use AWS). The MTA/MDA software is rock-solid and will happily run for years on end without human intervention. There really isn't anything to maintain on a regular basis apart from patches/updates every few months.

btown|5 months ago

I think that there's a mindset among younger coders that "if it's not a modern post-AWS cloud provider, servers will take ages to come online and aren't going to give me full access, that's why EC2 exists." And this is conflated with the myth that running a mail server is hard.

But in practice, you can find any number of VPS providers, running in local datacenters, with modern self-service interfaces, with at least some IPs that aren't already spam flagged (and you can usually file a ticket to get a new IP if you need it), that are often cheaper per month than AWS, and give full root and everything. Find a service that will help you warm the IPs before you send to customers, and you're good to go!

drnick1|5 months ago

This is 100% my experience too. Self-hosting email isn't any harder than self-hosting something else and there is no maintenance beyond apt update and apt upgrade. Even if you choose to do this in hard mode using postfix/dovecot instead of a dockerized stack, you can get a working config in a few minutes from an LLM these days.

jedberg|5 months ago

> There's a lot of FUD around how mail is "hard", but it's much less complicated than, say, running and maintaining a k8s cluster

The main difference is that you're fully in control of the k8s cluster, but no matter what you do, you don't have control over the email infrastructure, because deliverability depends on the receiver. On every receiver you send to.

People say "I don't have deliverability problems!" but how do you know? Most places don't tell you they rejected your email.

TZubiri|5 months ago

I see this common pattern where a previously private infrastructure is opened up (usually from low abstraction), and the ecosystem is split into an open base and a private thin layer, and that private layer might just reimplement the same tradeoffs that the incumbent private monoliths made.

Examples being Git/Github, Crypto/Centralized Exchanges, and as per the topic, email.

But I think that it's an important distinction that the base infrastructure is open, and that technically an incumbent could join the fray, albeit with a lot of catching up to do, and mix it up.

egorfine|5 months ago

> I like their products

I do, too. What I don't like is that they became too large and now are effectively in position to gatekeep the whole internet.

supz_k|5 months ago

We are working on an open-source, self-hosted solution [0] to make this easier. When you correctly set up DKIM, SPF, reverse/forward DNS for IPs, it is not much hard to get emails delivered. IPs can still get blacklisted and you need to monitor blacklists and contact them if it happens. Solutions like Postfix are great, but they lack observability. In our solution, we have developed dashboards and health checks to make it easier to find problems with the set up.

We are currently running beta tests (really appreciate it if you can join).

[0] https://github.com/hyvor/relay

mbeex|5 months ago

There is a sweet spot between Gmail and self-hosting. I use Runbox and generally separate contexts, with CF being an exception as I use CF pages for static blog websites, some of their core services, AND as a registrar. For the latter, the default setting is porkbun. The reason for this is not CF's mandatory in-house DNS servers, but the simple fact that they do not register .de domains.

jesterson|5 months ago

> It's unfortunate that email hosting and email infrastructure can really be done only well by major players. The days of people running and maintaining their own are pretty much long gone.

Its really not. Everyone can do that (doesn't mean everyone should). I'm running it for millions of emails daily and don't see why I would crappy proprietary service instead.

jasondigitized|5 months ago

Resend was a breath of fresh air for me recently.