Remix.run Logo
Leonard_of_Q 15 hours ago

Does it or is this part of the push to keep people from hosting their own email services? I've self-hosted email for about 35 years now and see no reason to stop, it hardly ever needs maintenance and my mail tends to arrive even at hostile destinations (Micros..., Ggl, ...). Don't listen to those who fight against decentralisation, their agenda does not match yours.

layer8 15 hours ago | parent | next [-]

Same here (well, 25-ish years). And while self-hosted email may be declining, it apparently still outnumbers any single email provider: https://labs.ripe.net/images/r_uuIdAmmdbhI1R9Der6slvvH5U=/10...

cube00 15 hours ago | parent | prev | next [-]

Especially someone who stands to gain if they only need to get cozy with two email providers to deliver their spam.

(Blog author) runs the email infrastructure measurement project at Live Direct Marketing

Google offers "mail merge in Gmail to send personalized email campaigns, newsletters, and announcements to a wide audience." [1]

Based on how much @gmail.com spam I used get within GMail I can only assume they treat mail from their internal accounts much more favourably then us dirty self hosters.

[1]: https://support.google.com/mail/answer/12921167

throwaway67743 9 hours ago | parent [-]

"(Blog author) runs the email infrastructure measurement project at Live Direct Marketing" - really? amazing.

minimum effort business model posting minimum effort slop to promote minimum effort agenda. the world disgusts me. RIPE really should know better, this isn't a mistake.

edit: fuck me, from the author page:

Email: art-online-shop@yandex.ru Website: https://check.live-direct-marketing.online/email-stats/

- may as well be a spam email itself

yrro 14 hours ago | parent | prev | next [-]

Thank you for this perspective. I've been hosting my own email for about 25 years and have never had significant problems delivering to any of the large providers. A couple of months ago I migrated from one VPS host to another. I'd been putting this off for a long time, in part because of what I've read on HN about how difficult it is to self-host your mail. I finally took the plunge a couple of months ago, expecting to find the new provider's IP space unusable & having to relay via the old MTA/start relaying via a commercial MTA; but to my surprise, it's been completely smooth sailing! Maybe I've just been lucky with the nature of my setup: a small number of mailboxes and domains used for personal/small business use. Certainly if I was sending bulk mail or significant amounts of transactional mail then I'd use someone else's service.

ryandrake 14 hours ago | parent | next [-]

I've been self hosting for ~15 years and maybe have deliverability problems once every 3-4 years at most. Just had one this morning, in fact. Once in a blue moon I end up on one of the very aggressive spam blocklists (this time Spamhaus) and it's usually just a matter of following their delisting process.

spl757 9 hours ago | parent | prev | next [-]

I've also been hosting all of my own infrastructure including email. I have only used small cheap VPSs and one thing I have learned is that the reputation of the IP address you are assigned may or may not have a history of delivering mail, and it's just luck if you get an IP that hasn't been blacklisted or known for SPAM in the past. I have put off migrating to a new hosting provider and actually just finished that task.

If you set up a new VPS for sendmail email, the first thing you should do is look up the IP address you have been assigned to assess it's reputation. If it's bad, you may be able to be assigned a new IP through some providers, but you can always just spin up a new VPS, check it's IP, and if it's clean, use it, otherwise drop the VPS, create a new one, and check the IP.

Another option is to buy your own CIDR range. The smallest subnet you can buy is a /24, but your addresses will be portable between ISPs giving you complete control over your IP reputation, and the ability to warm up IPs for sending when an existing IP you are sending from starts to get a negative reputation.

Always make sure you set your rDNS or PTR record to match the A record for the mail server's FQDN.

Set up opendkim, opendmarc, and policy-spf or equivalent, make sure your DNS is all aligned properly, and set your DMARC policy to enforce. You can start off enforcing on a small percentage of outgoing email, and if that looks good, set to reject 100% of DMARC failures.

My stack is postfix and dovecot with opendkim, opendmarc, policy-spf, with postgres to hold domains, mailboxes, aliases, etc and some simple scripts to get postfix and dovecot to use the postgres db. I used postgres for reasons not directly related to sending email, so the same thing can be accomplished using something like SQLite or even flat text files. I ended up writing a perl program years ago to manage the whole stack from a single cli command.

I'm not suggesting my stack is anything special. I use the daemons I use because I have been using them for years and understand them very well. If you want something more than just a TUI, there are a lot of options. I still use spamassassin, but I know there are newer alternatives.

The main driver behind how I chose the stack I use is knowing exactly how every part of it works.

Running your own email server without understanding how all of it works is what people mean when they say that you should not host your own email server. It's not enough to copy/paste from a tutorial, because you will run into issues in which something isn't working right, but since you just copy/pasted you have no idea how to fix it.

I worked for an online publishing company that sent a mixture of quality content to double-opt-in subscribers and transactional emails, and moving traffic around on your IPs if you have more than one to maintain reputation. We sent over 500 million emails a month using a combination of self-hosting our MTAs, and also using ESPs in some scenarios in which even the best IP/domain reputation practices aren't enough to get inboxed. Always set up feedback loops and maintain your lists if you are sending newsletters. Set google postmaster tools.

One of the reasons I run my own mail server is that I create aliases any time I sign up for an account on a website that are unique to that site. github@example.com would be an alias that forwards to an actual mailbox that is unknown to the rest of the world. This way I can tell who has sold my email address, or had their mailing list compromised, and I can simply remove the alias to stop any spam going to the real inbox. Doing that can reveal some pretty interesting things about how your information is bought and sold by data brokers.

fsagx 14 hours ago | parent | prev [-]

Did you change domains?

yrro 14 hours ago | parent [-]

Can you formulate that question more precisely if this doesn't answer you?

* I am still using the same domains that I've always hosted mail for * Since I am sending from new IP addresses, but want to retain the ability to send from the old MTA until it is decomissioned, the new MTA uses a different HELO identifier, and the dependencies for that are all in place (forward and reverse DNS addresses and updated SPF records) * The new DNS records are still in the same administrative domain as the old ones

1vuio0pswjnm7 5 hours ago | parent | prev | next [-]

Is this author scanning a list of "top domains" instead of full zone files or a random sample taken from a full collection of zone files

It seems plausible that domainnames registered to individuals hosting their own email would _not_ likely be in the "top domains"

Perhaps this headline could be more accurate if it was something like

"Self hosted email among the top 1 million domains continues to steeply decline"

Arnt 15 hours ago | parent | prev | next [-]

I follow the standards processes, and while I don't see a push to against self-hosting mail, I do see a push to stop storing cleartext passwords. Which is typically what your MUA uses to access those self-hosted mail servers.

Gud 15 hours ago | parent | prev [-]

I've been self hosting myself now for a couple of years(after a brief, 20 year hiatus) and it was less difficult than I though it would be.

Don't listen to the naysayers.