Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Security The Internet

Replacing SMTP? 539

dousette asks: "In reading over one of the RFC's governing the SMTP protocol, and other RFC's as well, it's interesting to note that you see some big names and big companies from time to time. With all the loopholes in the current SMTP specification, is it possible for the Slashdot collective to come up with another one? Would it stand a chance in making it into a standard, or do they just listen to Cisco, AT&T, etc? I realize that a lot of people have a lot of ideas how things should be done (and they haven't been shy about posting them to Slashdot), but has anyone tried to write the RFC for a replacement protocol? As a side note (where I won't be shy about posting how things should be done), if there were a replacement trusted protocol, one could have mail received via that protocol bypass spam filtering, id checking, or whatever checks might be in place (saving processor cycles, etc). The regular checks could still be done on other mail received via the 'older' SMTP protocol. If more and more ISP's make use of this, SMTP could be gradually phased out... or if you are one for a sudden cut-over, just cut to the new one at the same time as the IPv6 upgrade!"
This discussion has been archived. No new comments can be posted.

Replacing SMTP?

Comments Filter:
  • by Bryan Ischo ( 893 ) * on Monday August 04, 2003 @06:44PM (#6610355) Homepage
    D. J. Bernstein, the author of the supremely reliable and secure qmail mail server, wrote a proposal for a new Internet mail system a couple of years ago. It's called Internet Mail 2000. Check it out at:

    http://cr.yp.to/im2000.html [cr.yp.to]

    The basic premise is this:

    "IM2000 is a project to design a new Internet mail infrastructure around the following concept: Mail storage is the sender's responsibility."

    It's an interesting concept and worth a read.

    Unfortunately it doesn't look like it would do much to stop spamming, which is the major problem with the current internet mail infrastructure. For that, we need some way to make sending bulk email costly to spammers. Actually I'd say that this could be done already with current technologies, it's just that ISPs and large network providers are not being responsible in ensuring that the users of their networks pay the appropriate price for sending out SPAM.

    Maybe ISP's should charge users for each outbound SMTP connection they make? I'd happily pay 10 cents per email I sent if it would reduce the amount of SPAM I received. It would only cost me a couple of bucks a month too at the rate that I send email ...
  • Re:Interesting idea (Score:3, Informative)

    by Anonymous Coward on Monday August 04, 2003 @06:49PM (#6610422)
    I suppose you've never heard of mod_gzip before, then?
  • by tempshill ( 413165 ) on Monday August 04, 2003 @06:57PM (#6610496)
    The QWERTY-slow typewriter story has been debunked. [straightdope.com] QWERTY forever!
  • by Anonymous Coward on Monday August 04, 2003 @06:58PM (#6610503)
    This is a rather silly article. If you want to create a new protocol - do it. If you want to create an RFC - do it. The IETF publishes instructions on the steps that must be followed to create an RFC - see RFC 2418 [ietf.org]. There is nothing stopping you and you don't need Slashdot approval to accomplish it.
  • by aardvarkjoe ( 156801 ) on Monday August 04, 2003 @07:00PM (#6610526)
    Mod the parent up. Another link about the qwerty myth is here. [independent.org]
  • by Anonymous Coward on Monday August 04, 2003 @07:08PM (#6610589)
    White listing is not a solution. It just means that the spammer has to collect address pairs instead of a single address: ie his lists contain my address and the address of someone on my white list, which he can use to spoof his From address with. It is quite easy to obtain this info. Mailing-lists would be a good place to start. MS Outlook viruses would also work great at collecting address lists.

    Basically the 'loopholes' in SMTP are that any field the metatags can be spoofed and no authentication is done. So the only real solution to SPAM is to add an authentication layer on top of it (like PGP-signatures letters). A application-based tool will never happen, because most users don't care enough to sign their letters. A server-based layer on top of SMTP would be no different in terms of compatibility as creating a new protocal that backed down to SMTP if the peer server didn't have the new protocal.
  • by Angst Badger ( 8636 ) on Monday August 04, 2003 @07:18PM (#6610664)
    Maybe ISP's should charge users for each outbound SMTP connection they make? I'd happily pay 10 cents per email I sent if it would reduce the amount of SPAM I received. It would only cost me a couple of bucks a month too at the rate that I send email ...

    John Dvorak suggested a scheme along these lines, and in theory, it's a good one, though I'd suggest a tenth of a cent, which would still make sending a million emails prohibitively expensive.

    In practice, though, it's not workable. Spammers aren't using the SMTP server their ISP provides; they're using their own, just like most desktop Linux users are. As far as the ISP is concerned, Spammer X is making a bunch of outbound connections, but they're streaming out through the ISP's switches and routers, not through their SMTP server.

    To impose a tax on certain kinds of TCP connections would require detailed inspection of outbound packets. This is because a single SMTP connection can involve the transfer of many messages. To be reliable, the ISP would have to parse every outbound packet bound for port 25 on a remote system in order to count the number of emails sent. I don't think most people want that level of attention paid to their private emails.

    Moreover, this presumes that all ISPs participate honestly and thoroughly in such a system. All it would take is a few spam-friendly ISPs (and they exist, are legion, and jump around IP ranges like ferrets on a hot skillet) to render such a system useless.

    The alternative would be to implement email billing at the recipient side. Maybe AOL and Earthlink can pull that kind of blockade off, but small companies and J. Random Luser cannot.

    Bernstein's IM2000 proposal at least keeps the bandwidth consumption down, but that's primarily a cost issue for ISPs. (Don't try to convince me that if the amount of spam declined, ISPs would lower their prices.) The main hassle of spam for the user is that it takes time and energy to delete spam, and having to inspect the stuff with ambiguous could-be-from-someone-I-know subject lines would not be alleviated by IM2000; you'd still have to pick and choose what pending inbound email to read or delete.

    The fundamental problem with email as a mail system is that it's open to anyone who wants to send mail -- which is part of the point of mail in the first place -- but there is no economic limiting factor for the sender as there is with paper mail. Since we can't eliminate the openness without destroying the utility of the system, the only possible strategy is to artificially impose a cost on the sender. Unfortunately, owing to the nature of public networking, the only remotely reliable way to do that would be to route all mail through a centralized clearing house. No one company will be able to establish such a monopoly, and I don't think anyone wants the alternative -- which is to have the government do it.

    This may or may not be a soluble problem, but it is, as of today, still an unsolved problem. Personally, I think it's going to take national legislation and international agreements to stop it, and that will no doubt take a long time. Paper (actually clay tablet) mail existed for several millennia before the International Postal Union was finally established. Let's hope email is brought into line a little faster than that.
  • by keithmoore ( 106078 ) on Monday August 04, 2003 @07:26PM (#6610715) Homepage
    The problem is that building trust networks is really difficult, and all the ways that make it look easy actually end up making some small set of concerns (i.e. the certificate authorities) very powerful, and thus, dangerous.


    SMTP already has authentication, and anyone who operates an SMTP server is free to accept or not accept mail from whomever he wants. You don't need a new protocol to require mail to be authenticated. If you can solve the trust problem, you can implement a trusted mail solution more quickly and easily with SMTP than by requiring deployment of an entirely new protocol.

  • SMTP AUTH (Score:5, Informative)

    by Alethes ( 533985 ) on Monday August 04, 2003 @07:27PM (#6610720)
    Ever heard of it? [google.com]
  • Pragmatism required (Score:3, Informative)

    by m00nun1t ( 588082 ) on Monday August 04, 2003 @07:32PM (#6610773) Homepage
    I don't think the /. community could do this. Why? Too many idealists. Look at all the "successful" protocols (HTTP, POP3, etc) - they all are loaded with problems, but regardless, they get the jobs done and where appropriate, get fixed over time. A pragmatic approach is required IMHO - something that does the job and that a large group of people could agree on. Pragmatism & consensus are not things the /. community are renowned for.
  • by Strepsil ( 75641 ) <mike@bremensaki.com> on Monday August 04, 2003 @07:59PM (#6610956) Homepage

    2) A way of verifying what e-mail addresses & domains are allowed on outgoing e-mails from said mail sever. That would be new, but should be easy to develop.

    There is a proposal for this [ietf.org], which was covered here [slashdot.org] a while back. I like the idea, although it's going to mean more ISPs will have to offer authenticated SMTP relays for roaming users (not exactly a bad thing, in any case).

    Also, to those people saying Bayesian filtering is so great, this doesn't solve my problems. To filter a message on content means I have to accept the damned thing first, and I don't know about anyone else but my inbound traffic costs me money. If I accepted every piece of mail destined for my server, the costs would have me off the net in no time - I have a pretty low-budget operation. Blacklisting servers and not accepting connections from them (and accepting the collateral damage) is the only practical option I have.

  • Re:Costs (Score:5, Informative)

    by 680x0 ( 467210 ) <vicky @ s t e e d s . c om> on Monday August 04, 2003 @08:05PM (#6610987) Journal
    That's similar to what happens with ESMTP (yes, there already is a "new improved SMTP"). If the client understands ESMTP, it sends a new command to begin the conversation ("EHLO" instead of the older "HELO"). If the server is old, SMTP-only, it sends an error message, and the client tries again with plain old SMTP. If the server does do ESMTP, it sends a reply, along with the list of ESMTP goodies it understands. Some of the goodies are sending msg size ahead of time (so the server can reject the message due to size limitations before the whole message gets transferred), delivery status notification, and so on. None of the current "capabilities" really help filter out spam, but if you come up with a new feature, you can add it as an ESMTP capability, and whenever both client and server support it, it will be used.

    Check out RF2821.

  • by darrylo ( 97569 ) on Monday August 04, 2003 @08:26PM (#6611111)
    After all, it's now past the death of typewriters, and we're still using the typewriter keyboard from nearly two centuries ago. And we use a ridiculous rail gauge, because the standard was set centuries ago.

    Don't laugh. The following might be apocryphal, but it's still interesting .... I don't know where it comes from, though:

    The US standard railroad gauge (width between the two rails) is 4 feet, 8.5 inches. That's an exceedingly odd number. Why was that gauge used?

    Because that's the way they built them in England, and the US railroads were built by English expatriates.

    Why did the English build them like that? Because the first rail lines were built by the same people who built the pre railroad tramways, and that's the gauge they used.

    Why did "they" use that gauge then? Because the people who built the tramways used the same jigs and tools that they used for building wagons which used that wheel spacing.

    Okay! Why did the wagons have that particular odd wheel spacing? Well, if they tried to use any other spacing, the wagon wheels would break on some of the old, long distance roads in England, because that's the spacing of the wheel ruts.

    So who built those old rutted roads? The first long distance roads in Europe (and England) were built by Imperial Rome for their legions. The roads have been used ever since.

    And the ruts in the roads? Roman war chariots first formed the initial ruts, which everyone else had to match for fear of destroying their wagon wheels. Since the chariots were made for (or by) Imperial Rome, they were all alike in the matter of wheel spacing.

    The United States standard railroad gauge of 4 feet, 8.5 inches derives from the original specification for an Imperial Roman war chariot.

    Specifications and bureaucracies live forever. So the next time you are handed a specification and wonder what horse's ass came up with it, you may be exactly right, because the Imperial Roman war chariots were made just wide enough to accommodate the back ends of two war horses. Thus, we have the answer to the original question.

    When we see a Space Shuttle sitting on its launch pad, there are two big booster rockets attached to the sides of the main fuel tank. These are solid rocket boosters, or SRBs. The SRBs are made by Thiokol at their factory in Utah. The engineers who designed the SRBs might have preferred to make them a bit fatter, but the SRBs had to be shipped by train from the factory to the launch site.

    The railroad line from the factory had to run through a tunnel in the mountains. The SRBs had to fit through that tunnel. The tunnel is slightly wider than the railroad track, and the railroad track is about as wide as two horses' behinds.

    So, the major design feature of what is arguably the world's most advanced transportation system was determined over two thousand years ago by the width of a horse's ass!

  • by djmitche ( 536135 ) on Monday August 04, 2003 @08:29PM (#6611129) Homepage

    This is currently being discussed on NANOG [merit.edu] (where it's an offtopic favorite). I highly recommend this list for peeks and views into the people who keep this Internet thing working.

    In the discussions yesterday and today, there's been a lot of talk about how to "bootstrap" this new protocol. There are interesting discussions of the business ramifications of being an early adopter of something like this -- very sililar to those for IPv6.

    It's been said by far wiser people than me: spam is a social problem, and it must have a social cure. Any solution which does not respect these two facts is doomed to failure.

  • by thogard ( 43403 ) on Monday August 04, 2003 @08:41PM (#6611226) Homepage
    There is a solution on the table and US law that requires the US government to use it. Its called X.400 and it is a mess. For a start you have to register your server and that used to cost something like $25,000 or maybe $40,000 for businesses. The Gossip program for gov email requires all email systems to migrate to this x.400 nonsense but I manged to get them to allow a migration path through SMTP (the others were worse and the only two that were even consididered that worked were SMTP and UUCP). The only encrytion addon for sendmail happens to be a result of work that started from encrypting x.400 stuff.

    If you want to fire up your own X400 server to play with, grab isode and try to get it to compile on your machine without gagging if you can. Its one nasty bit of bad code.

    SMTP isn't that broken. It works for about a billion people. Any attempt to "fix" it will break it for way too many of them.

    After looking through the posts here (most of the +5 should be -5 Stupid), its clear that most of the experts don't understand email in the real world.

    Encryption:
    The 1st tings is email must be interceptable. Many governments won't allow high level encryption that isn't full of holes that allow them to play pack recorded streams. Most large email servers can't deal with the CPU load of full encryption anyway so 100% solid encryption is out.

    Authentication:
    Authenticating the server is very importaint to many sites. Once you start doing some level of encryption, you need to make sure you know who your connecting to.

    Authenticating the client is the where spam issue comes from. There are many ways to do this but none of them are being done and none of them work 100% (which is why none of them work)

    There is no way of knowing of a new business is a spamer or not. Therefore there is no way to filter out spamers that have enough cash to hook up to new ISPs all the time. (there are some stupid ideas like charging--my isp is rich enough, forcing all email out--my isp's mail server is up 100% doesn't understand MX,I can run my own server and it works so why chnage?)

    reverse MX record checks only work if you can trust the ISP to get reverse dns working correctly and they won't deligate it to a spam house. The other choice is a verisgn like company to whitelist everyone or some sort of distributed whitelist (which the spamers will try to hack into)

    As far as fixes:
    The solution is patch sendmail, qmail, postfix, exim to understand email on port 26 (pointed to by a srv record) and if mail comes in on the new port, then it must be checked with a reverse MX record or its dropped. Get the clients to stop handing off email on port 25 (sendmail allows port 587 for that) Use something like the SSH transport layer to encrypt (i.e. set up the encrypted channel 1st and then figure out whos talking). Add a new smtp verify_message command so I can ask another server "did you send me messages Xcxczxczqweczx?". Patches for all 4 systems must come out at the same time but be tested aginst each other. The when an ISP figures enough of its mail comes in on something other than 25, kill port 25 forever. That will kill all the proxies and all the old email gateways that haven't been updated in years.

    Or save up your money and buy your self an X.400 gateway license adn tell all your friends about your cool new email address with all thouse nice slashes and no @.
  • Re:Jabber (Score:3, Informative)

    by Phantasmo ( 586700 ) on Monday August 04, 2003 @08:51PM (#6611267)
    Unfortunately, since Jabber's a baby of the "open source" movement, it has a lot of very wealthy enemies (namely Microsoft) who will work very hard to ensure that it doesn't succeed.
    They are instead backing the (IMO) inferior SIP/SIMPLE technology for IM.

    Read The IM Standards Race [jabber.com] for more information.
  • by jc42 ( 318812 ) on Monday August 04, 2003 @09:48PM (#6611747) Homepage Journal
    You'll find some good commentary on this particular bit of mythology at:

    http://www.snopes.com/history/american/gauge.htm

    Their best comment on it is probably:

    Marvelling that the width of modern roadways is similar to the width of ancient roadways is sort of like getting excited over a notion such as "modern clothes sizes are based upon standards developed by medieval tailors." Well, duh.

    Then they go into a rather detailed explanation of why it's basically an uninteresting historical semi-truth for exactly this sort of reason.

    Still, the modern "standard" railway gauge does go back at least a few centuries. And the early railroad equipment was derived from the sort of horse-drawn vehicles (carriages and carts), so of course it was about the same size.

    But in the "standards" sense, the current American rail gauge doesn't really trace back to anything Roman, or much before around 1800. Before that, it's just vague copying, with sizes coming out nearly the same because the job (carrying people and their luggage) was about the same.

    The Space Shuttle tie-in is completely bogus.

  • by ndvaughan ( 576319 ) on Tuesday August 05, 2003 @12:37AM (#6612720)
    For a measley $20 or so a year, you can register your own domain name, get all e-mail to that domain forwarded to your "real" address (which you make unguessable and never give out), using a service like Zone-Edit. I've done this and effectively cut off ALL spam, since I give out a different e-mail address to each entity (usually something like, "[company-name]@[mydomain].com").

    When I discover a piece of spam, I check the sent-to field, and set a rule in my mail program to color it a certain color using the sent-to field as criteria (or transfer to trash), since I know that this single address has been compromised somehow. Since you can clearly know WHICH e-mail addresses are compromised, it makes it very easy to filter these out.
  • by AvitarX ( 172628 ) <me@brandywinehund r e d .org> on Tuesday August 05, 2003 @02:16AM (#6613099) Journal
    Why does the very original IP need to matter.

    If the fear is people faking mail, you simply need to require it went through the mail smtp server for that domain. Then the smtp server needs to authenticate all the clients. This would mean that the client IP is irrelavent, it just had to authenticate to a listed address/server.

    You still have a problem with open/insecure releys, but that will always be a problem, an insecure system will always be crackable, and people who intentionally set stuff up to allow spamming will always be able to act trusted long enough to spam.

"And remember: Evil will always prevail, because Good is dumb." -- Spaceballs

Working...