Slashdot Mirror


Remote Exim Exploit In the Wild

An anonymous reader sends word of a remote exploit in the wild against the Exim mail agent. The news comes on the exim mailing list, where a user posted that he had his exim install hacked via remote exploit giving the attacker the privilege of the mailnull user, which can lead to other possible attacks. A note up at the Internet Storm Center reminds exim users how to set up to run in unprivileged mode, and a commenter includes recompile instructions for Debian exim for added safety. The security press hasn't picked up on this story so far.

90 comments

  1. News? More like olds. by Spyware23 · · Score: 1

    Welcome to a week ago. Oh, and security guys -are- picking up on it. Stop following companies/press and start following persons.

  2. People still use Exim? by Anonymous Coward · · Score: 0

    With Postfix around I see no need for Exim. It's just as lightweight but a lot more powerful and secure.

  3. Was fixed in 4.70 according to Mailing List by gQuigs · · Score: 5, Informative

    http://www.exim.org/lurker/message/20101210.071922.233697ac.en.html

    "Paul Fisher and I have successfully run the exploit against a copy of
    Exim running in a debugger on debian lenny, and we believe it utilizes
    this bug:

    http://bugs.exim.org/show_bug.cgi?id=787

    It was fixed in 4.70, but not in the version currently in debian
    stable.

    James E. Blair
    UC Berkeley"

    1. Re:Was fixed in 4.70 according to Mailing List by TheLink · · Score: 1

      Hmm a bug reported 2 years ago. But now only exploited in the wild?

      --
    2. Re:Was fixed in 4.70 according to Mailing List by John+Hasler · · Score: 5, Informative

      It was fixed in 4.70, but not in the version currently in debian stable.

      Debian has released a DSA and a fixed version for Stable. See Debian Security Advisory DSA-2131-1 and Debian Security .

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    3. Re:Was fixed in 4.70 according to Mailing List by Rockoon · · Score: 3, Informative

      Security through obscurity.

      --
      "His name was James Damore."
    4. Re:Was fixed in 4.70 according to Mailing List by MobileTatsu-NJG · · Score: 4, Informative

      Boring target.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    5. Re:Was fixed in 4.70 according to Mailing List by asdfghjklqwertyuiop · · Score: 2

      It wasn't specifically reported as a security bug 2 years ago which is probably why the fix wasn't backported to debian. Someone probably went through the bug reports looking for a potential security bug that wasn't recognized as such and developed an exploit.

    6. Re:Was fixed in 4.70 according to Mailing List by B'Trey · · Score: 2
      --

      "The legitimate powers of government extend only to such acts as are injurious to others." Thomas Jefferson.

    7. Re:Was fixed in 4.70 according to Mailing List by jamesh · · Score: 1

      Foiled again by documenting bugs in bug reports. When will they ever learn? Security by obscurity is the _only_ way.</troll>

  4. Re:First comment! by clang_jangle · · Score: 4, Funny

    It is to the four people who actually succeeded at getting exim to run.

    --
    Caveat Utilitor
  5. Thank God I use sendmail! by Anonymous Coward · · Score: 1

    Because sendmail has such a long record of resistance to security bugs :)

  6. cPanel by bsDaemon · · Score: 2

    Exim is the MTA that cPanel-enabled servers use, so there is quite a large install base, particularly in the consumer-oriented web hosting space. Except a brief run of ha-ha before the mail spools get moved off to their own partition which is mounted no-exec.

    1. Re:cPanel by mpol · · Score: 1

      According to the changelog in Cpanel it's not fixed for CentOS 5.5. At least it's not in the changelog for exim-4.69-23.1_cpanel_maildir

      --

      Well, don't worry about that. We can get you back before you leave. (Dr. Who)
    2. Re:cPanel by mpol · · Score: 2

      Whoops, apparently there's just an update released today. With a different fix it seems.
      http://forums.cpanel.net/f185/case-45290-exim-0-day-178281.html

      --

      Well, don't worry about that. We can get you back before you leave. (Dr. Who)
    3. Re:cPanel by internewt · · Score: 1

      noexec ain't bulletproof:

      root@bender:/mnt# mount -o noexec,size=10M,nr_inodes=100 -t tmpfs tmpfs ./tmp/
      root@bender:/mnt# cd tmp
      root@bender:/mnt/tmp# echo echo blah > test.sh
      root@bender:/mnt/tmp# chmod +x test.sh
      root@bender:/mnt/tmp# l
      total 12K
      drwxrwxrwt 2 root root 80 2010-12-10 17:33 ./
      drwxr-xr-x 13 root root 4.0K 2009-01-23 04:07 ../
      -rwxr-xr-x 1 root root 10 2010-12-10 17:33 test.sh*
      root@bender:/mnt/tmp# ./test.sh
      -su: ./test.sh: Permission denied
      root@bender:/mnt/tmp# sh ./test.sh
      blah

      And if I have understood this exploit, that extra sh could still be added.

      --
      Car analogies break down.
    4. Re:cPanel by Hatta · · Score: 2

      If you have a shell, what's the point of running a shell script? 'sh ./test.sh' doesn't allow you to do anything that you can't do from the shell itself. How would you use that to run arbitrary binaries from a noexec partition?

      --
      Give me Classic Slashdot or give me death!
    5. Re:cPanel by asdfghjklqwertyuiop · · Score: 1

      Except a brief run of ha-ha before the mail spools get moved off to their own partition which is mounted no-exec.

      Well I hope they aren't laughing too hard. They forgot /tmp, /var/tmp, /var/run/exim4, /var/log/exim4... and anywhere else the exim user can write to. And of course, none of that wouldn't actually prevent exploitation anyway since they are already able to execute arbitrary commands as root without creating any executable files with 'exim -C' as the exim user and ${run ...}.

    6. Re:cPanel by bsDaemon · · Score: 1

      /tmp should always be mounted noexec anyway, though. Bestt to apply any necessary patches. Meanwhile, most IDS/IPS systems should catch this... its not like the payload is exactly covert or anything.

    7. Re:cPanel by asdfghjklqwertyuiop · · Score: 1

      It might be covert if you support starttls. I agree, best to apply the patches...

    8. Re:cPanel by bsDaemon · · Score: 1

      If you're running the mail server, you have the tls/ssl keys, which means you can decrypt the packets before inspecting them. However, your typical mail server isn't going to bother doing that and the people who know how likely have fixed the issue or don't use exim anyway.

    9. Re:cPanel by internewt · · Score: 1

      sh ./test.sh' doesn't allow you to do anything that you can't do from the shell itself

      As far as I can tell, and know, that above does allow a program to be run that is otherwise on a noexec partition. bsDaemon suggested that putting the mail spool on a noexec partition would stop this attack, but I don't think it will. I do know that I know enough to get by on Linux, but I also know I do not understand all the ins and outs of the system, so am perfectly willing to accept I am wrong about noexec partitions. I just don't think I am....

      Part of TFA:

      after that attacker gets shell with id of user Debian-exim and cwd
      in /var/spool/exim4
      then it put file there file setuid with trivial execution of root shell:
      int main(int argc, char *argv[])
      {
      setuid(0);
      setgid(0);
      setgroups(0, NULL);
      execl("/bin/sh", "sh", NULL);
      }

      and create another file e.conf with following content:
      spool_directory = ${run{/bin/chown
      root:root /var/spool/exim4/setuid}}${run{/bin/chmod 4755 /var/spool/exim4/setuid}}

      the he runs:
      exim -Ce.conf -q

      and gets suid bit on /var/spool/exim4/setuid
      everything else is trivial.

      So the file setuid is set to be executable as root via exim's feature of being able to run commands from its config file. At least, I think that is what is going on. As exim will need to open port 25 I guess the program sits on disk with the suid bit set, and once port 25 is opened it drops privileges to debian-exim. But it appears exim will also execute commands from a user specified config file, and it must be doing so before it drops its privs.

      I happen to have a debian virtual machine here:
      lintorrent:~# ls -l `which exim4`
      -rwsr-xr-x 1 root root 695968 2008-09-30 19:27 /usr/sbin/exim4

      Exim is on disk with a suid of root.

      From the exim manpage:

      -C <filelist>

      This option causes Exim to find the run time configuration file from the given list instead of from the list specified by the CONFIGURE_FILE compile-time setting.[snip]

      When this option is used by a caller other than root or the Exim user, and the list is different from the compiled-in list, Exim gives up its root privilege immediately, and runs with the real and effective uid and gid set to those of the caller.

      Ahhh, because the initial exploit gives the attacker a shell as debian-exim, exim won't give up root as quick as if exim -CDodgyConfigFile is run as any other local user (apart from root). The person publicising the attack is keeping some details with himself and the exim devs, so I don't know exactly how that initial shell that is mentioned is presented. Does the attacker telnet into the server, start talking in SMTP, then just gets a shell responding after sending right secret phrase?

      The final piece of the attack, going to root, summed up by "and gets suid bit on /var/spool/exim4/setuid \
      everything else is trivial" could have the extra sh dropped in just in front of /var/spool/exim4/setuid. I do know that most Linux distros will ignore an suid of root on a shell script, but what is written to the mail spool isn't a shell script. It looks like C (I'm no programmer), and I didn't know you could execute uncompiled code like that... and trying it here I can't get it to work. Though I think the really important bit is that Exim will execute as root commands in a config file if exim is run as root or as the exim user (debian-exim in this case).

      --
      Car analogies break down.
    10. Re:cPanel by dissy · · Score: 1

      You can run sh because it is in /bin/sh which is not noexec.

      You have no way to run it setuid however because the program you have above will live in /var/spool/exim4 which is noexec.

      If you run it directly, it will fail. If you run it with an sh in front, you invoke /bin.sh normally (not setuid) and you only spawn another shell as the exim user, same as you already had in the first place.

    11. Re:cPanel by asdfghjklqwertyuiop · · Score: 1

      Does any IDS or IPS actually do that?

    12. Re:cPanel by internewt · · Score: 1

      d'oh! Shit, missed that :)

      But you can still commit data into /var/spool/exim4 in the form of an exim config file, and exim will run commands in that config file as root if exim is launched by root or debian-exim. Which is the case here.... isn't it?

      If you can run any command on a remote system as root, then surely instead of simply elevating the privilege of an existing session, you do something else to 0wn the box? The root commands put in that config file could make a new user, give that new user root privileges, and allow them to ssh in. Probably much more easily noticed, but is still remote root.

      --
      Car analogies break down.
    13. Re:cPanel by bsDaemon · · Score: 1

      Sourcefire makes a box that does it, as do some other companies.

    14. Re:cPanel by asdfghjklqwertyuiop · · Score: 1

      Sounds like some pretty neat duct tape.

    15. Re:cPanel by psmears · · Score: 1

      As it happens, you're right, noexec won't help here

      The reason this works is that exim runs initially as root. Though it drops its privileges early on, it retains (at least in some circumstances) the ability to switch back to root—this allows it, for example, to switch to another user when delivering their mail.

      When the attacker uses their exploit, it ends up spawning a process that has this same capability of switching back to root, and the C program basically just does exactly this, then runs a (now root) shell. (I'm assuming the program also needed to be compiled, but if the attacker can write arbitrary files and run shell commands as non-root, that won't pose too much trouble.)

      The reason the noexec mount option doesn't help is that, as you've pointed out, script interpreters (such as "sh") don't respect executable permissions when invoked directly. This doesn't matter so much with "sh" specifically, as it doesn't give you any way to switch user ids, but the following perl script is a good enough translation of the above C program:

      $> = 0;
      $) = 0;
      exec "/bin/sh";

      The noexec mount option does help prevent some types of attack, by preventing execution of files the attacker manages to control, but in this case it's not enough because the attacker already has enough access to escalate privilege it in other ways...

    16. Re:cPanel by dissy · · Score: 1

      Yea, if exim will run commands out of its config, and exim is running as root but hasn't dropped root privs (Not being an exim user, I don't know exactly how it behaves) then you can own the machine.

      One can just copy /bin/sh to somewhere slightly hidden and change that to suid.
      Then from a normal shell (Even the exim user) you can elevate up.

      Most programs of this sort require root only to bind to ports below 1024, and then can drop those privileges afterward. It really just depends at what point those commands in the config file get run.

    17. Re:cPanel by udippel · · Score: 1

      As it happens, you're right, noexec won't help here

      The reason this works is that exim runs initially as root. Though it drops its privileges early on, it retains (at least in some circumstances) the ability to switch back to root—this allows it, for example, to switch to another user when delivering their mail.

      Then we should consider postfix as superior. Because for security, we don't want any input ever to be touched by privileged code. Postfix spawns a mail delivery that runs with the privileges of the recipient.
      If, as you describe it, the users are switched around, that's surely less safe. Instead, for the delivery to another user, one better kills off the first delivery process, and spawns a new one, running as the user of the second mailbox, and so forth. Because one never knows what shit one has on one's hands when elevating privileges.

    18. Re:cPanel by psmears · · Score: 1

      Then we should consider postfix as superior. Because for security, we don't want any input ever to be touched by privileged code. Postfix spawns a mail delivery that runs with the privileges of the recipient.

      I'm sorry, but that doesn't follow.

      Both Exim and Postfix Exim spawns a delivery processes that run with the privileges of the recipient. And the delivery process then dies in both cases.

      The issue is that, in order to spawn a process as another user (i.e. the recipient), you must be running with root privileges first or else you can't switch users. Therefore both Postfix and Exim have a stage where they effectively have root privileges, and that stage is the stage that got hacked in this instance.

      It's not possible to remove that root stage, and that stage must have at least some contact with user data, because otherwise it can't know which user to switch to—though to a great extent you can mitigate the risk by spawning an unprivileged process to dig through the mail data to find the recipient, then report that data back to the parent. As far as I understand the issue here (though I haven't looked at it in detail) was that one of the stages leaked data to another stage, which happened to be vulnerable to a buffer overflow.

      Possibly the design of Postfix may make that sort of leak more or less likely, but there's no reason in principle why it couldn't happen their either :-(

    19. Re:cPanel by udippel · · Score: 1

      Fine, thanks, learned something here. I was actually talking out of some cuff w.r.t. exim. The term in question was 'switching user'. As you describe it now, exim doesn't 'switch' user 'back' neither. So I withdraw whatever I wrote and state the opposite.

      I would hope that recipient extraction from the envelope is done by an unprivileged process, though, and only a valid recipient reported back for spawning the delivery-to-mailbox process.

  7. Debian patched it today by domatic · · Score: 5, Informative

    Debian released patches this morning for it.

    exim4 (4.69-9+lenny1) stable-security; urgency=high

        * Non-maintainer upload by the Security Team.
        * Fix SMTP file descriptors being leaked to processes invoked with ${run...}
        * Fix memory corruption issue in string_format(). CVE-2010-4344
        * Fix potential memory pool corruption issue in internal_lsearch_find().

      -- Stefan Fritsch Fri, 10 Dec 2010 13:25:07 +0100

  8. Re:Exim - POP3/IMAP client for Linux? by Anonymous Coward · · Score: 0

    It's a mail server - similar to sendmail etc. Is it really that hard to use google?

  9. Already fixed by gsaraber · · Score: 1

    I just went digging through my exim install. I have exim-4.72-r1 on Gentoo and it has the fix in it.
    it's actually an old bug, the patch is for 4.69 and is from ~2008

    1. Re:Already fixed by Anonymous Coward · · Score: 0

      but on cPanel servers its not fixed circa 2008, it was fixed today.

    2. Re:Already fixed by arth1 · · Score: 1

      Yep, gentoo has 4.72, and Fedora 14 has 4.71 -- neither has this incredibly old vulnerability.

      RHEL 5.5 (and CentOS, ScientificLinux and other clones), on the other hand, has an old vulnerable version.

  10. Somewhere in a dark cave... by Anonymous Coward · · Score: 0

    "Sir, the email server has a remote exploit!"

    "What you say? An exploit?"

    "Yeah, exim has a remote hole!"

    "Well, it's a good thing we run postfix!"

    The greybeard then goes back to smoking his hookah and playing nethack. All is good and right in the world.

  11. Re:First comment! by John+Hasler · · Score: 1

    More than four people use Debian, where Exim is standard and works out of the box.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  12. it's an MTA not a client by OrangeTide · · Score: 1

    fourth post: "Exim is the MTA..."

    if you don't know what an MTA is, sendmail, qmail and postfix are other examples.

    --
    “Common sense is not so common.” — Voltaire
  13. Re:Exim - POP3/IMAP client for Linux? by Anonymous Coward · · Score: 0

    Huh? Don't you mean POP3/IMAP server? Because the client is called a "Mail User Agent".

    Exim4 doesn't implement POP3/IMAP on its own, you need to set up a separate server to do that, such as Dovecot.
    And yes, I specifically suggest using Dovecot.

  14. Re:First comment! by Monkeedude1212 · · Score: 2

    Yeah but the people who use Debian know they've got it rough enough and don't need to rub it in using Exim.

  15. Re:First comment! by Anonymous Coward · · Score: 1

    I use debian. About the first thing I did was disable exim. Why the fuck is it included by default? #fail.

  16. Re:Exim - POP3/IMAP client for Linux? by FooAtWFU · · Score: 1

    It wouldn't have killed them to just tell me what it is. I can only assume.

    I'd ask you to hand in your geek card, but it appears that you were never issued one to begin with.

    --
    The World Wide Web is dying. Soon, we shall have only the Internet.
  17. There IS some idiocy in FOSS at times ... by udippel · · Score: 0

    [... and there goes my karma :( ]
    Actually, exim was never the thing to do, and yet Debian had it in default.
    Just read the archives, and this has been under discussion ever since. OpenBSD has sendmail, likewise, and this has been under discussion ever since.
    I am totally a FOSS person [and there goes even more karma .( ], hate blobs. I can do with less functionality if only the software is free.
    And some perceive postfix as 'not free enough' and so forth. Whatever, relevant is, that exim has always been a dog, almost impossible to configure, and finally with 4.0 changed the style of its configuration. sendmail: just try to understand why you need to install a compiler (m4) to create a configure file? Plus it used to have some security holes several years ago.
    In a nutshell, for the last 10 years, being on Debian, OpenBSD or whatnot, the first thing to go in all my boxes is any not-postfix MTA, and postfix to come thereafter.
    Yes, I'm a vi person [OMG, all karma negative! :( ], but I also see good arguments for emacs. SMTP is different: I see no good arguments for neither exim nor sendmail. As much as i like choice, and support the existence of exim and sendmail (and qmail), I have always felt that the distros do a disservice by offering anything else than postfix as default.

    1. Re:There IS some idiocy in FOSS at times ... by Raenex · · Score: 2

      Stop whining about your karma, and learn to format paragraphs.

    2. Re:There IS some idiocy in FOSS at times ... by Anonymous Coward · · Score: 0

      ...and get a clue.

      Is there anything more annoying than a Windows newb who thinks he's a *nix pro after a week using Ubuntu?

    3. Re:There IS some idiocy in FOSS at times ... by asdfghjklqwertyuiop · · Score: 1

      Impossible to configure? No, not really, even in v3. It is actually pretty nice to use if you have a complicated configuration.

    4. Re:There IS some idiocy in FOSS at times ... by icebraining · · Score: 1

      Who cares about the default? This isn't a desktop clock, it's a mail server - you're supposed to search and read about at least the most well known alternatives.

    5. Re:There IS some idiocy in FOSS at times ... by headLITE · · Score: 1

      Heh. I never thought exim was hard to configure. Some things are a lot easier in exim 4 than in postfix. On the other hand, I used to edit sendmail.cf without m4 back in the day and didn't think of that as particularly hard either.

    6. Re:There IS some idiocy in FOSS at times ... by fusiongyro · · Score: 1

      m4 is no more a compiler than sed is. It's just a text macro expander, and it's not particularly complex. It takes about ten minutes to learn how it works, and if you're trying to configure sendmail or use autoconf, you owe it to yourself to spend the ten minutes.

      The problem with sendmail is sendmail, not m4. It certainly needs too much configuration and its configuration is certainly too finicky, but that's a separate problem.

    7. Re:There IS some idiocy in FOSS at times ... by julesh · · Score: 1

      Whatever, relevant is, that exim has always been a dog, almost impossible to configure, and finally with 4.0 changed the style of its configuration.

      I'll admit to not having used exim pre v4, but when I switched to it some years back I found it quite easy to configure, and yet with a powerful enough configuration system that I could do what I needed to do (set up domain/user tables to come from an existing database) without any real hassle.

      Dunno what people complain about, really. Perhaps they're too scared to read the manual?

    8. Re:There IS some idiocy in FOSS at times ... by amorsen · · Score: 1

      The only problem with exim configuration is that they're trying very hard to pretend that the acl part isn't programming. Traditional if then else would be a lot easier to read by everyone who can handle shell scripting, and if you can't handle shell scripting you aren't likely to handle an obscure language with side-effects based on boolean short-circuit evaluation.

      You can get very far without touching the acl's, but those are what makes exim more capable than most other MTA's.

      --
      Finally! A year of moderation! Ready for 2019?
  18. Re:First comment! by Anonymous Coward · · Score: 0

    ...Debian, where Exim...works out of the box

    [citation needed]
    --
    DUH!

  19. Re:First comment! by Profane+MuthaFucka · · Score: 2

    I use Exim. I have great clanking balls.

    --
    Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
  20. Wow ... "Electric Fence spotted this problem" by Kaz+Kylheku · · Score: 2

    Welcome to the early 1990's of memory debugging.

    That string_format problem is incredibly shameful this day and age, too.

    You know what? I think I'm going to run my exim4 installation under Valgrind, set to terminate at the first memory error.

    (Will I still get any e-mail?)

    1. Re:Wow ... "Electric Fence spotted this problem" by Kaz+Kylheku · · Score: 1

      ... and I'm chugging along. Bad program, off to the synthetic CPU with you.


      webserver:~# ps aux | grep exim
      101 25977 0.0 0.6 157564 27388 ? Ss 09:58 0:00 /usr/bin/valgrind.bin -q /usr/sbin/exim4-nosuid -bd -q30m
      root 32215 0.0 0.0 5160 776 pts/1 R+ 21:54 0:00 grep exim

      I need a patch for Valgrind to bail on the first error.

  21. Re:First comment! by Anonymous Coward · · Score: 0

    So that mail can be delivered...?

  22. Exim hate by Curunir_wolf · · Score: 3

    I don't really get all the hate for Exim. I've been using it exclusively on mail servers for about 10 years, and I've never had a problem. I do remember going through a lot of reading and learning (and sometimes experimenting) the first few times I set it up (and of course when implementing a major feature change). But, for me, the task was less daunting than the alternatives. I don't really remember whether postfix was one of those alternatives I explored at the time, but now that I'm familiar with Exim, I see no reason to change.

    --
    "Somebody has to do something. It's just incredibly pathetic it has to be us."
    --- Jerry Garcia
    1. Re:Exim hate by smclean · · Score: 1

      I agree.. I've used exim a lot on quite a few servers, with some advanced features, and it's been great. I've also done a lot of sendmail, qmail (back in the day) & postfix. Call me crazy but I don't really have a strong preference between sendmail, exim and postfix (qmail is just too dated now).

      --

      "'Yrch!' said Legolas, falling into his own tongue."

    2. Re:Exim hate by Anonymous Coward · · Score: 0

      I don't really get all the hate for Exim. I've been using it exclusively on mail servers for about 10 years, and I've never had a problem. I do remember going through a lot of reading and learning (and sometimes experimenting) the first few times I set it up (and of course when implementing a major feature change). But, for me, the task was less daunting than the alternatives. I don't really remember whether postfix was one of those alternatives I explored at the time, but now that I'm familiar with Exim, I see no reason to change.

      I second that. We've been using Exim for 7 years. The configuration layout is perhaps a bit "skewed" at first glance. But it works. And you can do very advanced configurations in a simple format. I like it. And our users? Well, it works. We're sending and receiving 10-20k mails each day. We're using version 4.72.

      The only thing that's "bad" in Exim is how it handles the queue. It isn't really as fast as it could be, due to the design of it, but perhaps that's something they're working on..

    3. Re:Exim hate by lanner · · Score: 1

      I was not aware that there was EXIM haters. It's a good mailer. I doubt anyone who was ever forced to configure sendmail will say otherwise.

    4. Re:Exim hate by h4rr4r · · Score: 1

      Indeed. Due to support from another mail product we run we had to go from postfix to sendmail. A sad day in my life. Sendmail is not bad, just when you need a script to write config files your config files are too complicated. Looking at you GRUB2, when I say that.

    5. Re:Exim hate by caseih · · Score: 2

      Sendmail has one redeeming feature: milters. Postfix is only now starting to support sendmail-compatible milter filters. The ability to filter and discard spam at the connection level is, my opinion, better and cleaner than hackish solutions like amavisd.

    6. Re:Exim hate by Anonymous+Showered · · Score: 1

      I've been running Exim on two servers for the past 5 years now. Never had a problem either.

    7. Re:Exim hate by tiagosousa · · Score: 1

      Sendmail has one redeeming feature: milters.

      Another very cool feature is throttling by cpu load (envious postfix user here).

  23. Re:Exim - POP3/IMAP client for Linux? by Anonymous Coward · · Score: 0

    It wouldn't kill you not to be a complete idiot and note the word 'MTA' and/or use google. We can only assume.

  24. Re:First comment! by Anonymous Coward · · Score: 1

    [0]

    1. Try it

    2. It works.

    3. Profit???

  25. Re:Exim - POP3/IMAP client for Linux? by olivier69 · · Score: 1

    Huh? Don't you mean POP3/IMAP server? Because the client is called a "Mail User Agent".

    But a POP3/IMAP server is rather an MDA. An SMTP server is an MTA.

  26. Re:Exim - POP3/IMAP client for Linux? by clone52431 · · Score: 1

    note the word 'MTA' and/or use google

    Give me a break, I actually checked the first cited article (of the 3) and googled “mail agent” before I gave up and just asked.

    --
    Distributed Denial of APK: It takes 15 seconds to reply to him anonymously, but wastes tons of his time if we all do it.
  27. Re:First comment! by Anonymous Coward · · Score: 0

    My computer isn't a mail server. Why does it need to deliver mail? Pros: none. Cons: uses memory, uses cpu, and it's a nice fat exploit vector.

  28. killall -9 exim by Anonymous Coward · · Score: 0

    And you little scanner too!

  29. Re:First comment! by Anonymous Coward · · Score: 0

    Cron job outputs, for one.

  30. Re:Exim - POP3/IMAP client for Linux? by bem · · Score: 1

    POP3 and IMAP servers are not MDA's.

    They don't "deliver" anything, and that is what the D in MDA is for.

    Procmail, mail.local, deliver, etc are MDA's.

  31. Milters? by dwmw2 · · Score: 2

    Whereas Exim doesn't *need* milters because it's sufficiently capable all by itself.

    I once had a Postfix advocate look over my Exim config to see if he make Postfix do what Exim can do. He gave up.

    1. Re:Milters? by Curunir_wolf · · Score: 1

      Exim can also easily hook into spamassassin, which can also filter spam at the connection level.

      --
      "Somebody has to do something. It's just incredibly pathetic it has to be us."
      --- Jerry Garcia
  32. Re:First comment! by jgrahn · · Score: 1

    Cron job outputs, for one.

    Yeah; a real Unix system has a mail daemon; too many things break if it doesn't. Although *if* I use exim, I let the Debian installer configure it for local mail delivery only. For mail servers which actually have to speak SMTP, I choose postfix (which is one well-supported alternative in Debian).

  33. Sure glad all my servers run Sendmail by dskoll · · Score: 5, Funny

    Bet you never thought you'd read that in response to a security announcement. :)

  34. Who knew? by overshoot · · Score: 0

    It is to the four people who actually succeeded at getting exim to run.

    Is exim supposed to be difficult? Damn. Maybe I'm better than I thought (unlikely) or you're lamer than you think (ref. Dunning-Kruger Effect.)

    Whichever.

    --
    Lacking <sarcasm> tags, /. substitutes moderation as "Troll."
    1. Re:Who knew? by Anonymous Coward · · Score: 0

      Sorry, lame one. While with Debian exim "works out of the box" for system mail it's a total bitch to make it work with any other mail. Then again, this was four years ago -- they might have got it fixed by now. But sendmail was actually much easier, which is quite a condemnation. Doesn't matter to me, nowadays I outsource all my domains' mail to gmail. The uptime is phenomenal while saving me a buttload of work, and yes, GPG still works fine for privacy.

  35. Debian stale by Anonymous Coward · · Score: 0

    ... fixed that for you.

  36. "Nobody Touches My Hurricane..." by Anonymous Coward · · Score: 0

    "... Nobody DARES to even try!" -> http://yro.slashdot.org/comments.pl?sid=1903798&cid=34515054 you "ran away" over there at the URL icebraining... why is that? LMAO!

    ("You try to catch me, but you-just-can't-catch-a-hurricane!")

    APK

    P.S.=> As to my subject-line above and how it pertains to that link above & our discussion on HOSTS files (where I completely BLEW YOU AWAY, lol)? See THE RODS' video here -> http://www.youtube.com/watch?v=apOdWOK5Rh8&feature=related ... apk

  37. "Exim haters" is pure fiction by Morgaine · · Score: 1

    The parent conjured up "Exim haters" out of thin air, but it's really a fiction. There is nothing that warrants such a label.

    Sure, we all have our own preferences for MTAs, and we even complain occasionally about particular features or unhelpful config styles, but that's the same for all applications. Sendmail's config is of course a joke, but that's an old MTA and shouldn't be compared with any of the modern ones like Exim, qmail, Postfix, etc.

    All MTAs have their proponents, but "MTA haters" really don't exist as a sizeable group for any modern FOSS MTA, beyond a few colorful characters who claim that only their own code is any good.

    --
    "The question of whether machines can think is no more interesting than [] whether submarines can swim" - Dijkstra