Slashdot Mirror


Sendmail Removed From NetBSD

Derkjan de Haan writes "Christos Zoulas removed sendmail from the NetBSD source tree, after a lot of discussion about its security track-record. Sendmail will remain available from pkgsrc." But without sendmail.cf foo, how will we distinguish between the best admins and the mediocre? Sendmail was more useful as a litmus test than as an MTA ;)

248 comments

  1. The Security Concerns by eldavojohn · · Score: 5, Informative
    Well, I don't think that a short note covered much at all on why they removed it so I did some investigative work. Disclaimer: I use sendmail although I am by no means an expert at it. I'm ignoring pre-2k security issues as that is older than five years ago.
    • A security alert from March of 2003 in which Sendmail has been determined to contain a buffer overflow vulnerability.
    • Another security alert from later that year.
    • A security alert also from 2003 regarding a remote buffer overflow.
    • A security alert from 2002 regarding a trojan horse horse sendmail distro.
    • Some freebsd specific Sendmail alerts.
    • A security alert from March of 2006 (this year) regarding a race condition that may allow remote code execution by an arbitrary user.
    • A plethera of similar or smaller security concerns can easily be found.
    • The most recent release of Sendmail involves things like fixing possible integer overflows & unsafe use of setjmp(3)/longjmp(3) or adding time outs.

    As you can see with above security concerns, Sendmail has had significant historical problems but they have been active in rectifying these problems. If you have the time to patch often, Sendmail most probably will provide you with one of the safest mail transfer agents out there.

    The largest concern seems to be the possibility of being compromised via a remote connection. If you're not using it, simply turn off the Sendmail Daemon. And I think that's why they removed it from NetBSD. Some idiot like myself might install NetBSD and leave that sucker listening on port 25. Now, there are no problems immediately because I'll have the latest version but I'm lazy and I don't patch NetBSD regularly so a few security alerts come out and then ... well, you know the rest.

    Funny thing is, I've never heard of anyone losing data or being hacked due to Sendmail. Perhaps it's because the last place I saw it used widely was college?
    --
    My work here is dung.
    1. Re:The Security Concerns by jtshaw · · Score: 2, Interesting

      Honestly, I've never heard of anyone being hacked through sendmail either.. but that doesn't mean it didn't happen.

      What I have witnessed a lot is people who run sendmail as an open relay because they don't know any better. Not to say you can't also configure qmail or postfix to be an open relay.

      The biggest reason I switched away from sendmail was I did lose data because of mbox file corruption on two occasions. Maildir is much better at protecting against that.

      Qmail/Qmail-Scanner/Qmail-SPP have been doing a great job for me for the last few years.

    2. Re:The Security Concerns by Anonymous Coward · · Score: 0

      If you're not using it, simply turn off the Sendmail Daemon. And I think that's why they removed it from NetBSD. Some idiot like myself might install NetBSD and leave that sucker listening on port 25. Now, there are no problems immediately because I'll have the latest version but I'm lazy and I don't patch NetBSD regularly so a few security alerts come out and then ... well, you know the rest.

      No. Sendmail listens on localhost.25 on the default installation of NetBSD.

    3. Re:The Security Concerns by Anonymous Coward · · Score: 5, Funny
      Funny thing is, I've never heard of anyone losing data or being hacked due to Sendmail. Perhaps it's because the last place I saw it used widely was college?

      Some time ago there was a 'hacker' movie made here in Poland. And there was a rather funny scene, where two main characters were trying to break into some server. Best part below:

      (from memory)
      H1: Wow, this thing is a real fortress...
      H2: Did you try to get through sendmail using emacs?
    4. Re:The Security Concerns by Anonymous Coward · · Score: 1, Insightful
      Honestly, I've never heard of anyone being hacked through sendmail either

      Generally because people don't brag about being hacked, and folks aren't always sure about the attack vector. I run Postfix these days primarily because of speed, there is no comparison between Sendmail and Postfix on this front. I looked at QMail, but since its creator of focused on forcing me to adopt his own INIT scheme (yes, patches are available but I'd prefer ro run unpatched).

    5. Re:The Security Concerns by Anonymous Coward · · Score: 0

      I have seen those references to "extensive discussions" but I haven't found them. Has anyone?

    6. Re:The Security Concerns by arivanov · · Score: 4, Insightful
      Honestly, I've never heard of anyone being hacked through sendmail either.. but that doesn't mean it didn't happen.

      I had. Several times back in 1996. Made me switch to qmail and after that to exim.

      As far as sendmail is concerned it is a good MTA provided that:

      • You have the money to pay for every edition of the "Hanging Bat" as it comes out. No point to even try doing anything moderately complex without it. Similarly you have to be a kbd+book person. Not all admins are.
      • You work for a large corp or edu which has fairly complex mail handling requirements. Less complex cases can happily get around using Exim or Postfix.
      • You intend to buy commercial software for some functions. The choice for commercial interfacing of archiving, compliance, AV, AntiSPAM on Unix is between milter and milter. Very few products interface into something else like exim filters.
      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    7. Re:The Security Concerns by archen · · Score: 2, Informative

      I'm not sure about NetBSD, but in FreeBSD you can remove Sendmail entirely. Add "NO_SENDMAIL=true" to make.conf. During your next buildworld sendmail (and related stuff) will not be built. After installworld, do a search for old files - particularly /usr/libexec/sendmail I think is the location. Then install another MTA from ports if you need one.

    8. Re:The Security Concerns by JReykdal · · Score: 1

      There was an incident regarding Emacs and "movemail" in the '80's.

    9. Re:The Security Concerns by Alioth · · Score: 1

      The original worm spread through Sendmail - the Morris worm of the late 1980s spread through a security flaw in Sendmail.

    10. Re:The Security Concerns by maw · · Score: 1
      If you have the time to patch often, Sendmail most probably will provide you with one of the safest mail transfer agents out there.

      What an idiotic thing to say.

      Even for Slashdot.

      --
      You're a suburbanite.
    11. Re:The Security Concerns by jacksonj04 · · Score: 1

      It's obviously the same people who wrote Swordfish, with the "Triple DES connection" linking into every bank. Normally my suspension of disbelief is quite good, but I actually burst out laughing at that one.

      --
      How many people can read hex if only you and dead people can read hex?
    12. Re:The Security Concerns by DenDude · · Score: 1

      Puh-leeze, the most annoying "pull-you-out-of-the-movie" moment for me was Jeff Goldblum writing the ID4 virus to take out the shields on the mothership, and then connecting with "AlienOS Airport". *blech*

      --
      A Haiku: my language choices/assembler pascal lisp c/old school programmer
    13. Re:The Security Concerns by Anonymous Coward · · Score: 0

      cmon. You're watching an aliens movie and complaint about fiction in the computer part?

    14. Re:The Security Concerns by willCode4Beer.com · · Score: 1

      Didn't they have to remove sendmail to conform with the Jesux directive?

      --
      ----- If communism is a system where the government owns business, what do you call a system where business owns govern
    15. Re:The Security Concerns by dodobh · · Score: 2, Informative

      Complex mail handling requirements such as? Postfix handles most stuff fine (and if you have really complex policies, pushing those policies into an external policy daemon is recommended).

      As for milters, the latest Postfix snapshots are adding milter support.

      --
      I can throw myself at the ground, and miss.
    16. Re:The Security Concerns by caseih · · Score: 1
      The biggest reason I switched away from sendmail was I did lose data because of mbox file corruption on two occasions. Maildir is much better at protecting against that.


      Sendmail really doesn't care what format the mail is ultimately stored in; that's not sendmail's job anyway. That's the job of the delivery agent, which for most people is procmail. Procmail can deliver to either mbox or Maildir. I've been happily using sendmail and delivering to Maildir boxes for several years now. Works great.

      There is one feature that keeps me on Sendmail and probably will for the foreseeable future. That is the sendmail milter API. Plugging defangers, antivirus scanners, and spam scanners into the mail system using milter is by the far the best solution I have seen. It's fast and can operate at any level of the mail processing process, from connection to envelopes to the message body itself. Postfix has no such comparable system. While many folks do use things like amavisd, they don't quite compare as amavis essentially has to speak full smtp (well lmtp anyway). This means usually that's it is much harder to perform early filtering, like during the HELO stage of smtp.

      Further I'm also sceptical of QMail and the brash claims made by QMail affectionados, although his Maildir idea was brilliant. So for my home machine where I just want simplicity over power, I am running Postfix. Once postfix has a milter API, I'll switch to it across the board. But in the meantime my at-work servers will run sendmail.
    17. Re:The Security Concerns by MikeBabcock · · Score: 1

      qmail works almost perfectly for me, except in how it handles bounces by default, but that's another issue.

      With qmail-filter qmail supports in-line filtering of your messages through various software like virus scanners, etc. during the delivery process, but I'd like it earlier as well.

      Just out of curiousity, what features do you like (specifically) best about how milter works?

      --
      - Michael T. Babcock (Yes, I blog)
    18. Re:The Security Concerns by DenDude · · Score: 1

      Sure, "Aliens" are technically possible, and advanced technology could explain their weapons systems and drives, but connecting to a computer system that you've never even seen... wirelessly... and writing a virus for the same system? Finding their signal? I'm sure they weren't using cox highspeed. Handshaking, protocol? Are they just using UDP or TCP/IP on this "millions of years advanced" ship?
      They might be even be using something other than binary computers, in which case the entire premise is flawed. Besides, the finale of the movie was only possible because he was able to do this. It was retarded. So yeah, pretty much.

      --
      A Haiku: my language choices/assembler pascal lisp c/old school programmer
    19. Re:The Security Concerns by MBGMorden · · Score: 1

      The this is, why bother with it if it's got so many problems when there are clearly better alternatives out there that are more secure, easier to configure, and from the user's point of view, perform the exact same function.

      I'm personally a Postfix fan, but I don't see why anyone would use Sendmail these days when alternatives like Postfix, Qmail, and Exim are available.

      --
      "People who think they know everything are very annoying to those of us who do."-Mark Twain
    20. Re:The Security Concerns by arivanov · · Score: 3, Insightful
      Complex mail handling requirements such as

      An example off the top of my head and by the way a real one:

      • Rewrite all outgoing and interdepartamental traffic in a company with 100000+ employees so that their externally visible names comply strictly to the officially announced email addresses (John.Doe@bigcorp.com) and the uids (jd21768) are invisible. Do the same on incoming mail while taking final routing and any other information out of a directory.

      While it is possible to handle this in exim or postfix it will be quite painfull at this scale. In cases like this sendmail still remains ahead of the game for cases like this due to the better LDAP support and the inherently more flexible rewrite support.

      If you look in the Hanging Bat you will see quite a few more examples like this which everyone but a large corp admin will consider to be extremely obscure corner cases. In a large company you are likely to be asked for at least one of them quite often and this is what sendmail has been targeting for a long time. They have surrendered the ISP, SMB and small EDU market very long ago as it does not bring them enough support revenue.

      Recently exim is starting to step on sendmail's toes with the built in perl interpreter, built in SQL and filters it is still not there. Dunno about postfix, but I doubt it. Anything else aside some of the uses of sendmail rewrite rules out there are outright mad. Nobody in their sane mind should do things like this.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    21. Re:The Security Concerns by kindbud · · Score: 1

      You have the money to pay for every edition of the "Hanging Bat" as it comes out. No point to even try doing anything moderately complex without it. Similarly you have to be a kbd+book person. Not all admins are.

      Ridiculous. If you can run ps2pdf you can produce a PDF document of the extensive manual included in every sendmail release. It has everything the Bat book has, and is up-to-date with each release. All I needed to know to get a spam Milter working I read in op.me.

      You work for a large corp or edu which has fairly complex mail handling requirements. Less complex cases can happily get around using Exim or Postfix.

      This is true. Sendmail solves mail routing problems the others can't touch. However, client workstations don't even need something as complex as exim or postfix. That overkill. May as well run sendmail. All a client workstation needs is Simple SMTP (ssmtp) which fowards mail to a smart host and doesn't listen on port 25 at all.

      --
      Edith Keeler Must Die
    22. Re:The Security Concerns by arivanov · · Score: 2, Insightful
      If you can run ps2pdf you can produce a PDF document of the extensive manual...

      The manual is good, but some of the insanities in it will be hard to understand without reading the Hanging Bat at least once.

      I have used the manual for many years before finally surrendering and buying the most recent Bat last year. Reading it definitely made a difference. After that quite a few of the seemingly absurd featurettes started making sense, because you can see why are they there in first place.

      Overall, thanks for the correction. I still stand by my words. Sendmail is for the kbd+book sysadmin subspecies. You should always have the latest Bat and the manual for the release you use on the edge of your desk.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    23. Re:The Security Concerns by misleb · · Score: 1

      The biggest reason I switched away from sendmail was I did lose data because of mbox file corruption on two occasions. Maildir is much better at protecting against that.

      That isn't a function of Sendmail. That is a function of your LDA, i.e. procmail. And procmail can do Maildir. It is dead simple to enable.

      Qmail/Qmail-Scanner/Qmail-SPP have been doing a great job for me for the last few years.

      But isn't qmail pretty much dead as far as development goes? It has been at 1.03 for years now. I found qmail to be great for virtual domains (with vmailmgr), but just plain awkward for anything else. Postfix is where its as as far as I am concerned.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    24. Re:The Security Concerns by operagost · · Score: 1

      They had posession of an alien fighter, so yes, they did have a clue what kind of technology they were dealing with. I would have expected the alien tech to have advanced quite a bit over 40 years, however.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    25. Re:The Security Concerns by caseih · · Score: 1

      Milter offers out-of-process access through a standard api into every step of the smtp process, from connection, to envelopes, to headers, messages, etc. The API is clear, well-defined, and modular, with bindings for many langages. Writing an SPF filter is just a matter of a short python script. Because milter uses a protocol over a socket, milters can run on other machines, or run locally. It is very flexible. Because milter is so closely tied to the smtp process, your filters needn't implement any protocol parsing and can just implement filter parts you need. Milters can add headers, remove headers, access the mime parts of the body (adding, editing, or removing), all without any special decoding logic. It is a great system. Many folks have asked postfix to implement this, but the postfix developers so far have shown little interest (and it may in fact not be compatible with the postfix architecture).

    26. Re:The Security Concerns by rthille · · Score: 1

      Funny thing is, I've never heard of anyone losing data or being hacked due to Sendmail. Perhaps it's because the last place I saw it used widely was college?

      This may be covered in other comments, but haven't you heard about the Morris Internet Worm? You know, the one that took out most of the internet?

      --
      Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
    27. Re:The Security Concerns by DenDude · · Score: 1
      /** They had posession of an alien fighter, so yes, they did have a clue what kind of technology they were dealing with. I would have expected the alien tech to have advanced quite a bit over 40 years, however. **/

      Well, the government had posession, but there are two problems with that
      1. They could not get it powered up (until the mothership came back)
      2. Jeff Goldblum's character didn't have access to the ship for 40 years, he just looked at their computer thing and said "I can write a virus for this".


      I can't believe I'm still debating this so long after the fact... :)
      --
      A Haiku: my language choices/assembler pascal lisp c/old school programmer
    28. Re:The Security Concerns by Anonymous Coward · · Score: 0

      My that is a lot of security issues. Don't know why any one would use a product with that many advisories.

      http://secunia.com/graph/?type=adv&period=all&prod =763

    29. Re:The Security Concerns by macdaddy · · Score: 1

      I've been admining large Sendmail installations for 10 years now and haven't once ever had to refer to the Bat Book. The online documentation and support forums are more than enough for any person with remedial grasp of mail administration.

    30. Re:The Security Concerns by arivanov · · Score: 1

      I had 11 years of sendmail, qmail and exim admin, software development and design experience for an edu, isp and a corp before surrendering and buying the 3rd Bat in June last year.

      And guess what - it made a difference.

      It is not a good book. Not at all. I will never give it 5 stars on amazon for example. 2 and a half at most.

      None the less, it shows the reasons behind many of the ideas in sendmail.

      As such it has no replacement and is essential if you want to manage sendmail in a large installation.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    31. Re:The Security Concerns by Gilmoure · · Score: 1

      If it was Christopher Walkin hacking the system, you'd stop your bitchin'!

      --
      I drank what? -- Socrates
    32. Re:The Security Concerns by MadMidnightBomber · · Score: 1
      (from memory) H1: Wow, this thing is a real fortress... H2: Did you try to get through sendmail using emacs?

      And that's just trying to get GNUS to deliver email!

      --
      "It doesn't cost enough, and it makes too much sense."
    33. Re:The Security Concerns by Anonymous Coward · · Score: 0

      I run an Exim system that does that, it's trivial.

    34. Re:The Security Concerns by binary+paladin · · Score: 1

      And while you have one guy saying it can be done in Exim and Postfix, lemme add that it can also be done in Qmail.

    35. Re:The Security Concerns by SillyNickName4me · · Score: 1

      I'm personally a Postfix fan,

      I like postfix as well..

      but I don't see why anyone would use Sendmail these days when alternatives like Postfix, Qmail, and Exim are available.

      Well, I could give you a few reasons..

      - much better mail filter (milter) support. Better because of having a nicely standarized api, having many tools available that use it, and being extremely complete in what it can do
      - you can change virtually every aspect of sendmail's behavior with its config file, including many things where you'd have to build postfix for example with alternative flags or have to patch the code.

      But in the end, your question is akin to asking 'why would anyone use emacs when there is vi'...

      Yes, postfix (and qmail and exim) is a more to the point mailer (vi is a more to the point editor), whereas sendmail is more like a swiss army knife for mail handling (emacs is more a swiss army knife for editing and many more things).. As with emacs, you can get sendmail to do things for you that you should never be wanting from an mta..

    36. Re:The Security Concerns by phoenix_rizzen · · Score: 1

      While we haven't hit the 100,000 account mark as yet (just topping 5,000 right now) we do have a very complex mail setup: 1 mail gateway, 4 main mail servers (transitioning to one cluster setup) with separate @server.domain.com addresses, 10 secondary school mail servers with their own @server.domain.com addresses, everyone's official e-mail address is @domain.com. Using Postfix' canonical maps (and soon generic maps), we're able to move accounts from one server to another without ever having the public know. We're also able to use LDAP and MySQL lookups to figure out where the message should go. It was really quite simple. Required adding three lines to the main.cf, add a couple rules to a couple text files, and configure a mapping between internal and external addresses. Without ever having to learn M4, short two-letter options, and other nasty "sendmail-isms".

      We push between 2 and 3 million messages a month through our mail gateway (which also handles spam and virus filtering using amavisd-new, spamassassin, razor, pyzor, dcc, clamav, commandav, whitelists, and more). System is a dual-AthlonMP 2200+ with 3.5 GB RAM running FreeBSD 5.4 (extreme overkill for our needs, but at least we won't have to upgrade anytime soon).

      The problem with sendmail is that you *need* a good book beside you to configure it properly. All the other MTAs use plain English configuration terms, and have useful man pages. Books are optional, not required, to get a good, secure, fast, mail setup.

    37. Re:The Security Concerns by cmjensen · · Score: 1

      Honestly, I've never heard of anyone being hacked through sendmail either.. but that doesn't mean it didn't happen.

      Uh... the very first internet worm in 1988, which effectively shutdown most of the net, ran on sendmail.

  2. Good riddance by bblazer · · Score: 2

    It is about time that this archaic MTA gets the boot. I did so on my servers a few years ago. Configuration and security are a nightmare and it didn't have to be that way.

    --
    My .bashrc can beat up your .bashrc!
    1. Re:Good riddance by Kadin2048 · · Score: 3, Insightful

      Yeah, I'm with you there. Aside from inertia and sysadmin familiarity, I can't quite figure out why someone would consciously choose Sendmail over the alternatives today. There are other MTAs that are faster, more secure, and miles easier to work with, that offer an equivalent or better featureset, and are just as Free.

      I think it's high time we put Sendmail out to pasture.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    2. Re:Good riddance by NotZed · · Score: 1
      The parent isn't flame-bait, it's an honest considered opinion. And simple factual truth.

      Good riddence to bad rubbish, and it's about time everyone else followed suit and dumped that steaming pile of shit.

      --
      _ // `Thinking is an exercise to which all too few brains
      \\/ are accustomed' - First Lensman
  3. Sendmail? Insecure? by Pirogoeth · · Score: 2, Informative
    --
    Happiness is like peeing yourself. Everybody can see it but only you can feel its warmth.
    1. Re:Sendmail? Insecure? by SillyNickName4me · · Score: 2, Insightful

      Quite interesting from a historical perspective, but the most recent bits of that information are just under a decade old. The difficult to exploit race condition earlier this year is the first serious security issue in a long time.

  4. Sendmail is a pain in the ass by Chanc_Gorkon · · Score: 2, Interesting

    I hate Sendmail. With that said, when properly configured, Sendmail is excellent. Getting it that way takes a metric tonne of work! This is one Open Source instance I would PAY to get the commercial version (which has a web admin interface). The sendmail.cf file has to be THE most convulted config file on ANY UNIX. Period. It's WAYYYY to easy to set this up unsecure also(open relay anyone??).

    --

    Gorkman

    1. Re:Sendmail is a pain in the ass by nullset · · Score: 4, Insightful

      Do you complain about how complex C is because editing object files (.o) is hard?

      sendmail.cf is a compiled file. If you configure sendmail with m4, the way it's supposed to be done, it's not that hard.

      ttyl,

      --buddy

    2. Re:Sendmail is a pain in the ass by Gulthek · · Score: 1

      That's the new configuration process.

    3. Re:Sendmail is a pain in the ass by Megane · · Score: 4, Informative
      That's the new configuration process.

      Then it's at least nine years new. The second edition of the bat-book dates to January 1997. (I don't think I've ever seen a copy of the first edition, so I don't know if the m4 config is as old as late 1993.) I've been using the m4 config since early 2000 when I first got fixed IP DSL.

      Anyhow, in my experience, Sendmail also won't work right if your DNS is broken. Both the IP and MX records have to be right.

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    4. Re:Sendmail is a pain in the ass by Jerk+City+Troll · · Score: 1

      Sendmail “configuration” is a Turing-complete language. In that sense, it is unlike what most people think of in terms of configuration, which typically amounts to key-value pairs. And as another poster pointed out, you should not be editing it directly unless you have very specific needs.

    5. Re:Sendmail is a pain in the ass by kl76 · · Score: 1

      m4 configuration is for weenies. You're not a real sysadmin till you've hand-edited a sendmail.cf :-)

    6. Re:Sendmail is a pain in the ass by Pig+Hogger · · Score: 1
      The sendmail.cf file has to be THE most convulted config file on ANY UNIX. Period.
      sendmail.cf is NOT a configuration file, it's the ACTUAL Sendmail OBJECT CODE!!!
    7. Re:Sendmail is a pain in the ass by Anonymous Coward · · Score: 0

      > If you configure sendmail with m4, the way it's supposed to be done, it's not that hard.

      Provided you have at least 5 years of experience with sendmail, which is the bare minimum required to understand anything in the manual... It even says so in the manual. They need a n00b, mid-level, and full manual for that software and it might be useful to someone whose new to sysadmin work.

      When you need to read and memorize the orielly book, just to understand the manual, there are some issues. The docs are there, they just don't explain themselves very well. I am sure if you are the developer of sendmail, or have been working with it for 10 years, it's all perfectly clear.

      Teaching myself C and assembler in 11th grade was easier than understanding the breadth scope and how-to of sendmail.

      That manual has got to be the hardest manual to understand in the open source world.

      This, my friend, is why it's inherently insecure. Few people really understand how to configure it, and everyone needs to in order to both secure it, and have the necessary functionality.

      -AC

    8. Re:Sendmail is a pain in the ass by crotherm · · Score: 1


      Ah yes young grasshopper, sometimes it is required to edit the sendmail.cd file to achieve enlightenment... And to show how powerful your kung foo is.

      --
      "Those who make peaceful revolution impossible, make violent revolution inevitable" - JFK
    9. Re:Sendmail is a pain in the ass by bodgit · · Score: 1

      sendmail.cf is a compiled file. If you configure sendmail with m4, the way it's supposed to be done, it's not that hard.

      A Band-Aid for a gaping axe wound.

    10. Re:Sendmail is a pain in the ass by nutsy · · Score: 1

      Having to 'compile' the configuration file is such a farce that I could nearly hear the Laurel and Hardy theme playing whenever I messed around with it. On top of that, the 'compiled' config files have that retarded boilerplate to the effect of "By using this file, you agree to our licence, bloobloobloobloobloo must stuff face with butter". Licence 'agreements' are irritating enough in the best of times; when combined with Sendmail hassles, they're downright unsanitary! So after the nth r00t-clean-patch cycle, I finally got a clue. Hail Postfix! All bow down and praise Postfix! We're not worthy, we're not worthy!

  5. Why not overhaul sendmail? by Viol8 · · Score: 2, Interesting

    And I don't just mean removing exploits , I mean completely
    redesigning its config files so its a lot easier to set up
    and be made secure by non-gurus. There could always be a
    compat mode with the old .cf file for people who don't want
    to change. I don't understand why the guys behind sendmail
    have never done this since I've never found anyone who liked
    the .cf file or the alternative of writing .m4 files and then
    converting them into .cf (yuck , what a kludge).

    1. Re:Why not overhaul sendmail? by Anonymous Coward · · Score: 0

      Using a compiled config format is actually common place and quite okay. Although I never found M4 any better than .cf most of the time, you had to keep it up to date or you'd be stuck. The main problem with your post however is that the security problems were with the daemon itself not poor configuration, the configuration rarely had anything to do with the security exploits sendmail has had over the past umteen years.

      I'm not convinced by it being taken out however, I think the number of exploits over time relates more to it's age than it's quality. Bind has the same problem. The latest sendmails are exploit free for longer just like most apps patched recently.

    2. Re:Why not overhaul sendmail? by BenjiTheGreat98 · · Score: 3, Insightful

      They are currently doing a complete recode of sendmail. It is called Sendmail X and it is supposed to have security in mind from the ground up. It's currently in beta. sendmail.org has more info about it than I do. I believe I heard it will have an easier config file as well, the .ini style that a lot of other programs use.

      --
      :wq
  6. Let the qmail flamery begin! by Gothmolly · · Score: 5, Funny

    Now we will descend into a flamewar of qmail vs. courier vs. whateverMTAyouuse. Gentlement, choose one or more of your arguments:

    Qmail is more secure.
    Yes, the qmail author is a (code wizard|douchebag|weird academic) so I (will|will not) use qmail.
    Courier is cooler because it includes an IMAP server in its distribution.
    Sendmail is fine these days, its just the n00bs that admin it that make it broken.
    Yeah but so is Windows.
    So's your mother.
    I run on so I'm not affected.
    I outsourced my email to gmail and (couldn't be happier|hate it|Google rules|Google is teh evil).
    BSD is dying.
    BSD is alive.

    --
    I want to delete my account but Slashdot doesn't allow it.
    1. Re:Let the qmail flamery begin! by oPless · · Score: 1

      Exim for teh win

    2. Re:Let the qmail flamery begin! by Temkin · · Score: 1



      Bleh.... That's supposed to be easier to configure?

    3. Re:Let the qmail flamery begin! by MichaelSmith · · Score: 1
      Now we will descend into a flamewar of qmail vs. courier vs. whateverMTAyouuse.

      Well, if you really want to...

      I run my two web servers on netbsd. I have an install script which sets it up the way I like. This script removes sendmail when it installs netqmail.

      Its no real problem for me, just two lines of ksh. But mail software doesn't really belong in the base system. The software you want is just a pkg_add away (not qmail unfortunately).

      I think this is a good move. NetBSD will be better for it. And I do think DJB needs to move into at least the 1990's where it comes to software distribution.

    4. Re:Let the qmail flamery begin! by just_another_sean · · Score: 2, Funny

      Bah. Without confirmation from Netcraft I'm not buying any of it.

      --
      Creationist Textbook Stickers Declared Unconstitutional by CowboyNeal
    5. Re:Let the qmail flamery begin! by ajs318 · · Score: 1

      Exim is easier to configure than Sendmail {not that that's really saying much}. At least, it always used to be -- till they broke up the configuration into lots of little files. You always knew where you were with exim.conf.

      However, Exim is licenced under the GPL {which insists for you to respect other people's code}, so probably not a good choice for a BSD system. And you probably also won't want to use it if you went to Oxford .....

      --
      Je fume. Tu fumes. Nous fûmes!
    6. Re:Let the qmail flamery begin! by cortana · · Score: 1

      FYI, the split-files config is a Debian, specific mdofication. It can be disabled if you 'dpkg-reconfigure exim4-config' and choose the 'one big config file' option.

      You can also completley override the Debian configuration mechanism by creating an /etc/exim4/exim.conf file, which exim will use instead of the Debian configuration mechanism.

    7. Re:Let the qmail flamery begin! by kv9 · · Score: 1
      The software you want is just a pkg_add away (not qmail unfortunately).

      you're probably referring to the ACCEPTABLE_LICENSES+=djb-nonlicense your mk.conf when building from source. however, Q106 packages (even further back to Q105) include qmail binaries.

    8. Re:Let the qmail flamery begin! by ems2 · · Score: 1
      I outsourced my email to gmail and (couldn't be happier|hate it|Google rules|Google is teh evil).
      More like: I outsourced my email to gmail because smtp absolute crap.
    9. Re:Let the qmail flamery begin! by Temkin · · Score: 1



      Well see... Now a 12+ year sysadmin can learn a new thing now and then, even on Slashdot. My only experience with Exim is on Debian, and the "lots of little files" config just sent me off looking for my old sysadmin version of Doom(tm) where the monsters had pid numbers that got sent SIGKILL when killed... That was so much fun back in the day... Now we have all these ACL's and system logging. But I digress...

    10. Re:Let the qmail flamery begin! by amitai · · Score: 1

      Sorry, I don't understand what you mean. Which packages are you referring to?

    11. Re:Let the qmail flamery begin! by amitai · · Score: 1

      Just curious, have you tried building qmail from pkgsrc lately?

    12. Re:Let the qmail flamery begin! by kv9 · · Score: 1

      the binary packages you install with pkg_add

    13. Re:Let the qmail flamery begin! by amitai · · Score: 1

      Ah, I see. Well, the binary qmail package doesn't yet work quite right. I wouldn't recommend using those old ones. But building from pkgsrc definitely works nicely, and has for a while.

    14. Re:Let the qmail flamery begin! by MichaelSmith · · Score: 1
      Just curious, have you tried building qmail from pkgsrc lately?

      No. I didn't know it was there. I might give it a go. I wonder if it has the netqmail patches in it.

    15. Re:Let the qmail flamery begin! by amitai · · Score: 1

      It does, if you set the appropriate PKG_OPTIONS.

    16. Re:Let the qmail flamery begin! by turbidostato · · Score: 1

      "My only experience with Exim is on Debian"

      And certainly even that must be very short. Debconf actually asks you at install time if you want just one config file or a miriad.

    17. Re:Let the qmail flamery begin! by Temkin · · Score: 1

      And certainly even that must be very short. Debconf actually asks you at install time if you want just one config file or a miriad.



      Yep. Like 10 minutes... Followed by... Nope, don't feel like learning another MTA today. [Postfix,Sendmail, JES MS] works just fine... Which is part of the reason so many sites have stuck with Sendmail far longer that they should have. Once you understand it, it's relatively straight forward to setup. There's really only two problems with Sendmail: 1. It's generally insecure. 2. It's dog slow compared to JES MS' threaded MTA, Postfix, and (so I'm told) Exim.

  7. This really sucks by kernelpanicked · · Score: 1

    I'm glad the poster found this change humorous. I know I will when I'm formatting NetBSD from the FreeBSD installer on all my servers.

    --
    Ubuntu: If at first you don't succeed, blindly slap a sudo in front of it
    1. Re:This really sucks by Anonymous Coward · · Score: 1, Informative

      Not sure what your are saying, English must be your second language.

      Anyway, if you mean you are going to install FreeBSD over your existing NetBSD installs on "All your servers" then you are a dumbass. Sendmail is still in pkgsrc. Try this.

      cd /usr/pkgsrc/mail/sendmail
      make install

      Duh.

    2. Re:This really sucks by kernelpanicked · · Score: 1

      I'm not sure what was so hard to understand. It's not my problem you don't have any reading skills, sorry. I am well aware that sendmail exists in pkgsrc. The fact is, I don't have time to do all the system configuration needed to coax NetBSD into using an MTA outside of base. (Yes I've done it. It's a pain in the ass) I also prefer highly important systems, such as the MTA, to be maintained in base. 1 upgrade is better that 2, dumbshit.

      --
      Ubuntu: If at first you don't succeed, blindly slap a sudo in front of it
    3. Re:This really sucks by Anonymous Coward · · Score: 0

      I sure am glad you don't admin the servers my company runs on. With a sysadmin like you, we'd be doomed.

    4. Re:This really sucks by Anonymous Coward · · Score: 0

      ln -fs /usr/pkg/share/examples/sendmail/mailer.conf /etc/mailer.conf

      Damn that is hard! They even display a message telling you to do this at the end of the sendmail installation. Those cretins! Couldn't they make it easier?

    5. Re:This really sucks by bodgit · · Score: 1

      Those cretins! Couldn't they make it easier?

      Nah, they have to maintain some sort of high barrier to entry.

      pkgsrc++

    6. Re:This really sucks by Anonymous Coward · · Score: 1, Informative

      Then you are one of the very few folks using sendmail w/o pkgsrc. Everyone else who was asked admitted to already using the pkgsrc sendmail as it supported sasl and other important features that can't be supported in base.

      Since the folks (well, all the ones asked before this was done) using sendmail weren't using the sendmail in base, it seems like litle will be lost by removing it.

  8. Eric Allman by NynexNinja · · Score: 1

    On his development box, he used to keep the source code to unpublished exploits in his home directory that effected the current version of sendmail. You would think he puts these problems in the source tree himself for his own benefit.

    1. Re:Eric Allman by Maffy · · Score: 2, Funny

      <grammar-nazi>

      On his development box, he used to keep the source code to unpublished exploits in his home directory that effected the current version of sendmail.

      So the unpublished exploits actually brought about the current version of sendmail? That explains quite a lot actually.

      Here is a description of the difference between "effect" and "affect."

      </grammar-nazi>

    2. Re:Eric Allman by Aladrin · · Score: 2, Insightful

      Actually, Mr Grammar Nazi, what he said was correct, it probably just wasn't what he meant.

      Exploits that are found and patched DO bring about a new version of the software. It's usually mixed in with a bunch of other patches, but it's there.

      Maybe you should calm down and simply laugh at people that have no idea what they are saying, instead of pointlessly screaming at them. They don't CARE or they'd have made sure they had it right the first time.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    3. Re:Eric Allman by Maffy · · Score: 1

      Maybe you should calm down and simply laugh at people that have no idea what they are saying, instead of pointlessly screaming at them. They don't CARE or they'd have made sure they had it right the first time.

      Did I seem as though I was screaming at the author? I was observing that he had made a typo but that it actually made a lot of sense (as I said in my post). I found this funny, but maybe I should have put a smiley so that everyone would have got it.

      Matt

    4. Re:Eric Allman by Anonymous Coward · · Score: 0

      Why would the author of a piece of software that millions of servers on the internet use, and are exposed to the outside world, have the source code to an undisclosed vulnerability in his home directory on his development machine? I'll run postfix, thank you.

  9. sendmail.cf test by cowbutt · · Score: 4, Insightful
    But without sendmail.cf foo, how will we distinguish between the best admins and the mediocre? Sendmail was more useful as a litmus test than as an MTA ;)

    In that the mediocre admins will bodge some hacks into sendmail.cf to make sendmail appear to perform the job they need it to, whilst the best admins will take the presence of sendmail.cf as an indication that they need to remove sendmail and replace it with something that's actually fit for purpose? :-P

    1. Re:sendmail.cf test by tqbf · · Score: 4, Insightful

      Exim is not a secure replacement for Sendmail. qmail and Postfix were both designed explicitly for security, and include:

      1. Privilege seperation
      2. Rewritten IO and string libraries
      3. Minimal-privilege SMTP listeners
      4. The backing of a security luminary (Bernstein or Venema)

      Exim was designed as a modernized SMail. It's got the same monolithic architecture as Sendmail has, meaning security vulnerabilities in Exim are less survivable than they are in qmail or Postfix, where a buffer overflow (none of which have ever been found, unlike in Exim) only gets you a one-off UID.

      I don't know how Exim has managed to brand itself as one of the "secure MTAs", but it's just a marketing trick.

    2. Re:sendmail.cf test by SecurityGuy · · Score: 1

      I have to agree with this one. Last time I had to move mail service from one box to another, Sendmail had two vulnerabilities discovered during the time we were planning the move (and no, it wasn't a long planning period). Sendmail did not make the cut. Postfix worked great until the powers that were decided we'd be much better off paying a central group a lot more to provide the service than it cost us to do it.

    3. Re:sendmail.cf test by Anonymous Coward · · Score: 0

      probably the same way OpenBSD markets itself as a "secure OS".

    4. Re:sendmail.cf test by Anonymous Coward · · Score: 0

      Qmail ... I once read the source code. Or actually tried to read it. Hell will freeze before I use it.

  10. They did overhaul sendmail. by Trigun · · Score: 5, Informative

    And named it postfix.

    1. Re:They did overhaul sendmail. by �berhund · · Score: 1
      And named it postfix.


      I'm sorry. Please don't mod that up as "informative". It's supposed to be "funny". Postfix is not derived from sendmail.

      To quote from an interview with Wietse (the author of postfix), "Writing a new mail system from scratch was a change from previous projects." http://www.linuxsecurity.com/content/view/117302/4 9/
      --
      -Uberhund
  11. Replacement? by meh13579 · · Score: 1, Interesting

    So what are they planning on replacing it with; if anything?

    1. Re:Replacement? by Ritz_Just_Ritz · · Score: 1

      I replaced sendmail on all my machines around 1999-ish with postfix and never felt the need to look back. It just works and takes about 10 minutes to learn how to configure. It's also hands-down faster if you've got to deal with large volumes of mail.

      There's also qmail, but I could never get past the "if you want qmail you'd better be willing to install all of djb's other tools too" thing.

    2. Re:Replacement? by liliafan · · Score: 1

      To play devils advocate (because I do use postfix), but sendmail can be a lot faster than postfix when correctly configured by an M4 / cf master, due to the ability to really get into the guts of sendmail when configuring it, you can remove a lot of the cruft if you have a specialised task in this instance sendmail beats the pants off of postfix.

      However that said in most cases the default installs of both, postfix is generally faster, although if it only took you 10 minutes to configure I would suggest spending a couple of hours reading up on how to configure postfix since there is a lot of performance enhancing techniques that can be applied with some more advanced configuration methods.

      --
      GeekServ Unix Consulting Services (http://www.geekserv.com)
    3. Re:Replacement? by perry · · Score: 4, Informative

      Postfix was made the default mailer.

    4. Re:Replacement? by kl76 · · Score: 1

      postfix has been shipped with NetBSD since 1.5.

    5. Re:Replacement? by kv9 · · Score: 1
      So what are they planning on replacing it with; if anything?

      postfix has been included for quite some time now. i s'pose it'll default to that in the next releases.

    6. Re:Replacement? by Anonymous Coward · · Score: 2, Funny

      Wine+Exchange 2000

  12. Golly Gosh! by Anonymous Coward · · Score: 0

    Sendmail was created by the devil!!!

    I am tech savvy, and the sendmail config file is the biggest pile of poo I have ever seen. I would like to know what drugs the creators were taking when they thought it all up. They should have written stories like other people on drugs did. Eg, Alice in wonderland, Fear and loathing, the waterbabies.

    Drugs and stories go well, drugs and program configs do not!!!

  13. Unintentional humour by WalterGR · · Score: 4, Funny

    Did a little googling for sendmail.cf - the sendmail configuration file - and found this gem. The unintentional humour on the last line is hilarious:

    The sendmail.cf has long been renowned for sending system administrators away fleeing in panic...

    Just take a look at it on any system; it has traditionally been described as looking like an explosion in a punctuation factory.

    The good news is that things are much worse than they look.

  14. Sendmail useful? by stjobe · · Score: 2, Funny
    Sendmail was more useful as a litmus test than as an MTA

    The entity that was Sendmail, last manifestation of Chaos which would remain with this new distribution as it grew, looked down on the corpse the system administrator and smiled.
    'Farewell, friend. I was a thousand times more evil than thou!'
    And then it leapt from NetBSD and went spearing upwards, its wild voice laughing mockery at System Security; filling the universe with its unholy joy.

    --
    "Total destruction the only solution" - Bob Marley
    1. Re:Sendmail useful? by ATMosby · · Score: 1

      Snort. Now I've coffee all over my keyboard.

    2. Re:Sendmail useful? by Anonymous Coward · · Score: 0

      Quoted from "Stormbringer" in Elric Saga by Michael Moorcock, I assume.

      By the way, when I was much younger day, I read an article on the design principle of Sendmail in Software Practice and Experience, where sednmail.cf is a large macro language program, and sendmail itself is a complete macro processor/interpreter. No doubt, it is a big hack, but it is also a nighntmare for the system administrators.

      I had impressions the authors were affected then popular research discipline, Artificial Intelligence. Sendmail can be regarded as a rule based knowledge system. There may be more usable design for handling mail messages.

      An old hand.

  15. Well by Anonymous Coward · · Score: 5, Funny

    I run Windows, so thankfully I don't have to worry about this kind of security issue.

    1. Re:Well by TheZorch · · Score: 1

      You don't have to worry about that security issue because Windows has more than enough to go around and you don't really need to add another on top of it. :-)

      --
      Michael "TheZorch" Haney
      thezorch@gmail.com
      http://thezorch.googlepages.com/home
    2. Re:Well by Anonymous Coward · · Score: 0

      its a joke but... (from the Worm article in 1988) The first fact to face is that Unix was not developed with security, in any realistic sense, in mind... [Dennis Ritchie, "On the Security of Unix"] This section discusses the TCP services used by the worm to penetrate systems. ... For a long time the balance between security and convenience on Unix systems has been tilted in favor of convenience

      I think this worm really made people sit up and notice security was a big deal, and since then they've gone about fixing things. The same could be said for Windows after Code Red and all those other well-publicised nasties. Here's looking a future with less security flaws all round.

  16. Linux is too heavy as it is... by harshmanrob · · Score: 1

    I have always believe most Linux distros are too heavy as it is. I like OpenBSD and others that are light where I download and build the applications I want. The idea of sendmail, apache, and openldap prebuilt or in RPM packages sucks, at least in my opinion. I usually spent 2 or 3 hours pulling packages off the SLES 9 "minimum" install before I can make it usable for whatever we need the server to do so it will pass the nmap, nessus, and security network scan.

    1. Re:Linux is too heavy as it is... by molarmass192 · · Score: 2, Informative

      I sort of agree with you. I'd like Novell to put out something like an official SLICK which would be optimized for GUI-less implementations and built to run in the smallest footprint possible (ie. less than 50M). If it was included as an option in the stock SuSE, then wow. Now, as for spending 2-3 hours running rpm -ev / yast pulling packages from SLES to make it usable, somehting isn't right there. First off, you should have setup a test server to determine your needs. Once that's done, create an AutoYast install script (think RH KickStart) to do your production installs (eg. yast2 autoyast). Second, even if unneeded pacakges are installed, you can easily disable the cruft services you don't need in Yast->System->Services, I'd guess in under 5 minutes start to finish.

      --

      Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
    2. Re:Linux is too heavy as it is... by John+Nowak · · Score: 1

      Interesting comments, considering that sendmail comes with OpenBSD by default.

    3. Re:Linux is too heavy as it is... by Anonymous Coward · · Score: 0

      Say it with me, BSD is not Linux....

    4. Re:Linux is too heavy as it is... by Anonymous Coward · · Score: 0

      And Apache too. Hah.

    5. Re:Linux is too heavy as it is... by harshmanrob · · Score: 1
      I did not say it did not. It also has apache as well but where I work does not have a OpenBSD deployment, they have SLES 9 and Solaris.

      I have had to strip down BSD as well for my home projects.

    6. Re:Linux is too heavy as it is... by Anonymous Coward · · Score: 0

      On the otherhand, those of us who don't live in mom's basement find it hard to scrape up an extra 3 or 4 hours to download, compile, install, and configure a package. I prefer convenience to some utopian ideology.

    7. Re:Linux is too heavy as it is... by Shanep · · Score: 1

      Interesting comments, considering that sendmail comes with OpenBSD by default.

      In the default install of OpenBSD, sendmail only listens to lo.

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
    8. Re:Linux is too heavy as it is... by John+Nowak · · Score: 1

      Right. I'm not saying it is a security risk. He seemed more concerned about "bloat".

    9. Re:Linux is too heavy as it is... by Shanep · · Score: 1

      Right. I'm not saying it is a security risk. He seemed more concerned about "bloat".

      Okay. I thought you might have been picking him up on the security scanning point. Nmap, etc.

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
  17. What's the alternative? by kestasjk · · Score: 1

    I use FreeBSD, and all the output of my cron scripts (including the default periodic daily/weekly/monthly) are mailed to root locally, through sendmail. This is the only reason I keep sendmail up, despite the security problems.

    On a default NetBSD installation where does the cron output go?

    --
    // MD_Update(&m,buf,j);
    1. Re:What's the alternative? by jmcneill · · Score: 4, Informative

      On a default NetBSD installation where does the cron output go?

      Postfix has been in the tree for a while, and will now be the default MTA.

    2. Re:What's the alternative? by MichaelSmith · · Score: 1
      On a default NetBSD installation where does the cron output go?

      Right now it goes to sendmail. I assume that there will be a 3.1 release soon so that will be the next without sendmail.

      The mail transport seems to be configured in /etc/mailer.conf

      Maybe I should look at that editing that file rather than using the sendmail program which comes with qmail.

    3. Re:What's the alternative? by jmcneill · · Score: 1

      Right now it goes to sendmail. I assume that there will be a 3.1 release soon so that will be the next without sendmail.

      The 3.x branch is a stable release branch; sendmail was removed from HEAD. You should see the first version of NetBSD without sendmail in base along with the 4.0 release.

    4. Re:What's the alternative? by Kadin2048 · · Score: 1

      My understanding was that Postfix simulates enough of Sendmail in order to keep stuff like this working. I have a number of Debian systems without Sendmail, and I get their cron output without any problems. Stuff that's piped to mail on the commandline also functions fine (which is nice, because I've used that pretty heavily in some of my backup scripts, emailing me logs and such).

      What gets a lot of people, I think, is that in order for Postfix to replace Sendmail for all functions, Postfix has to overwrite some Sendmail files: depending on how you install Postfix, this may not happen. (E.g.: /usr/sbin/sendmail) My solution was just to purge Sendmail completely, then install Postfix -- brutal and inelegant, but it worked. I'm sure there are more graceful ways to transfer it over (I think there's an RPM package for switching...?), so it's probably worth investigating.

      But one of Postfix's strengths as I've been told them has always been its ability to take the place of Sendmail in many instances, so you really shouldn't be kept from using it due to your cron jobs.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    5. Re:What's the alternative? by Architect_sasyr · · Score: 1

      Its funny... I rm'd my sendmail (just to be on the safe side mind) and my cron output still gets sent to root locally. Postfix replaced my sendmail with no issues (FreeBSD) and even allows me to not have to log in as root to check it with the simplistic alias scheme...

      The three NetBSD servers I own/operate also do this, no sendmail on them either.

      VIVA THE REVOLUTION!

      Now, if we could just get Microsoft to remove Windows from the source tree...

      --
      Me failed English...
      FreeBSD over Linux. If my comments seem odd, this may explain...
    6. Re:What's the alternative? by __aaxwdb6741 · · Score: 1

      As someone has vaguely mentioned, it is possible to replace Sendmail completely with Postfix or [insert any MTA here]. I've replaced Sendmail with Postfix. Replaced mbox with Maildir+courier-imap, and it all works perfectly!
      Read the FreeBSD Handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/h andbook/mail-changingmta.html

    7. Re:What's the alternative? by Anonymous Coward · · Score: 0

      NetBSD has had a mailer configuration wrapper since 1.4. "man mailer.conf" includes an example of how to change /etc/mailer.conf to support the postfix installation included in the base os.

    8. Re:What's the alternative? by amitai · · Score: 1

      Yes, on NetBSD I suggest taking advantage of /etc/mailer.conf. The qmail-run package in pkgsrc provides a customized mailer.conf that you can copy into /etc as is (assuming you use qmail from pkgsrc also; highly recommended :-).

    9. Re:What's the alternative? by MavEtJu · · Score: 1

      On recent installations of FreeBSD, the sendmail daemon only listens on the localhost, so no remote access to it.

      --
      bash$ :(){ :|:&};:
    10. Re:What's the alternative? by kestasjk · · Score: 1

      I know, but there was recently a local exploit for it.

      --
      // MD_Update(&m,buf,j);
  18. Best way to measure Bat Book size? by Anonymous Coward · · Score: 5, Funny
    1. number of pages.
    2. thickness.
    3. Schwarzchild radius.
  19. define insecure by Anonymous Coward · · Score: 0
  20. It's Like... by zaguar · · Score: 1
    It's like leaves falling from a dead tree.

    *rimshot*

    --
    "Sure there's porn and piracy on the Web but there's probably a downside too."
  21. Provide examples by bogaboga · · Score: 1
    > There are other MTAs that are faster, more secure, and miles easier to work with, that offer an equivalent or better featureset, and are just as Free.

    Please provide examples, and if possible, tell us how easy or difficult it is to set them up. That way, your comment will be more useful to a n00b like me. Thanx.

    1. Re:Provide examples by Anonymous Coward · · Score: 0

      Plenty of those, QMAIL and Postfix come to mind immediately.

    2. Re:Provide examples by liliafan · · Score: 2, Informative

      Postfix is based on sendmails codebase, with much stronger security features and a lot of the more complex configuration hidden away. It is very fast and featureful.

      Qmail is a fairly secure pretty fast MTA it is very modular and very suited to sites with multiple domains to handle.

      There is others such as exim, james, etc but Sendmail, Postfix and Qmail are the 3 biggest I think next would be exim (it used to be the default in debian I don't know if it still is).

      Personally I would recommend postfix if you are handling just your own email, I use postfix, courier-imapd, spamassassin, amavisd, clamav, maildrop, and procmail and I haven't had a single security incident on my system (knock on wood), additionally I have about a 99% success rate catching spam with almost no false positives.

      --
      GeekServ Unix Consulting Services (http://www.geekserv.com)
    3. Re:Provide examples by dskoll · · Score: 4, Interesting

      liliafan wrote: Postfix is based on sendmails codebase

      Completely wrong. Postfix was written from scratch; it shares no code with Sendmail.

      I still use Sendmail because Milter is a killer feature. It is the sweetest API for mail filtering/mangling/processing. I should note that Wietse Venema has started implementing Milter compatibility in Postfix, and I'm following that development eagerly.

    4. Re:Provide examples by Kadin2048 · · Score: 4, Informative

      Personally, I use Postfix. It's Free, it's intelligently designed (by this guy, if you were wondering), it's much easier to set up to be secure, and it has a certain level of Sendmail compatibility, so that older programs that assume you're running Sendmail don't barf when you switch.

      The biggest architectural difference between Sendmail and Postfix is that Postfix has many small executables (arguably, many not-so-small executables) while Sendmail is monolithic. From a user's perspective this is basically transparent: the biggest benefit to a sysadmin of running Postfix is the config files, which are as close to being self-explanatory as a MTA config file can be, in my opinion.

      Sendmail always struck me as a bit of a challenge to set up securely/properly (i.e. "not an open relay"); Postfix is pretty simple to get going securely, and has well-chosen default parameters (at least as I've seen it installed, on Debian) that let you set up a server that won't be immediately spewing Russian penis-enlargement emails quickly. I've never tried to set up Sendmail with SSL support, but I'm going to go out on a limb and guess that it's easier to do this with Postfix as well.

      I can't personally vouch for its speed, because I don't run a high-volume mailserver, nor do I have the hardware to really give the MTA that much of a workout (it just becomes disk-bound on my systems). Plus I use flat mbox files and the situation may be totally different with the more modern database-type mailstores. (Yeah, yeah, I know -- 1986 called and they want their file format back and all that. But it works for me.)

      There are other choices out there for MTAs, and I'm sensitive to arguments in favor of them and I'm not trying to say that Postfix is necessarily the best possible thing out there for everyone, but at least in my experience it beats the hell out of Sendmail. If somebody wants to jump in here and discuss qmail or exim, and why they think they're great, please do.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    5. Re:Provide examples by liliafan · · Score: 1

      I apologise you are 100% correct, I was only half concentrating when I typed that, I mean't to say.

      Postfix is based on sendmails feature set.....

      once again sorry for misleading you, that is what happens when you are discussing porting code with a co-worker whilst typing a response on slashdot :op

      --
      GeekServ Unix Consulting Services (http://www.geekserv.com)
    6. Re:Provide examples by Anonymous Coward · · Score: 1, Interesting

      Here's one: I run a MTA for load-testing another MTA's filters. It delivers to that MTA a blast of 10,000 messages at top speed over a private link, lets it run its filtering, and it delivers it on to its ultimate recipient, which is the box that just sent it (there should be a third destination box, but the sending doesn't interfere much). I ran sendmail to receive the message blast back, and it took 40 minutes at 96% CPU. Switching to Postfix, it went down to 5 minutes and that itself is I/O bound.

      Maybe it's just sendmail's default configuration, but it just doesn't handle load. Most ISP's still using sendmail have hacked it up and down for speed over the years, and just can't switch because of the deployment and migration headaches. Inertia, basically.

      Sendmail, BIND, and cron are from an era where neither security nor performance mattered, only reliability. Frankly, they have better competition on even the third front nowadays.

    7. Re:Provide examples by menace3society · · Score: 1
      it's intelligently designed (by this guy, if you were wondering)

      Why did I find myself hoping that link went to God?

    8. Re:Provide examples by Just+Some+Guy · · Score: 4, Interesting
      I can't personally vouch for its speed, because I don't run a high-volume mailserver, nor do I have the hardware to really give the MTA that much of a workout (it just becomes disk-bound on my systems).

      I do, or at least one of my clients does. He runs a reasonably high-volume ecommerce site, and has many (about 50,000) opted in subscribers to his newsletter. We tried our best to get Sendmail to play nicely with that volume, but the system would inevitably slow to a crawl for long periods of time whenever he sent a batch of mail (taking the webserver on the same machine with it). By our best, I mean that we tore through the bat book, tried delayed sending, created parallel queues with their own runners - everything we could find documented or rumored on Google and Usenet.

      After experimenting with Postfix on my personal servers, I convinced him to give it a shot. I installed it, ported over his Sendmail configuration, stopped one and started the other, and crossed my fingers.

      It worked.

      We confirmed that everything was working as expected, then he clicked the dreaded "Send now!" link. We watched as the outbound queue grew to 50,000 messages, then tailed maillog to watch them start spewing out at a record pace. Even though outbound traffic was heavy, the system never broke a sweat and the webserver kept chugging along happily.

      I like Sendmail and am quite comfortable digging around in its .mc files (.cf? Therefore but by the grace of God...), but Postfix showed me what a modern MTA is capable of. I've since switched every Sendmail installation in my responsibility over to Postfix and I've never regretted it for a minute.

      --
      Dewey, what part of this looks like authorities should be involved?
    9. Re:Provide examples by DuBois · · Score: 1
      I can vouch for Postfix in a medium sized (~250 accounts) business. We use the packaged version that comes with Bynari Insight Server. This package provides LDAP authentication, Cyrus IMAP implementation, a nice Web GUI for administration, and a builtin webmail server. Works nicely on a small dual-processor 2GHz Intel machine with a large RAID-10 (don't use RAID-5!). Their support is excellent and it comes at a reasonable price.

      They even have an Outlook plugin that simulates all the bells and whistles of an Exchange server.

      --
      The IPCC has purposely engineered a massive scientific fraud.
    10. Re:Provide examples by Anonymous Coward · · Score: 0

      WTF how did parent get modded troll?

    11. Re:Provide examples by the_crowbar · · Score: 1
      Works nicely on a small dual-processor 2GHz Intel machine with a large RAID-10 (don't use RAID-5!)
      Can you elaborate on why not to store mail on a RAID-5 array? I am thinking of moving our email in house and have decided on Postfix. RAID-5 was my planned storage.

      Thanks,
      the_crowbar
      --
      Have you read the Moderator Guidelines
    12. Re:Provide examples by cswiger2005 · · Score: 1

      That's easily done: RAID-5 is best suited for read-only or read-mostly volumes, whereas RAID-10 is better for situations where writing happens more often than rarely. In particular, RAID-5 does very poorly in the face of lots of small writes.

      With a mail storage volume, you're going to see a lot of writes as well as a lot of reads, so RAID-10 is going to handle that a lot better.

      --
      "The human race's favorite method for being in control of the facts is to ignore them." -Celia Green
    13. Re:Provide examples by Anonymous Coward · · Score: 0

      "I can vouch for Postfix in a medium sized (~250 accounts) business"

      Maybe ~250 is a medium sized business; but it is a very tiny mail setup. 10.000 accounts is more what "medium sized" means here. And certainly, everything below 1000 rates clearly as "small".

      "Works nicely on a small dual-processor 2GHz Intel machine"

      A 2GHz Intel biproc machine is not a "small one" under no account. You don't tell us, but I bet it comes with at leat 2GB RAM, maybe 4GB. A small machine (for current standards) is, say, a PII with 128MB RAM. With your requirements, even a block of wood would deliver mail, and certainly a PII with 128MB will do (I know, because I have such a setup -well, two single processor PII 400MHz active/passive for high avaliability purpouses, for roughly the same number of people than you).

      Man, I have sorry news for you: your hardware vendor has laughed at you. Heavily.

  22. Be serious by lrosa · · Score: 2, Insightful

    The purpose of sendmail is to transfer mail from host A to host B, not to be a filter against mediocre SysAdmin.

    I think that sendmail.cf is the worst written configuration file and a good SysAdmin has edited the SECOND part of it almost once, but never twice because the second time he removed sendmail and installed something better.

    1. Re:Be serious by MichaelSmith · · Score: 1
      I think that sendmail.cf is the worst written configuration file and a good SysAdmin has edited the SECOND part of it almost once, but never twice because the second time he removed sendmail and installed something better.

      I used to run a stock linux configuration on my co-lo. After a while I realised that I had an open mail relay running. I bought a book called "sendmail for linux" and the (unstated but very clear) conclusion from the book was to run something other than sendmail.

    2. Re:Be serious by ajs318 · · Score: 2, Informative

      The format of sendmail.cf made perfect sense when sendmail was written, however many years ago it was. In those days, people were smart and machines were stupid.

      When you look at modern programs with their fancy-pants SQL and XML configurations, they may be easier for a human being to understand; but they're also a hell of a lot of work for the computer to understand, precisely because of all the human-readable cruft. Twenty or thirty years ago, there wasn't the computing power to waste on processing such a config file; it was simply less effort, and more productive, to get a human being to bond well enough with the computer to be able to create a sendmail.cf from scratch.

      --
      Je fume. Tu fumes. Nous fûmes!
    3. Re:Be serious by Lumpy · · Score: 1

      The purpose of sendmail is to transfer mail from host A to host B, not to be a filter against mediocre SysAdmin.

      you are exactly right.

      Emacs is to be used for that.

      --
      Do not look at laser with remaining good eye.
  23. Admin test by Anonymous Coward · · Score: 0
    But without sendmail.cf foo, how will we distinguish between the best admins and the mediocre? Sendmail was more useful as a litmus test than as an MTA ;)
    Would someone care to explain, to improve our education?
    1. Re:Admin test by kashani · · Score: 0, Flamebait

      The average admin would be stimied by sendmail.cf's complexity, the good admin would know how to manipulate it, and the superior admin would install Postfix.

      kashani

      --
      - Why is the ninja... so deadly?
    2. Re:Admin test by Anonymous Coward · · Score: 1, Funny

      Meanwhile, the God-like admins handle e-mail using Jenga blocks, fridge magnets, and a much-loved picture of Jenna Jameson.

  24. the best admins by WindBourne · · Score: 1

    removed it and installed something like postfix; secured.

    --
    I prefer the "u" in honour as it seems to be missing these days.
    1. Re:the best admins by Anonymous Coward · · Score: 0

      You forgot to add:

      "At least 5 years ago".

  25. 8 years after "The Worm" Snedmail is closed by sgent · · Score: 4, Informative
    You've never heard of a security issue with sendmail??!!!?? Time for a history lesson. Although obviously fixed now, Sendmail was the main culprit in the first internet worm ever found in the wild.

    The Internet Worm of 1988 -- Introduction by Francis Litterio

    The below document tells the story of the Internet Worm of 1988 and how it effectively shut down the Internet. I didn't write it, but it's hard to find it on the net these days, so I offer it here on the theory that those who fail to learn from history are doomed to repeat it.

    I remember when it happened. It was a big deal to computer people like me, but in 1988 the Internet was unknown even to the most sophisticated media reporters, and the World Wide Web had not been invented yet. I remember the NBC Evening News devoting less than 30 seconds to the topic. If an equally severe disruption of the Internet were to happen today, the President of the United States would probably hold a press conference to calm the nation.

    Google Cache to the Article by Don Seeley, Univ. of Utah

    1. Re:8 years after "The Worm" Snedmail is closed by schon · · Score: 1
      I'm ignoring pre-2k security issues as that is older than five years ago.
      You've never heard of a security issue with sendmail??!!!?? [...] The Internet Worm of 1988

      Umm, last time I checked, 1988 was more than 5 years ago.
    2. Re:8 years after "The Worm" Snedmail is closed by Anonymous Coward · · Score: 0

      Wow, that must have sucked for all of the 10 people on the internet at that time.

    3. Re:8 years after "The Worm" Snedmail is closed by macdaddy · · Score: 1

      Quite frankly a software security issue from the 80s is pretty much irrelevant in any modern security discussion. Why? Simply put people didn't give any thought to security in those days of the Internet. The Internet back then was almost entirely a trust system. You could rattle off most of the names of the major players on the 'Net quite easily. Security thoughts rarely even came up in a What If scenario because security breeches simply didn't happen. I'm sure the cave man that invented the door didn't see any point in putting a lock (think wedging the door) on it for many years after its invention, that is until a security breech happened and someone stole his Bronto Burger.

    4. Re:8 years after "The Worm" Snedmail is closed by macdaddy · · Score: 1
      Simply put people didn't give any thought to security in those days of the Internet. The Internet back then was almost entirely a trust system.

      This is actually even supported by the article you site in section 4.5:

      The first fact to face is that Unix was not developed with security, in any realistic sense, in mind... [Dennis Ritchie, "On the Security of Unix"]

  26. How to tell... by gb7djk · · Score: 1

    The way to tell is to measure how long it takes for the sysadmin to a) notice that it runs sendmail and b) changes it for something else. Personally I use exim, but just about anything is better than sendmail.

    Having said that: I would not touch qmail with a bargepole either.

  27. Yes! by numbsafari · · Score: 1

    Yes, the qmail author is a weird academic code wizard douchebag so I will definitely use qmail!

  28. Postfix? by Anonymous Coward · · Score: 0

    Will Postfix be now default MTA on NetBSD as it is included in base distribution?

    1. Re:Postfix? by perry · · Score: 1

      Yes, Postfix is now the default MTA.

  29. Autoconf by Anonymous Coward · · Score: 0

    We still have autoconf for this test !

  30. sendmail by Anonymous Coward · · Score: 0

    I love sendmail, my sendmail.cf and sendmail hacking skills are legendary.

    It was sendmail that seperated the men from the boys.

    I will fly my flag at half mast today.

    I am scratchy_butt_hands.

  31. Dangerous creation by Kadin2048 · · Score: 1

    You laugh, but I once saw someone install IndigoMail (basically Sendmail-for-Windows) on Windows ME.

    Struck me as being the computational equivalent of a big table saw with the safety shields removed. It's the sort of thing you just wince to look at because you know, some day, it's going to cause somebody a lot of pain.

    --
    "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    1. Re:Dangerous creation by Pig+Hogger · · Score: 1

      Yup. 2 years ago I turned-down a job to administer one such jalopy.

  32. Litmus test by IGnatius+T+Foobar · · Score: 2, Insightful

    Sendmail was more useful as a litmus test than as an MTA ;)

    Actually, that was UUCP. Back when you couldn't just search the web for documentation, if you wanted to get UUCP running you had to figure it out yourself. If you could do a full mesh of three machines into a UUCP network then you were a guru indeed.

    --
    Tired of FB/Google censorship? Visit UNCENSORED!
  33. A Good Sign by Zetta+Matrix · · Score: 2, Insightful

    I don't much like sendmail, and there are better alternatives for the overwhelming majority of cases (particularly as far as standard installs go).

    Here's hoping that this move by NetBSD is a sign that even more Unix-like operating systems and distributions will take this approach. The time has come for sendmail to be an option, not the default.

    1. Re:A Good Sign by Anonymous Coward · · Score: 1, Informative

      It is still the default MTA on OpenBSD, and the OBSD developers (up to now) have been resistent to the idea of replacing it. It has been stated that Sendmail's recent security record (on OpenBSD) has been acceptable, and that sendmail's authors are always reasonable when it comes to making changes (this is important!).

      I'm curious, how many systems still ship sendmail as the default MTA?

  34. After cutting teeth on it, move on by fak3r · · Score: 1

    I cut my teeth on Sendmail about 5 years back, but only stuck with it for 2. When I'd have it working I wouldn't want to change anything, since I'd break it for days. After that I moved on to Postfix with a saner config setup, and logfiles that (for me) were much easier to read. It's still not as easy to configure as something like Dovecot's IMAP service, but that's not an MTA. Still, I would love to see Postfix use a .conf file that is as straight forward as dovecot.conf.

  35. Re:Let the qmail^W flamery begin! by oPless · · Score: 1

    It's much easier for me YMMV though.

  36. Re: by XPACT · · Score: 2, Interesting

    I am not the original poster, but I can give you some examples too. I had worked with Sendmail, Qmail, Postfix, Exim, Xmailserver and Zmail. I needed SMTP-AUTH and virtual users, virtual domains, same user names different domains etc. The last time I touched sendmail was version 8.12.something I guess, I was able to configure Sendmail the way I wanted after spending lot of time reading, it worked for me but I decided to try some other MTAs as well. I was abler to do the simular configuration with Qmail, I was not able to do it with Exim and Postfix, but to be quite honest I didn' spend much time with them. Didn't spend much time with Zmailer either. Then I have discovered Xmail. This thing is awesome!!!! It is all in one package and it is very easy to configure, it has a lot of add-ons. I have been using it for more than 2 years, never had a single problem. I did install from tarball archive not from RPM. I dont' recommend using RPM archives. http://www.xmailserver.org/

  37. Will configure Sendmail for food! by Anonymous Coward · · Score: 0
  38. Work that bandwagon, people - groupthinkgroupthink by Medievalist · · Score: 1

    If sendmail is so egregiously evil, how come most alternatives to sendmail are basically less functional sendmail clones?

    Wietse Venema's Postfix and Eric Allman's Sendmail X are API-compatible total rewrites of sendmail. Postfix is currently stronger, but sendmail X implements pretty much the same shite as postfix, so the advantage is code maturity - right now postfix is arguably better than sendmail 8 (which is what NetBSD ditched, incidentally) and when sendmail X gets its legs it will probably be even better. Each one incorporates lessons learned from its predecessor.

    Run postfix if you are starting from scratch; it's easier to learn. If you already know sendmail, or you need antique transports, run sendmail 8; it is more flexible. When sendmail X is mature, run that (run it now on your test machines). When the next evolution of MTAs arrives, with telepathic agents and antigravity packaging, run that.

    Remember that the criticisms being leveled against sendmail 8 are equally valid when applied to old-school unices like NetBSD. Ancient codebase, long history of security problems, tough learning curve, etc. But *nix still has its uses (particularly the newer rewrites like linux).

  39. they look much worse by drewzhrodague · · Score: 1

    The sendmail.cf has long been renowned for sending system administrators away fleeing in panic

    Sendmail isn't so bad. Nowadays, you can install a package, and fire off it's daemon, and it will work. In the old days, you had to edit sendmail.cf with a hex editor, and prod the bits into place using a 15-foot pole in either hand. Jeez, these kids have it easy with their M4 configs now!

    --
    Zhrodague.net - I do projects and stuff too.
    1. Re:they look much worse by Pig+Hogger · · Score: 1
      Nowadays, you can install a package, and fire off it's daemon, and it will work. In the old days, you had to edit sendmail.cf with a hex editor, and prod the bits into place using a 15-foot pole in either hand.
      And it was uphill both ways, in the snow!!!
  40. No sendmail? So in otherwords.... by xmorg · · Score: 1

    BSD will not stall when the ip/hostname is not correct? You mean it still boots if you havent configured for the internet? SWEEET!

    1. Re:No sendmail? So in otherwords.... by nblender · · Score: 1

      Step away from your computer. Put the computer back in the box from whence it came. The computer is the thing hooked up to the part you look at (monitor).

    2. Re:No sendmail? So in otherwords.... by xmorg · · Score: 1

      how do I install VLC plz?
      I want to watch anime on my bittorrent.
      I tried the windows one but it says permission denied. Then I tried pkg_add but it says something like package not found.

      thanks Dood.

  41. define("Improved" sendmail configuration)dnl by metamatic · · Score: 3, Insightful
    sendmail.cf is a compiled file. If you configure sendmail with m4, the way it's supposed to be done, it's not that hard.

    It's still garbage. Sample "improved" sendmail config:

    define(`confAUTO_REBUILD')
    define(`confTO_CONNECT', `1m')
    define(`confTRY_NULL_MX_LIST',true)
    define(`confDONT_PROBE_INTERFACES',true)
    define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail') dnl
    define(`LOCAL_RELAY', localhost)dnl
    define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
    define(`confAUTH_OPTIONS', `A')dnl

    Sample postfix config:

    smtpd_helo_required = no
    smtpd_helo_restrictions =
    strict_rfc821_envelopes = no
    smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
    smtp_sasl_auth_enable = no
    smtpd_sasl_auth_enable = no
    smtpd_use_tls = no
    smtp_use_tls = no

    I know which I'd rather edit. I mean, without looking at the manual, I've no idea what that dnl crap is about.

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    1. Re:define("Improved" sendmail configuration)dnl by rcamera · · Score: 1

      dnl (do not look?) is the comment phrase. anything on a line after 'dnl' is ignored. do you think shell scripting is hard because of all the silly pound signs everywhere?

      --
      Wave upon wave of demented avengers March cheerfully out of obscurity into the dream
    2. Re:define("Improved" sendmail configuration)dnl by FuzzyFox · · Score: 1
      dnl means "delete new-lines".

      The M4 macro preprocessing tends to insert a lot of extra blank lines into the resulting .cf file, so the dnl's are basically macros that remove extra new-line characters.

      Yes, it is stupid.

      --
      splunge (n) -- A good idea.. but it could be lousy... and I'm not being indecisive!
    3. Re:define("Improved" sendmail configuration)dnl by caluml · · Score: 1
      I've no idea what that dnl crap is about.

      Did not learn.

    4. Re:define("Improved" sendmail configuration)dnl by metamatic · · Score: 1

      Well, I've had two answers to what dnl means, and they're both totally different. So much for self-explanatory config...

      Shell scripting isn't hard when it's done appropriately. It becomes a pain when you want to do anything moderately complex, but at that point you should be using a more appropriate tool anyway.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    5. Re:define("Improved" sendmail configuration)dnl by welsh+git · · Score: 2, Informative

      > dnl means "delete new-lines".
      >
      > The M4 macro preprocessing tends to insert a lot of extra blank lines into the
      > resulting .cf file, so the dnl's are basically macros that remove extra new-line
      > characters.
      >
      > Yes, it is stupid.

      Actually, you are, because you're wrong!

      I don't know exactly what it stands for, but it's purpose is to "ignore rest of line", in other words, do exactly as '#' does in shell scripts etc.

      "delete (to) newline"
      or "disregard to newline" ?

      Dunno.. Yeah, stupid name, but at least it does something more useful than you thought!

      --
      Sig out of date
  42. Sendmail X Anyone ? by simpz · · Score: 1

    Sendmail X may address many of Sendmail's orginal design problems (certainly seems more modular). Or have they blotted their copy book one too many times in most people's eyes. See http://sendmail.org/sm-X/release-smX-0.1.Beta2.0.h tml

  43. WIZ backdoor by babanada · · Score: 3, Interesting

    Well, how many widely used MTAs are written by somebody that put in a backdoor? Sendmail wizard (WIZ) backdoor allows anonymous remote root access

    I go for Postfix these days, but Sendmail is infinitely configurable, even (Turing complete. Finally, Eric is All Man.

    As for the "getting hacked via sendmail issue", I've never known anybody that has, personally, or even a friend of a friend. I know more people that got hacked via SSH (some issue around 2000 or so, I forget, but it was bad).

    If I had complicated needs for an MTA, I would assume that Sendmail would be more likely to support those needs than any other MTA. Simplicity is better, though, if possible.

    --
    I never clip my fingernails for fear of dangling symbolic links.
    1. Re:WIZ backdoor by SillyNickName4me · · Score: 1

      Well, how many widely used MTAs are written by somebody that put in a backdoor? Sendmail wizard (WIZ) backdoor allows anonymous remote root access

      And was reported on in 1993 and back then it concerned 'very old versions' only.

      Doesn't make it good in any way, but it also dates back to a time when the Internet was an entirely different place still.

  44. Because it's broken from the ground up by metamatic · · Score: 2, Informative

    Sendmail is pre-Internet. It was built to route mail between BITNET, UUCP, ARPAnet, JAnet, and so on, all of which had different e-mail syntax. That's why it has a big slow crufty macro engine that every message goes through, and that's why it rewrites the headers of e-mail passing through it. None of that is necessary or desirable these days. Most of sendmail's other problems, from lack of speed to poor security, flow from that initial design decision, so you really need to start again from scratch with a simple e-mail parser and build up from there.

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  45. Ah, sendmail... by reynhout · · Score: 1

    In the old days (up to and including the early 90s), the job of an MTA was a complicated one. You had to accept and deliver mail via several different protocols, using various types of gateways, etc.

    By the early 90s, the Internet itself was almost completely settled on SMTP, but internal mail hosts weren't necessarily. I remember spending a few days reworking sendmail.cf for address rewriting to deliver gatewayed SMTP mail to an internal Lotus Notes server.

    The beauty of sendmail was that there was almost always a way to do whatever screwed up thing you needed it to do. The downside, of course, was that that level of capability came at the expense of complexity.

    M4: Configuring sendmail with M4 was for newbies back then. Yes, it worked most of the time for simple cases, but when you actually needed to do something more difficult than setting up a smarthost gateway, it fell on its face. Sendmail.cf was complex, but we are smart people, are we not? All those lines did something, and they were well documented. It wasn't a lunch-break job to make significant changes...but I agree with the submitter -- it was a valid litmus test of an admin's experience (and self-confidence).

    Sendmail always had security problems, again due to its complexity. Sometime in the mid 90s, the reality of the situation became clear: SMTP wins, and any code that isn't for supporting SMTP is extra code that might be the cause of security problems. Sendmail was too big to die (and later, Sendmail, Inc. had other clear reasons for sticking to their path), but other MTAs emerged.

    My favorite then (and still now) is qmail. I've been running qmail on hundreds of servers since 1996, and I appreciate almost everything about it. The codebase is small, well-written, fast, and once you figure out how everything works together, simple. Qmail requires a certain level of experience to admin -- there hasn't been a new version released since 1998 or so(?), and changing the config to handle spam filtering, etc, requires a solid understanding of UNIX and sometimes the ability to read a diff and decide if the patch author does things properly.

    Qmail gets overlooked often because the website is completely impenetrable to most. There are other decent MTAs that do a much better job of promoting themselves. But qmail is still an excellent choice for UNIX admins who know their stuff...and no MTA is a good choice for a UNIX admin that doesn't know their stuff.

    1. Re:Ah, sendmail... by myowntrueself · · Score: 1

      My favorite then (and still now) is qmail.

      You had me right up till there.

      Heres a litmus test for the qmail admin in you; you have 10,000 emails in your queue that shouldn't be there.

      How do you remove them without shutting down your mail server?

      --
      In the free world the media isn't government run; the government is media run.
    2. Re:Ah, sendmail... by amitai · · Score: 1

      Fair question, but it should be countered with further questions:

      1) How do you know which ones shouldn't be there?
      2) How do you know they need to be removed (i.e., what problem are they causing)?
      3) How did they get into the queue in the first place?

    3. Re:Ah, sendmail... by myowntrueself · · Score: 1

      Indeed.
      With exim its fairly trivial; use exiqgrep and pass the output through 'xargs exim -Mrm'

      With qmail, to the best of my knowledge, even when you have identified the mail pieces that you need to remove, you need to shut down qmail-send and then delete, what? 30,000 files? (one file per mail piece in each of the 3 'spool' directories).

      That can take a while. Hours even. And all that time no mail can be delivered to the system. NO INCOMING MAIL.

      To me, this is just unacceptable. Almost as unacceptable as DJB failing to pay the $500 bounty to Guninski who found a remote root exploit... in the default install of qmail on the default install of OpenBSD (on 64 bit architecture with 8G of swap). Now thats just dishonest (of DJB). But I don't want to make this a pure ad-hominem against DJB... but it *had* to be said. DJB is a litigious type so I expect that he will try to sue me over this... ;)

      Anyhow, I've been looking after a true *mutant* of a qmail system (patched to hell and undocumented) for the last 6 months and the end is almost in sight; replacing it with exim.

      At least other debian-experienced sysadmins will be able to look after it when DJB pushes me under a bus for slandering his lovely MTA. Ooops did I say that?

      Honestly, when I started I thought that qmail was a perfectly good MTA. Having the experience of looking after a legacy qmail system for 6 months has totally changed my mind.

      I'd rather work with *sendmail*. :)

      --
      In the free world the media isn't government run; the government is media run.
    4. Re:Ah, sendmail... by reynhout · · Score: 1

      You do the equivalent in qmail:

          devise some method of determining good/bad messages in the queue,
          mark them for deletion
          tell qmail to do it

      e.g., in BSD:
          cd /var/qmail/queue/mess
          grep -rl "BADMESSAGES" . | ( cd ../info ; xargs touch -c -t 200001010000 )
          killall -ALRM qmail-send

      The last line tells qmail-send to flush the queue, and since the bad messages are now touched into ancient history, qmail will stop trying to deliver them. Qmail is up and delivering the whole time.

      There are other occasions when stopping qmail is necessary though.. I usually stop qmail-send and keep qmail-smtpd receiving.

      But I definitely sympathize with your position.. Qmail is great, but SOMEONE ELSE'S qmail build sounds like a nightmareto support. I've never had to deal with that situation, but I'd just reassess the requirements and drop in my own binary and config to fit the need. This is a problem with the distribution style and community around qmail...and it can probably be blamed on djb's ideology.

      I have heard good things about Exim, but I've never run into an insoluble problem with qmail, so I haven't had a motivation to look into it deeply. I did spend some time looking into Postfix once, but I was put off by the "drop-in replacement for sendmail" design style. It felt awkward to me, and again I had no motivation to desert qmail.

    5. Re:Ah, sendmail... by myowntrueself · · Score: 1

      But I definitely sympathize with your position.. Qmail is great, but SOMEONE ELSE'S qmail build sounds like a nightmareto support.

      What looks to me to be the worst aspect of qmail is that in order for it to be a really useful MTA you have to apply several 3rd party patches, few (if any) of which are officially supported by DJB.

      It seems that none, if any, of these 3rd party patches have been regression tested against one another so theres no telling if one patch will fsck another patch. Who knows what bugs will end up in the resulting binaries.

      Moreover, they are patching against code that has been euphemistically described as being in an 'ideosyncratic style'. :)

      This makes me very uncomfortable, especially as (in my situation) I don't actually know which patches were applied in the first place...

      The 'licensing terms' (if you can call them that) in effect make qmail linux-distribution unfriendly; the only Linux distro that seems to be really well suited to qmails 'licensing' terms is gentoo. 'Nuf said :)

      --
      In the free world the media isn't government run; the government is media run.
    6. Re:Ah, sendmail... by MichaelSmith · · Score: 1
      I've been running qmail on hundreds of servers since 1996

      Then you probably know more about it than me. I have run it on 20 or 30 servers since 2000. Sorry for the late reply BTW. I wanted to see what bsd.slashdot.org looked like with the new skin.

      One gripe I have about qmail is the way it bounces messages for which it can not deliver to a local user. I have heard it said that the best way to do this is to refuse the message during the initial smtp connection from the remote server. Qmail runs various processes locally before deciding to bounce so if the From field is incorrect you are bouncing back to somebody else and this can be used to route spam through qmail.

      I don't believe you could patch qmail for this because it is an architectural issue, though a check inside the tcp wrapper might be able to do something.

      Do you believe this is a real issue?

    7. Re:Ah, sendmail... by reynhout · · Score: 1

      Like for everything else in qmail, there's a patch..

      To reject mail at RCPT TO, I use John Simpson's patch to the validrcptto patch:

      http://qmail.jms1.net/patches/validrcptto.cdb.shtm l

      That page describes exactly what's wrong with qmail, by the way..

      Rejecting at RCPT TO is a completely valid thing to do. Going through all of those hoops to make it happen is offputting for 99% of mail admins. Some of us remember when all UNIX software was like this (autoconf is for wimps!), and it doesn't bother us much. But the vast majority of people who install MTAs these days are not going to make the effort -- by the time they have the knowledge necessary, they already have a preferred MTA that is good enough. ...and that's just for adding one simple feature. Navigating qmail.org to pick out the patches that are of interest to you (from the hundreds of varying quality and duplication and/or conflict) to make your own tarfile for use on your systems is completely out of the question for most people (which makes a lot of sense in many situations, supportability and administrative succession being important after all).

      Some of us have the liberty of not worrying about that and/or imposing our will (hopefully informed by acquired and still valid experience) on others. In most other situations, qmail is a hard sell. Which is sad, becuase I think qmail is one of the best examples of how to design qualty software, and I wish more people would use it to learn and teach from. ...and it's also a great MTA.

      It occurs to me that qmail is probably the betamax of MTAs. It was a technically solid option, but required a larger initial investment, wasn't spread or marketed effectively, and was eventually made irrelevant by DVDs. Only the purists and iconoclasts hung on despite the overwhelming inertia, and they are best remembered for their disillusioned sputtered claims of superiority. Hmm. Maybe it's time to start reading up on exim.

    8. Re:Ah, sendmail... by MichaelSmith · · Score: 1

      Thanks for your input. I really appreciate it.

  46. Good by Goo.cc · · Score: 1

    I love NetBSD but shipping with both Postfix and Sendmail was stupid. Personally, I don't think a MTA should be included at all, since Pkgsrc makes adding one trivial.

  47. Sendmail is goo^H^H^H not bad by Draco_es · · Score: 1

    Yeah, it has some quirks. But has excellent documentation, milters, ldap routing support, advanced queue management and address rewriting features(it's 100% configurable if don't mind getting your hands dirty), it's security record is not that bad[1].

    I run it on OpenBSD with spamd and clamav-milter and works like a charm.

    (Just for the record, Sendmail X is being rewrited in a Postfix-like fashion.)

    [1]look at the latest security bug, that's very hard to exploit!, and is the first in years!

  48. 'Best' admins? by KC7GR · · Score: 1

    If the ONLY measure of who the "best" SysAdmins are is a test of how well they do configuring Sendmail, then the people doing the measuring need to do some serious self-examination.

    There's loads more to being a "good" or even the "best" SysAdmin, NetAdmin, or whatever other kind of admin there is than configuring one overly-complex and security-hole-ridden program. No two techies are ever going to have the same strengths and weaknesses.

    For my part, I never understood (or really tried to understand, after seeing how horribly complex and obtuse the .cf file was) Sendmail. However, I've done perfectly well with both qmail and Postfix (I finally settled on Postfix, mainly because I like the way it handles blocklists better than how qmail does).

    Does this make me (or anyone else who chose a similar path) a "poor" admin? Hardly. I'm still, effectively, my own ISP, thanks to being self-hosted. My upstream gives me six statics over a DSL pipe, and I do the rest (including authoritative DNS for my domains).

    Don't blame people for preferring what's simpler (and, apparently, more secure) over what's a configuration nightmare, no matter how much of a "litmus test" it's thought to be.

    --

    Bruce Lane, KC7GR,

    Blue Feather Technologies

    1. Re:'Best' admins? by Anonymous Coward · · Score: 0

      You don't get the point. Sendmail was poorly documented back in the day, even by the horrendously poor documentation that Unix systems thought was sufficient. Add to that the complexity of all of the different email systems that it had to gateway mail to and from, and it was a wonderful litmus test of the only attribute that a sysadmin needed: the ability to figure things out with no help.

  49. Another reason to avoid NetBSD then! by javanree · · Score: 0, Flamebait

    This perfectly shows that sometimes the BSD folks can be even bigger zealots than the Linux groups... glad not to be a BSD user!
    No way will I ever infest my PC with crap such as qmail (software with an attitude.... the kind of attitude you usually beat into submission with a clue-by-four)
    As for the references to the bat book : even v2 is still very useable, it's just lacking a few things which got added after v8.8 (such as advanced anti-spam features)

    1. Re:Another reason to avoid NetBSD then! by Anonymous Coward · · Score: 0

      NetBSD uses Postfix.

  50. Ummmmm ..... by A+nonymous+Coward · · Score: 1

    He said I'm ignoring pre-2k security issues as that is older than five years ago. [...] The Internet Worm of 1988

    You said Umm, last time I checked, 1988 was more than 5 years ago.

    Great, but he was referring to Y2K, not 1988. His reference to 1988 was after the five years comment you quoted.

    Way to go!

    1. Re:Ummmmm ..... by schon · · Score: 1

      he was referring to Y2K, not 1988.

      Yes, and 2000 came after 1988 (it's a bigger number - bigger numbers come after smaller ones - see how that works?)

      His reference to 1988 was after the five years comment you quoted.

      Yes, which is I pointed out that 1988 came before 2000. The order of the years doesn't change if you simply reference one before the other.

  51. Re:Good by LizardKing · · Score: 2, Insightful

    I too love NetBSD, but shipping with both vi and ed is stupid. Personally, I don't think an editor should be included at all, since pkgsrc makes adding one trivial.

  52. Sendmail is dying and BSD is dying by Anonymous Coward · · Score: 0

    What We Can Learn From BSD
    By Chinese Karma Whore, Version 1.0

    Everyone knows about BSD's failure and imminent demise. As we pore over the history of BSD, we'll uncover a story of fatal mistakes, poor priorities, and personal rivalry, and we'll learn what mistakes to avoid so as to save Linux from a similarly grisly fate.

    Let's not be overly morbid and give BSD credit for its early successes. In the 1970s, Ken Thompson and Bill Joy both made significant contributions to the computing world on the BSD platform. In the 80s, DARPA saw BSD as the premiere open platform, and, after initial successes with the 4.1BSD product, gave the BSD company a 2 year contract.

    These early triumphs would soon be forgotten in a series of internal conflicts that would mar BSD's progress. In 1992, AT&T filed suit against Berkeley Software, claiming that proprietary code agreements had been haphazardly violated. In the same year, BSD filed countersuit, reciprocating bad intentions and fueling internal rivalry. While AT&T and Berkeley Software lawyers battled in court, lead developers of various BSD distributions quarreled on Usenet. In 1995, Theo de Raadt, one of the founders of the NetBSD project, formed his own rival distribution, OpenBSD, as the result of a quarrel that he documents on his website. Mr. de Raadt's stubborn arrogance was later seen in his clash with Darren Reed, which resulted in the expulsion of IPF from the OpenBSD distribution.

    As personal rivalries took precedence over a quality product, BSD's codebase became worse and worse. As we all know, incompatibilities between each BSD distribution make code sharing an arduous task. Research conducted at MIT found BSD's filesystem implementation to be "very poorly performing." Even BSD's acclaimed TCP/IP stack has lagged behind, according to this study.

    Problems with BSD's codebase were compounded by fundamental flaws in the BSD design approach. As argued by Eric Raymond in his watershed essay, The Cathedral and the Bazaar, rapid, decentralized development models are inherently superior to slow, centralized ones in software development. BSD developers never heeded Mr. Raymond's lesson and insisted that centralized models lead to 'cleaner code.' Don't believe their hype - BSD's development model has significantly impaired its progress. Any achievements that BSD managed to make were nullified by the BSD license, which allows corporations and coders alike to reap profits without reciprocating the goodwill of open-source. Fortunately, Linux is not prone to this exploitation, as it is licensed under the GPL.

    The failure of BSD culminated in the resignation of Jordan Hubbard and Michael Smith from the FreeBSD core team. They both believed that FreeBSD had long lost its earlier vitality. Like an empire in decline, BSD had become bureaucratic and stagnant. As Linux gains market share and as BSD sinks deeper into the mire of decay, their parting addresses will resound as fitting eulogies to BSD's demise.

  53. they're doing it: it's called Sendmail X by Doktor+Memory · · Score: 1

    It was released a little while ago. The design looks suspiciously like postfix and qmail. :)

    --

    News for Nerds. Stuff that Matters? Like hell.

  54. Do I even need an MTA? by Halo- · · Score: 2, Interesting
    Okay, (deep breath)... I'm going to ask a question I really _should_ know the answer to: does the average user need an MTA anyway?

    I don't even send mail directly from my machines, and I've often wondered "what if I just removed sendmail completely?" Would a whole host of system admin packages (cron, logrotate, etc...) break? Or do they write to the spool directly?

    1. Re:Do I even need an MTA? by Dionysus · · Score: 1

      Ubuntu removed the MTA, and it seems to work properly. I used to think a MTA was required on the desktop, but I'm not convinced anymore.

      --
      Je ne parle pas francais.
    2. Re:Do I even need an MTA? by Anonymous Coward · · Score: 0

      If you don't know whether you need an MTA, you probably do. If you know you don't need one, you probably don't.

  55. Re:Good by Inoshiro · · Score: 1

    Like hell. You should always have a good editor ready to go. What happens if there's a config error or other random error during install, or you can't access the Internet?

    I'd question including ed when vi can do everything it can do, but I'm guessing including means a symbolic link.

    --
    --
    Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
  56. cron by Gandalf_007 · · Score: 2, Informative

    The main reason an MTA is included is because of the daily (and weekly, monthly) cron jobs that email their output to root. As one of the daily jobs is /etc/security (which compares the checksum, permissions, and timestamps of a list of system files to known values, among other things), this is a good thing. (It's also a good idea to put audit-packages in security.local, and download-vulnerability-list in daily.)

    Just an FYI, on both NetBSD and OpenBSD (and also FreeBSD, AFAIK), the out-of-the-box configuration has sendmail listening only on 127.0.0.1 and ::1 -- you have to manually configure it (insert sendmail.cf snark) to listen on physical interfaces.

    While pkgsrc does make installation very easy, the stuff in base undergoes more throrough audits, and usually has {Net,Open,Free}BSD-specific patches to it. While pkgsrc includes patches as well, those are usually just what's sufficient to make it run on $platform.

    --

    "It's better to keep your mouth shut and be thought a fool than to open it and remove all doubt."
    1. Re:cron by jimbosworldorg · · Score: 1
      (and also FreeBSD, AFAIK), the out-of-the-box configuration has sendmail listening only on 127.0.0.1 and ::1 -- you have to manually configure it (insert sendmail.cf snark) to listen on physical interfaces.
      I just tested this on some of my boxes that I knew were still stock - it's true as of FreeBSD 5.4-RELEASE; not true as of FreeBSD 4.10-RELEASE. (FWIW, any of my boxes that are exposed to anything but my local LAN invariably get Qmail installed. No trustum Sendmail. But perhaps I'll stop bothering with that on boxes that aren't actually mailservers, now that I know that modern FreeBSD installs won't let Sendmail listen on real interfaces out of the box...)
      --

      Coming soon to Slashdot: meta-meta-moderation!

  57. In related news... by mattwarden · · Score: 1, Offtopic

    Sendmail Removed From NetBSD

    In related news, Sendmail is used by 4 fewer users.

    1. Re:In related news... by Anonymous Coward · · Score: 0
      Sendmail Removed From NetBSD

      In related news, Sendmail is used by 4 fewer users.


      Hah! The joke's on YOU -- I use NetBSD too, so that's 5 fewer users.
  58. Sendmail Is dying! by Anonymous Coward · · Score: 0

    NetBSD confirms it!

  59. Doesn't remotely pertain to Sendmail by macdaddy · · Score: 1
    The biggest reason I switched away from sendmail was I did lose data because of mbox file corruption on two occasions. Maildir is much better at protecting against that.

    That has absolutely nothing to do with Sendmail. The MTA is not responsible for writing mail to disk. That's the function of a LDA such as Procmail. If you didn't like the Berkley mbox format then you should have configured Procmail to use MailDir or switched to a different LDA. Setting up Procmail to use MailDir is quite trivial, especially if you spend a few minutes googling for the recipe instead of writing your own or copying it out of the man pages.

  60. ...condemed to repeat history. by Anonymous Coward · · Score: 0

    So in 1988, the sendmail mechanism to automatically execute e-mail at delivery is exploited by the Morris Worm.

    In 199x, Microsoft releases Outlook to do essentially the same thing, and history repeats itself.

    One difference though. In 1988 all those running sendmail were able to close the hole immediately. Outlook ... .

  61. Re:Good by Goo.cc · · Score: 1

    If NetBSD was configurable without an editor, I would agree with you.

  62. Morris worm vulnerability VENDOR BUG not sendmail by Medievalist · · Score: 1

    I was actually around when the Morris worm hit. The vulnerability in sendmail that the Morris worm used only after failing to exploit rsh and finger (most systems, as I recall, were taken over via the finger bug) was not introduced by the authors of sendmail.

    The distro vendors (Sun, for example) were shipping sendmail compiled in DEBUG mode. Which is not Eric Allman's fault; sorry to spoil your sendmail FUD, but that's the vendor's fault.

    Do you ship code to your customers with all the developer debug hooks turned on? If you do, do you blame the people who wrote the code when somebody exploits a debug hook, or yourself since you're the one who compiled it stupidly?

    The article you linked explains this.

  63. Re:Good by idiotnot · · Score: 1

    I've configured NetBSD machines with just echo and cat (borked RAID controller, moving just one of the disks in the array). :-)

    Let's just say that writing an fstab is an adventure.

    As for the Sendmail issue, one of my normal commands on first boot with a new NetBSD machine is "echo sendmail=NO >> /etc/rc.conf". It normally comes right after "echo sshd=YES". I, for one, won't miss it. If I do need mail on a NetBSD machine, Postfix works quite nicely. If I'm actually serving Windows users with a NetBSD machine, it's normally Exim (with the integrated spamd/clamd interface), or Qmail.

    And, just to get flamed about the editors, normally the second thing I install from pkgsrc (after tcsh) is emacs. :-D

  64. Smarttable on other MTAs? by koinu · · Score: 1

    Hi people,
    I'd like to replace sendmail, but I need a certain feature called "smarttable". With this configuration I can send my mail through a single MTA and forward it automatically to the proper SMTP servers according to the envelope address. I have a few SMTP servers that only accept mails that have been sent from the correct email address.
    Noone could answer how to do this with other MTAs. Any suggestions to solve my problem?

  65. Re:Sendmail is dying and BSD is dying by Architect_sasyr · · Score: 0, Flamebait

    Not hitting the reply button to this one was too hard... note that I am not trying to flame, just point out a few things

    Everyone knows about BSD's failure and imminent demise. As we pore over the history of BSD, we'll uncover a story of fatal mistakes, poor priorities, and personal rivalry, and we'll learn what mistakes to avoid so as to save Linux from a similarly grisly fate.

    Very true... you will also uncover a community of people who share equally, rather than having one primary developer who says what can and cannot go into a kernel

    In 1995, Theo de Raadt, one of the founders of the NetBSD project, formed his own rival distribution, OpenBSD, as the result of a quarrel that he documents on his website. Mr. de Raadt's stubborn arrogance was later seen in his clash with Darren Reed, which resulted in the expulsion of IPF from the OpenBSD distribution.

    The fact that pf is better than ipf obviously had nothing to do with it. Personally, I hate Theo, but he is very focused on what he does. There is usally a damned good reason he does things.

    As personal rivalries took precedence over a quality product, BSD's codebase became worse and worse.

    wtf? OpenBSD has some of the cleanest code on the planet, it is the most secure. Where the hell did you get that from?

    As we all know, incompatibilities between each BSD distribution make code sharing an arduous task. Research conducted at MIT found BSD's filesystem implementation to be "very poorly performing." Even BSD's acclaimed TCP/IP stack has lagged behind, according to this study.

    ...

    Problems with BSD's codebase were compounded by fundamental flaws in the BSD design approach. As argued by Eric Raymond in his watershed essay, The Cathedral and the Bazaar, rapid, decentralized development models are inherently superior to slow, centralized ones in software development.

    I am not going to argue with Eric Raymond... but I would like to point at the current OpenBSD hackathon. Centralized development...

    Any achievements that BSD managed to make were nullified by the BSD license, which allows corporations and coders alike to reap profits without reciprocating the goodwill of open-source. Fortunately, Linux is not prone to this exploitation, as it is licensed under the GPL.

    Fair enough, you can use the BSD code for anything... how does this nullify the achievements? It only means we are a little more caring and sharing than our Linux brethren.

    The failure of BSD culminated in the resignation of Jordan Hubbard and Michael Smith from the FreeBSD core team. They both believed that FreeBSD had long lost its earlier vitality. Like an empire in decline, BSD had become bureaucratic and stagnant. As Linux gains market share and as BSD sinks deeper into the mire of decay, their parting addresses will resound as fitting eulogies to BSD's demise.

    So if I read that right, two people left one branch of the BSD operating system (assuming the big three, Net, Open and Free) and BSD has failed? That's like saying Red Hat has become corporate, so Linux is failing?

    I continually read /. and see the BSD is dead posts... most of them are funny, and I will mod them thus, some are insightful and again I will mod them.

    Its a pity I posted earlier, otherwise I would have modified this -10 [Fucking Stupid]... it would be nice to see someone actually consider what they post, rather than just posting blindly from one point or the other.

    Incidentally, I have been using SuSE and debian for quite some time now, as well as all three BSD's. I'm not a guru, but I do have some experience...

    --
    Me failed English...
    FreeBSD over Linux. If my comments seem odd, this may explain...
  66. 1988? by totallygeek · · Score: 1
    The Internet Worm of 1988


    Sendmail was pretty much it in 1988. That is like saying the Christian church in 640AD called the Roman Catholic Church, uh, what other Christian church would it have been?
  67. dnl by totallygeek · · Score: 1

    dnl is simply "disregard until newline". It is a method to comment lines and end statements which can be followed by comments.

  68. that's fu not foo by SaberTaylor · · Score: 0, Offtopic

    sorry guys.

    --
    If you need text styles to communicate then you don't have a message.
  69. Re:Work that bandwagon, people - groupthinkgroupth by nutsy · · Score: 1

    a. How does encouraging people to seek one of several alternatives to a certain behaviour count as groupthink?
    b. What in the world is "Most alternatives to sendmail are basically less functional sendmail clones" supposed to mean? That's like saying most web browsers are basically Mosaic clones. Maybe they are, maybe they aren't, depending how strictly you define "clone"; but really, what's it matter?

  70. SendMail and Complexity by hackus · · Score: 1

    My comments:

    1) Back in my day I wrote my own cf files from scratch. Sendmail complexity didn't scare me, but neither does Geometrodynamics. Like most things in life, complex problems in the real world rarely have simple solutions.

    My observation: People pick the wrong tools to solve problems with. There are plenty of alternatives to Sendmail. Throwing a temper tantrum and removing it from a distro doesn't make the problems it was designed to handle go away.

    Problems, that many alternatives still can't handle or scale well. Postfix is simple to set up because I don't use postfix with several different directory service systems, and have to format email addresses into non standard formats over a variety of transport mechanisms.

    If and when Postfix or others can do these things, people will throw them aside as well and say they are too complex to setup.

    2) Personally, I think this is a growing up issue. We are now seeing BSD, Linux leaving the engineering/science sectors and entering peoples homes and small businesses. You do not need sendmail on a desktop for example.

    Althought, for myself who designs very complex mail systems, I run it on my personal laptop where it then forwards my mail when it senses I have a net connection.

    3) Sendmail is one of the oldest pieces of software on the net. Often duplicated, but never dominated it will be here to stay to solve really complex mail problems.

    People who say sendmail is complex and we shouldn't use it probably think the same thing about calculas. Calculas took about 3500 years to rediscover. You can figure out sendmail in about 30 days if you put some study and thought into it. But to say it is too hard like calculas, so we should not go to the moon, build better drugs through protein folding and what not is not a very good reason.

    4) Personally I think distros are getting out of hand and are including a lot of stuff people do not need besides sendmail. I think package systems suck right now, but are improving. My favorite is yum right now. Whats yours? Do you think your grandma can operator your packaging system and pick what she needs to view that abc news clip on the web?

    Better packaging systems are one of the frontiers of end user security that I think will help us go a long way to fixing security problems by keeping user machines free of cruft.

    Sendmail and Postfix etc are cruft if the user doesn't need them.

    Just my thoughts....

    -Hack

    --
    Got Geometrodynamics? Awe, too hard to figure out? Too bad.
  71. RIP by WinEveryGame · · Score: 1
    Sendmail -- RIP

    Future belongs to Postfix..

  72. FreeBSD should use PostFix too by WeArab · · Score: 1

    Good move.

    I wish FreeBSD switch to PostFix too.

    --
    -Arabian CEO We Arab Portal Network http://www.WeArab.Net/
  73. Eric Allman is not the author of sendmail X by Anonymous Coward · · Score: 0

    Just to correct a wrong statement in your article: Eric Allman
    is not the author of sendmail X. See also the design document
    (reachable via the webpage to which you linked).

  74. Re:Work that bandwagon, people - groupthinkgroupth by Medievalist · · Score: 1
    a. How does encouraging people to seek one of several alternatives to a certain behaviour count as groupthink?
    The decades-old chant of "sendmail is insecure, just look at its history" is classic mindless repetition, like the "blue star acid" urban legend. I've stood up in seminars and challenged speakers to support this claim for at least the last eight years - none of them has made any argument that couldn't be easily demolished with readily available documented facts. Encouraging people to use more modern, easier to configure MTAs is fine (as long as they understand they are sacrificing some features that most people will never need) but slamming sendmail for "security" is the intellectual equivalent of joining a lynch mob.
    b. What in the world is "Most alternatives to sendmail are basically less functional sendmail clones" supposed to mean?
    Postfix was written by Wietse Venema as a more secure-by-design sendmail clone. That's a great thing; privilege separation in sendmail is a hack, and makes configuration even more counter-intuitive than it already was. However, postfix does not currently have anything comparable to sendmail's milter API so it is less functional. All the other mailers of note (Exim, Qmail, etc.) were also built to replace sendmail, and thus are to some extent clones (most can be called with sendmail semantics). They do not, however, support sendmail's full feature set (UUCP, Bitnet, DECnet, other antique stuff as well as powerful recursive address munging and again the milter interface) although they are certainly fine for most people's needs.
    That's like saying most web browsers are basically Mosaic clones.
    Not really. Modern browsers incorporate fundamentally new technologies (Java, anyone? CSS? Mouse gestures?) that aren't in Mosaic and never will be. This is nothing like the situation with MTAs, probably because Mosaic was abandoned instead of evolving with the Internet like sendmail did.
    Maybe they are, maybe they aren't, depending how strictly you define "clone"; but really, what's it matter?
    I'm the sort of intransigent pedant who doesn't like a bunch of drones spreading false allegations about the work of internet pioneers (in this case Eric Allman). Compared to nearly any other 30-year old software package, certainly compared to any other of similar utility and complexity, sendmail has an exemplary security record - issues have been addressed with integrity and rapidity for decades. Curiously, the willingess of the sendmail authors to address security issues (even when the real issue was with the underlying OS and not sendmail, even when the exploit was totally theoretical) has contributed to this FUD - idiots comparing patch counts as if not patching a product somehow makes it better.

    You can certainly say with authority that sendmail 8 suffers from antique design and that it is difficult for n00bs to configure. You can accurately say that many of its features are effectively obsolete. But saying it's got a "poor security record" is just being ignorant.
  75. Thanks by Medievalist · · Score: 1

    He's involved, certainly, but you're right; he's not writing the code. And since ithey are OSS projects there are really many hands at work in all versions of sendmail currently available (sendmail X has chunks taken from OpenBSD in it).

    Thanks for the clarification!

  76. Re:Good by LizardKing · · Score: 1

    Hmm, looks like my sarcasm wasn't as obvious as I thought ...

  77. You don't parse English well by A+nonymous+Coward · · Score: 1

    I'm ignoring pre-2k security issues as that is older than five years ago.

    1988 doesn't enter into the equation until after the equation is parsed. pre-2k refers to 2001-01-01, which is older than five years ago when he wrote the comment.

    Do you work for SCO's legal team? Or do you just like to appear stupid and confused?