9 ms·
It used to be possible to run your own SMTP server, inbound and outbound, from home. This was so badly abused by spam that port 25 is blocked almost everywhere.
by pjc50 11y ago
It used to be possible to run your own SMTP server, inbound and outbound, from home. This was so badly abused by spam that port 25 is blocked almost everywhere.
Domestic systems tend to be in configurations that make it hard to accept inbound TCP connections. You could serve SSL on a random port and open a port using UPNP, and it will work most of the time.
It's a difficult circle to square. The most trustworthy system is one you administer yourself and manually inspect all updates, but in practice the amount of work required makes that almost impossible. If you allow the OEM to do updates they can compromise you. If you don't do updates you end up vulnerable to exploits.
The "send a reference to the message not the message" technique was part of DJB's "internet mail 2000" proposal: https://en.wikipedia.org/wiki/Internet_Mail_2000 https://en.wikipedia.org/wiki/Internet_Mail_2000
- bhauer 11y agoDespite my grievance elsewhere in this thread that mail servers do not come pre-configured with sensible defaults, I would guess that no modern mail servers are pre-configured as an open-relay when installed. The concern about port 25 relaying being abused by spammers strikes me as an anachronism. In any event, I found that mainstream ISPs are willing to unblock port 25 if you tell them you are running a personal mail server and have it properly configured to not relay for unauthenticated users. Aside from that, you'll want one static IP to make your life easy so you don't need to use dynamic DNS. I think matters such as availability of your server and configuration are surmountable challenges. But I strongly agree with you about security. Although I really like the idea of this device, the first thing I noticed in the product web page is the use of PHP Roundcube for webmail. I have a fear of running PHP anywhere on my network. The track record [1] is way better than, say, Wordpress, but seeing things like Exec Code, even back in 2008, gives me pause. [1] http://www.cvedetails.com/vulnerability-list/vendor_id-8905/Roundcube.html http://www.cvedetails.com/vulnerability-list/vendor_id-8905/...
- ef4 11y agoThe argument for blocking outbound SMTP is not primarily about misconfigured servers. It's about malware that wants to send spam.
- bhauer 11y agoGood point! Nevertheless, in my experience, ISPs will unblock port 25 for customers on request. I've only worked with a few in my years, but I've not yet encountered any resistance.
- tracker1 11y agoMost ISPs that I'm familiar with won't unblock common server ports (25, 80, 443) unless you are on a business account (though that's not much more these days). Though it isn't always just inbound 25 traffic... often it's outbound as well. Also, the larger issue is hacked/pwned machines and bots, not just open relays. Which reminds me, I need to update Tomato on my router.
- Elhana 11y agoMy ISP only blocks common ports on dynamic ip ranges. If you order a static IP, you do whatever you want with it. They even set reverse dns record for me when I asked, because some blocklists/mail servers want it that way. Issue with running your own mail server nowadays is spam. Gmail does a decent job filtering all the crap.
- m3andros 11y agoIndeed bhauer! Though, one would hope Hillary Clinton was thinking about utmost security when she was setting up her mail server...
- bhauer 11y agoOf course! And I am certain that she and colleagues always used GPG or similar when e-mailing between her personal mail server and the State Department's official mail server. Because it goes without saying they would do so, otherwise those e-mails carrying untold sensitive information would have been routed in the clear. And that obviously never happened.
- thyrsus 11y agoWhat I've gathered from news reports is that her mail server was accepting SSL connections, with a certificate that was probably strong enough at the time it was installed, but that was insufficiently strong for the brute-force attacks available today. Aside from that, it wasn't too bad - especially given the physical security of her residence (i.e., Secret Service). Note that the State Department's score on the FISMA report was significantly worse than that of the infamously hacked Office of Personnel Management, so maybe Ms. Clinton was on to something. https://www.whitehouse.gov/sites/default/files/omb/assets/egov_docs/final_fy14_fisma_report_02_27_2015.pdf https://www.whitehouse.gov/sites/default/files/omb/assets/eg...
- api 11y agohttps://mailinabox.email https://mailinabox.email
- LordKano 11y agoBack in the 90s, I used to run my own. It was extremely frustrating when big ISPs started blocking mail from dynamic addresses. I understand why they had to do it but it was still inconvenient for people like me.
- chrissnell 11y agoEven if your home provider allows you to accept SMTP on port 25, you're going to have a hell of a hard time with outbound delivery. The big mail providers give very low reputation ranking to e-mails originating from consumer connections. Even commercial connections w/ hosting providers need to be "warmed up" for a period of time to get their sending reputation to an appropriate level where they can expect reliable delivery without automatic spam-boxing. What I'd rather see is a company go into partnership with the big providers to certify individual senders at home. The idea is that you'd put up some kind of bond (a few hundred USD?) to help ensure that you won't be sending spam. In exchange for your bond, the company vouches for your IP to Google/Yahoo/Hotmail/etc and you're allowed to send your own email. After some period of use w/o any spam complaints, you get your bond money back.
- ghostly_s 11y agoman, no-one is going to jump on this bandwagon if it requires a several-hundred dollar outlay. Considering the massive volume required for spamning to be a worthwhile venture, wouldn't 50 bucks suffice?
- nmesse 11y agoOf course, but the money was not what the author of the post was trying to put across
- jsprogrammer 11y agoMaybe the big mail providers need to update their strategy regarding automatic spam-boxing? Most personal mail servers are not going to be sending mass emails. An algorithm that auto-spam-boxes mail from domains it's never seen before (or only receives a small trickle from) is ignorant.
- vidarh 11y agoMost personal mail servers won't, but most sources of e-mail sending un-authenticated e-mail direct to the target mail servers from consumer internet connections are spam these days because almost no consumers does that - instead most e-mail sent that way come from malware. An algorithm that auto-spam-boxes mail from address blocks used for consumer connections or from "new" servers is not ignorant - it is taking into account years worth of evidence that it is an effective counter-measure against spam. I'm saying that as someone who would like to run my own home mail server, and someone who is constantly battling to make sure our (100% opt in) bulk mail servers at work don't get blocked by overzealous spam filters - I wish it wasn't this way, but it is.
- masukomi 11y agoport 25 blocking is just the beginning. In most cases mail sent from a consumer facing ISP (Verizon, AT&T, RCN, etc) will not be accepted if the destination server is implementing SPF mail authorization, which most are these days.
- ised 11y agoI remember reading some early RFC's that suggested pre-SMTP, remote "email" was "sent" using FTP. Perhaps it was something like a PUT command to append to a user's "mail" file on the recipient computer? This seems to suggest email was always envisioned as something to be "received" rather that voluntarily "retrieved". In retrospect, knowing what happened to email, the later idea (e.g., djb's proposal) makes more sense. The funny part is that even though the "receive" idea is still the core part of the email process, that is not what email users do in practice. Users "retrieve" their mail from some third party who receives it for them. First there was "POP" then there was "webmail". Back in the Stone Age when email was "invented" computers were too expensive for the users to own. Each user shared the computer with other users. Each had an email account, usually administered by the organization that owned the expensive computer. Today computers are inexpensive and seemingly all users own one but they still do not have control of their email accounts. Some organization is still receiving all their mail before they do. And keeping a copy of course. :) Then, in more recent history, the domain name "business" (a monopoly run by an organization that derives its "authority" from nowhere), fueled by the popularity of the "www", became the gatekeeper to email. When was the last time you sent an email to user@[ipaddr]? Originally if my memory of the old RFC's is correct that was how it worked. No domain name needed. Today, if there is no purchased, monopoly-blessed "domain name", then according to the people who control users' email there is no "valid" email address. No pay, no play. Even if port 25 is open. Assuming a user who has paid for access to the "internet" wants control of their own email (seems reasonable), then "email" is still an addtional fee.