4 ms·
Mail self-hoster here. There's an additional wrinkle, which luckily you may never encounter in the public cloud space: in addition to typically being unable to
by don-code 4y ago
Mail self-hoster here. There's an additional wrinkle, which luckily you may never encounter in the public cloud space: in addition to typically being unable to _send_ mail from residential Internet connections, it's many times also not possible to _receive_ mail on a residential Internet connection.
On the outbound side, many accepters of mail will deny mail from SMTP servers on a residential IP address, as provided by the Spamhaus Policy Block List (https://www.spamhaus.org/pbl/ https://www.spamhaus.org/pbl/) or equivalent. Unfortunately, there's not much one can do to get off this list - ISPs self-publish their own residential IP space onto it. In order to self-host from home, business-class service or higher is in order. Or, again, use the public cloud, and hope your compute instance's IP isn't on some other block list.
On the inbound side, though, many ISPs block inbound port 25. Since that's the agreed-upon port for mail receipt, there's no real way around this. Several times while I self-hosted off residential, I was able to call Comcast support and ask for the ban to be lifted, but not before fighting through several layers of level one support asking me to configure my mail client differently. The real kicker, though, is any time my modem was rebooted (I owned my modem, too!), I had to call in and request it _again_. My (very small local) ISP in upstate New York also performed this blocking, but _would not_, in the face of any complaining, lift the block.
- throwawayboise 4y agoIn the ISP's defense, 99% of the time an SMTP sender in their residential address space is going to be a compromised device sending spam. It's pretty understandable that they would just decide that pissing off the relatively very few customers who want to run their own mail servers is a cost they are willing to accept.
- koolba 4y agoI bet it’s more than 99% too. Even amongst the tech savvy, there’s special level of dedication to run your own mail infrastructure. It’s like one in 10-25K.
- oefrha 4y agoThere’s running your own mail, then there’s running your own mail from residential. The dozens of us who do the former mostly don’t do the latter, thanks to the obvious vicious cycle.
- cm2187 4y agoThough I belong to the former, I do use my residential ip as a failover server for when my primary server is down, to not lose incoming emails.
- james_in_the_uk 4y agoWhat’s the benefit of this over a cheap VPS? Privacy?
- cm2187 4y agoJust cheaper. I mean again I do pay for a server in a datacentre as my primary server. I have a home server too anyway, so using it as a mail failover adds redundancy for free. Also I am using windows (smartermail) so even a cheap vps isn’t that cheap.
- jjav 4y agoNo special level of dedication needed. I'm one of the many who run my own email infrastructure and it is very little work. Nearly none, really, aside from initial setup. However, I don't run it from home over residential ISP connection.
- pkulak 4y agoYeah, but we’re talking about inbound port 25.
- seedie 4y agoI guess the argument for inbound blocking is that its way too easy to configure an open relay which is then used to send spam.
- u801e 4y agoBut the outbound block would prevent the relay from sending any mail over port 25, so there's no real point to block inbound connections.
- xanaxagoras 4y agoI'm thinking the ISP in upstate New York misunderstood the situation in a way similar to the comment above you.
- seedie 4y agoI've no argument beyond that. You're right.
- amelius 4y ago> In the ISP's defense, 99% of the time an SMTP sender in their residential address space is going to be a compromised device sending spam 99% of people don't use their home computer to write programs. Some people who write computer programs at home cause trouble. Should we therefore ban programming languages for individuals?
- necovek 4y agoMost ISPs do not outright ban it. They just default to blocking outgoing port 25 packets. Usually it's a support request away from opening it for a customer, especially with a static IP address (I've done that for the last ~19 years with a Serbian ISP). Of course, how well your support requests are handled is another matter.
- jamal-kumar 4y agoOhhhhhh there's a way! Pure End-To-End SMTP sending and receiving! It involves some pretty interesting tomfoolery using IPSEC tunnels on a pure OpenBSD setup, but even works when you don't have a fixed IP. https://www.exoticsilicon.com/jay/smtp_via_ipsec_tunnels https://www.exoticsilicon.com/jay/smtp_via_ipsec_tunnels
- guiambros 4y ago"In this guide, Jay shows us how to setup an IPSEC tunnel between a local machine running OpenBSD, and a remote VM hosted at OpenBSD Amsterdam..." A tunnel to a vm hosted on a cloud provider is far from "running SMTP servers on a residential IP address" that OP was referring to.
- jamal-kumar 4y agoIf you're not as impressed by end to end SMTP as I am then I feel you're missing out! Oviously you need domains with RDNS and everything to point to a public IP address for relay, but if it's a really cheap VPS that's pretty cool. Sure is a LOT lighter than running a full mail server with three or four protocols to get things right and keeping that up to date and exposed to the public.