Ask Slashdot: Is There a War Against Small Mail Servers?
softegg writes "My company hosts our own mail server. We have high-speed business connections through Verizon and Comcast. Recently, Verizon and Comcast have been blocking port 25, causing our private mail server to stop functioning. Additionally, a lot of ISPs just started blocking any mail coming from any IP in the address block of cable modems. This caused us to start laundering our mail through a third-party service called DNSExit. Now, McAfee's MAPS anti-spam system tells us they are blocking DNSExit for spam. Essentially, we are finding ourselves increasingly cut off from sending any outgoing mail. What is a small company supposed to do if you want to host your own mail?"
Most ISPs block outgoing port 25 because 99.99% of that traffic is viruses or otherwise malicious computers trying to send spam. Even more mail services block all dynamic pools used by major ISPs because of the same reason.
Just invest a few bucks a month into a cheap hosted VPS behind a static IP where you can run the server.
I'm sorry, I only accept criticism in the form of sed expressions.
If your ISP (Verizon and Comcast) are blocking port 25 outbound it doesn't sound like they think you have a "Business" connection. Check your contract/TOS for any provisions that would prevent you from running a server (common for residential cable connections but not for business) and if there isn't one call and complain. If they won't unblock port 25 for your mail server (assuming it's properly configured) you need to find a new ISP.
Comcast's idea of the Internet is an increasingly detached 'consumer endpoint' version of the Internet. If you're not in a rural area, then find a true Internet provider and move on.
I haven't had this issue with Comcast Business (static IP). Port 25 works just fine. But, some recipients don't like us.
If you want news from today, you have to come back tomorrow.
they only (so far as I know) block ports on residential accounts
you don't mention it, I suspect you are using a residential class account.
I have a comcast business account.. 2 actually.
pay for an account where the TOS allow servers... they won't block the port
before I had a 2nd commercial account, (at my home)
my biggest gripe was connections from my home to work
took too many hops to go 8 miles in very different ip ranges...
see if comcastbusiness.net is on the block lists you fear..
every day http://en.wikipedia.org/wiki/Special:Random
I've run my own mailserver for over a decade. It's IP has changed every few years if I switch ISPs, but otherwise it remains stable. I have a static IP on a DSL line and have reverse mappings set up. I have SPF records. I've registered with a whitelist. I've done everything I can. And still nobody who uses hotmail gets email from me. And I have increasing difficulty getting email to anybody else.
And I do not believe a single spam message has ever made it out from my network. I even block outgoing port 25 for the network segment my roommates use (when I have roommates) unless I'm administrating their computers.
This whole trend is really upsetting to me, and totally broken. I never have a problem sending email to someone with a gmail.com address, and they have the best spam filtering of any email provider I've ever used. The shortcut of blocking any DSL IP is clearly unnecessary if Google can do such a good job without it.
Need a Python, C++, Unix, Linux develop
I had a customer (a small town government) recently have port 25 outbound blocked by Comcast. After going around with Comcast for a bit, it turned out that they were subscribed to a residential-class service, which has port 25 outbound blocked by an implacable policy. The only way to get the port unblocked in this case would have been to move them to a business-class service with a static IP. (Fortunately the block wasn't a big deal for them, we were just using it for automated status reporting rather than running an inhouse mailserver.)
With reasonable men I will reason; with humane men I will plead; but to tyrants I will give no quarter. -- William Lloyd
are inappropriate for small businesses yet continue to grow in popularity due to their heavy marketing and low cost.
Contact your local bell, or find a t1/t3 reseller, and let them know you need a fractional leased line. the cost is higher, but you get a real service level agreement to which the provider is contractually obligated.
using a dedicated/shared server for email hosting has its drawbacks. the shared server may become overloaded by spammer accounts and other users, and its generally not a priority for most hosting companies as they get very little money off a shared hosting sale. dedicated hosting is just as bad because you're commonly forced through one relay host, or a set of relay hosts that routinely become overwhelmed by spammers on your providers other dedicated hosting boxes. the dedicated and shared boxes are also notorious for floating in and out of various blacklists and sender reputation services, so you can expect mail to break-down about once every few weeks.
Good people go to bed earlier.
I read the summary. Don't believe him. He is using a consumer connection. I've never heard of an ISP blocking ports on a business connection since the entire point of the damn connection is to get servers on to the internet and to allow VPN passthrough. If they blocked ports required for e-mail they might have well discontinue offering business accounts at all.
Most business connections also come with fixed IPs for exactly that purpose, and those aren't ever blocked by spam lists, since again the entire point of a business line is to bring servers online - not clients.
My dad's server is on Business Cable and Port 25 is not blocked and we have had no issues running our mail server on that connection.. Now one thing that we did do to aid in preventing us from being blocked is requesting our 5 IPs setup with reverse DNS entries to our domains instead of the Generic "ISP looking" ones that comcast assigns by default. You should contact Comcast and Verizon to set that up.
Also, make sure when you are testing if port 25 is "open" that you aren't yourself on an ISP that blocks 25 outbound. And make sure you setup port 587 (SMTP submission.. Authenticated SMTP) so that users can send mail from any ISP.
Even if you have a non-cable modem IP, it can be difficult to send (opt-in) business email from a small mail server. The reason is that spam filters at major email providers like Yahoo are turning to whitelisting, and you have to contact each major provider to avoid getting your email sent straight to the spam filter.
Since the implementations of spam filters at the server level seem to vary quite a bit, I tend to avoid sending particularly important single emails through my own small email server for fear they just end up in the spam folder of the recipient.
That said, in general I wouldn't trust a business-class cable modem connection to host an email server for business purposes. Virtualized servers are commonplace now and quite affordable (I pay $15/mo for mostly personal use). Set up the backup on your own connection.
"The universe seems neither benign nor hostile, merely indifferent." --Carl Sagan
I suspect that it is a mixture of "collateral damage in the war on spammers" and "convenient mechanism for price discrimination".
Back in the day, the ISPs could use the simple "dialup=cheap gits(unless they inquire about worldwide availability of dial-in numbers, in which case Soak 'em), T1=Soak 'em" heuristic to more or less distinguish between business and home users.
Now that a T1 is pitifully slow by consumer broadband standards(and, depending on location and providers, not much more reliable than a faster and cheaper consumer broadband connection, never mind two or more coming in over different wires for redundancy...) they need something else to keep business users paying more. Crippling common server functions is, conveniently, both a plausible reaction to spambots and a good way of making consumer-priced connections less useful...
Comcast and Verizon are reacting by shutting you down...you have to beg to get it restored from what I understand...
There is no good solution for most of us other than to just relay thru comcasts SMTP server.
Comcasts user networks are in the subscriber block lists of many RBLs however typically business class accounts are exempted from these lists.
For outgoing mail if you can't send directly your best bet is to configure your SMTP server to relay all messages thru comcast smtp.comcast.com which is less than ideal.
Comcast runs with aggressive dns timeouts and their mail system does not properly translate DNS timeout to a temporary condition.. This sometimes cause emails to valid destinations in distant countries with slower links to bounce.
I host my personal server with a Mosaic forum (Mosaic and Stained Glass.org) out of a CoLo in Florida. It's not the cheapest solution but I do get 100% access to the server to do what I want and a reasonable time on reboots when necessary.
Still, Microsoft will randomly block my mail for a month at a time with no recourse. I've attempted to contact them but they send me to a troubleshooting page which tells me I'm configured correctly but they still won't accept email. This wouldn't be too bad of a problem except that other ISPs use them to manage their e-mail. So I can't get any e-mail to Shaw.ca or AT&T in Canada. They don't even have a whitelist option for their users.
And there are a few smaller ISPs in the US that use anti spam blocking sites that don't have any way to let them know that I'm not spamming.
Most others though have contact information in their bounce and I've used it to check the various sites in the block list, then forward the results to the postmaster at the offended site. Then I get it opened up for the folks on the forum.
Heck, one ISP replied that I needed to get in touch with them and their Postmaster account won't accept further e-mail. I had to send them a note from my Yahoo account. Then they said it was a problem with my ISP and they should fix it. My ISP had no idea what they could do to fix it.
Even the company I work at, who uses MX-Logic can't receive e-mails from me because I'm not able to convince MX-Logic I'm not a spammer.
On the plus side, if I did want to spam Microsoft, they have a program where if I pay them, they'll open their servers up so I can send e-mail to their clients.
I'm not doing any real business on the server. I have my consulting website there but traffic is pretty much non-existent. The biggest impact is when the forum folk try to send the other folks e-mails (the PM notifications). I have a note in the Site Agreement to let folks know on shaw.ca, frontier, and the others that they might want to use a Yahoo e-mail to manage their forum account.
[John]
Shit better not happen!
CableOne has blocked outgoing mail for years. It's annoying to have to reconfigure your mail program every time you travel somewhere. And it hasn't stopped the flow of prescription drug e-mails and Nigerian-ish scam e-mails. Hell, if all of those e-mail from barristers in foreign countries telling me a long lost relative left me several million dollars were real, I could by that 30,000 acre ranch in western Wyoming...and a helicopter. And why is it always a seven-figure inheritance? Wouldn't more stupid people believe $20,000?
Get a VPS. You can get one for $20/month and set up a full e-mail server on it. You'll get better hardware and better connectivity than your own server. Your IP will be seen as coming from a data center, not a cable modem pool of addresses. You can also host your own website, and leave the server you have at your office for internal things only. For mail access, just set up IMAP and SMTP with TLS, with the latter on port 587 (known as the submission port) which is generally not blocked like 25 is.
Being that I setup SBS 2003 and SBS 2008 boxes, let me explain what you really need to make it work.
1. A business class ISP subscription. Along with this classification, you get a netblock of IP/s that (usually) wont be preemptively blacklisted by SORBS (I hate them).
2. Reverse DNS (PTR) record. Not having one is almost guaranteed to get your sent e-mails blocked. Getting one created is easy as pie if you subscribe to a business class ISP.
3. SPF record. They're many online wizards to help you create one. My favorite is from Microsoft.
4. DNS that will host TXT records. Needed for that SPF record you just created.
Once all completed, be sure you test out your handy work over at http://www.mxtoolbox.com/ Good luck.
Life is not for the lazy.
Outsourcing is often not feasible. As an example off the top of my head, any American company working with medical data needs to be certain that personal medical data does not leave their control, or they get hit with huge penalties from HIPAA and HITECH. That eliminates a lot of outsourcing options, and especially anything cloud-related, because one mistaken message, even from someone outside the company, can have devastating effects.
You do not have a moral or legal right to do absolutely anything you want.
1) Get a static IP address for your mail server if you don't already have one. Many mail servers use DNSBL blacklists that distrust anyone with a Dynamic IP address.
2) Get your ISP to configure Reverse DNS for your mail server's IP address. Many mail servers reject mail because Reverse DNS isn't configured properly.
3) Make sure your server is set to not run as an open relay.
4) Have a proper abuse@ and postmaster@ e-mail addresses so e-mail providers who claim to have spam complaints against your domain can actually send them to you.
5) Setup an SPF record (openspf.org has a great wizard for this) for your domain. SPF records basically specify which mail servers are allowed to send mail from your domain. This will help cut down on spammers spoofing e-mail addresses at your domain and increases the odds of legit e-mail not being marked as spam.
Not all of these will guarentee delivery of any e-mail, but they can certainly improve the odds.
Actually it would require a rewriting of the SMTP protocol :P
However, the standard solution is to use port forwarding on an external unencumbered host accepting inbound port 25 and forwarding to your unblocked port (e.g. 1025). You can use a smarthost to similarly forward external email via another 'unblocked' host.
This generally gets you closer to the benefits of a "local" mail server vs simply hosting your mail server external to your network.
Outsourcing it is cheap because it needs to compete with these roll-your-own systems. If small mail were totally blacklisted, I wouldn't be surprised to find mail services prices bump a bit. Afterall, they'd be the only people with an ISP allowing port 25...
Forward 25 port to SSL one - thats how we do it at company where I work. 25 port is blocked cause of spam.
First question... do you have a residential or a business link? That usually changes the network preferences. As I recall most residential agreements prohibit running servers on the network to begin with.
Assuming that you trust the outsource company. It is only as secure as the monkeys running it. Go ahead and get gmail for business if you want. I will host and control my own server, thank you.
As long as you have a business associate agreement there is no problem outsourcing medical information. Hospitals and clinics routinely outsource everything up to and in including electronic medical record systems.
That's how this looks in a telnet port 25 session from a DSL line:
telnet mx2.hotmail.com 25
220 bay0-mc3-f21.Bay0.hotmail.com Sending unsolicited commercial or bulk e-mail
to Microsoft's computer network is prohibited. Other restrictions are found at h
ttp://privacy.msn.com/Anti-spam/. Violations will result in use of equipment loc
ated in California and other states. Mon, 21 Feb 2011 17:47:40 -0800
EHLO mine.home.net
250-bay0-mc3-f21.Bay0.hotmail.com (3.12.0.56) Hello [xxx.xxx.xxx.xxx]
250-SIZE 36909875
250-PIPELINING
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-AUTH LOGIN
250-AUTH=LOGIN
250 OK
MAIL FROM: i@home.net
550 DY-001 Unfortunately, messages from xxx.xxx.xxx.xxx weren't sent. Please conta
ct your Internet service provider. You can tell them that Hotmail does not relay
dynamically-assigned IP ranges. You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors.
Now if you've got a dynamic IP or a static IP in a dynamic IP range or maybe even a static IP from a static IP range from a larger known-to-be-dynamically-assigned IPs...