Slashdot Mirror


Recommendations for the Right IMAP Server?

eugene ts wong asks: "Our company is planning on taking care of its own email, by setting up our own server. I've been given the task of researching what is out there. So far, I've got my heart set on an IMAP server that we can install on Gentoo. Unfortunately, email isn't our forte, and I really have no idea of where to start. I've made some google searches, browsed around on the IMAP site, and also found this email. According to the mutt documentation, Cyrus and Courier are the best choices." What IMAP servers have you used, and which ones would you recommend?

"I'm still at a loss for what to do. The documentation of all but uw-imap seem to be a bit complex for me. If it helps, I'd like to point out that I have Mutt and nbsmtp installed, which work fine for connecting to our SMTP and POP servers. How do I know what will serve our needs the best? Also, is there an IMAP server that I could install easily for testing and learning purposes? I'd like to be able to get something installed without much configuration. Security shouldn't be an issue for testing purposes, because it will only be on the local network, and the computer will be turned off when I'm not actively testing it. We're also willing to purchase products as well. We're willing to hire a professional to do it for us, but the boss wanted some research done so that we know what we're getting. Any comments are welcome. Thanks in advance."

223 comments

  1. Gentoo + Mail Servers by abartlett_219 · · Score: 5, Informative
    It looks as if Gentoo recommends the Courier-IMAP server, but an emerge search IMAP returns cyrus, courier, and uw-imap (plus a patched version of uw-imap for virtual domains).

    Gentoo has a HOWTO using various packages here.

    1. Re:Gentoo + Mail Servers by Directrix1 · · Score: 3, Interesting

      University of Washington IMAP has known security holes (unless they recently patched it), Courier-IMAP and cyrus would probably work just fine, but as for me I'm just waiting for the James email server to finish their IMAP implementation. It is a nice, open, easy to use, non-*nix centric, and java based solution. Which supports java maillets which let you custom process each email on the server. Not to mention the fact that they have two different IMAP implementations already in CVS (all they have to do is adapt one of them which is in the process now). Just my two cents.

      --
      Occam's razor is the blind faith in the natural selection of least resistance and in universal oversimplification. -- EF
    2. Re:Gentoo + Mail Servers by Anonymous Coward · · Score: 0

      That article is still obsolete. It hasn't worked since 1.4 rc3, so far as I know. Any attempt to follow it letter by letter will likely end in frustration, and (in my case) some bashing of inanimate objects. However, I did manage to tweak and diddle with it until I got it to work despite all the mis-steps. Unfortunately, I don't have the motivation to make my own corrected (read:updated) HOW-TO. If anyone is trying this same thing on Gentoo (1.4 x) I'd love to hear from you, heck i may even be able to help with the config, install, etc.

      -jude

      (st_judas@ hotmail.com)

  2. 1-800-Microsoft by Anonymous Coward · · Score: 5, Funny

    Why not try Microsoft? From everything I read here, they are well respected and only put out top-notch, high quality products.

    1. Re:1-800-Microsoft by Anonymous Coward · · Score: 0

      n00bs, remember, he was JOKING!

    2. Re:1-800-Microsoft by SanityInAnarchy · · Score: 2, Funny

      Dear God! Almost started ranting...

      Yeah, it's funny, but people really do post things like that.

      For example: "Half-life 2 will not be coming out for the PC, only for the Xbox, because the PC just can't handle the graphics that the Xbox can.

      Almost like someone coming on and saying XP is more stable than Linux.

      --
      Don't thank God, thank a doctor!
    3. Re:1-800-Microsoft by KillerHamster · · Score: 1

      Well, Windows XP is more stable than very, very early versions of Linux... Not much more, though.

    4. Re:1-800-Microsoft by SanityInAnarchy · · Score: 1

      Well, just wait. As Linux attempts to become more and more "user-friendly" by adopting everything Windows does, I wouldn't be surprised if the default screensaver for KDE became an un-killable bluescreen of death in the near future.

      --
      Don't thank God, thank a doctor!
    5. Re:1-800-Microsoft by SEWilco · · Score: 1

      Of course, being on Linux, the KDE un-killable bluescreen of death will be very stable and protected from interference by other programs. And it should be configured so if it dies on its own, it will be automatically restarted.

  3. Cyrus IMAP for sure.. by T-Ranger · · Score: 5, Informative
    But first, do you realy want to use gentoo in a production machine? It may be fun to recompile everything, but for a production server, especially with something as important as email, gentoo isnt even a contender.

    Anyway.. Cyrus IMAP seems to be the best of breed IMAP server. Its desigined to work in a 'black box' enviroment, where the users dont need 'real' accounts on the machine - and if they did would have to use IMAP to access their mail anyway.

    Its ACL features might be of significant use for a work enviroment (Im planning on deplying it in an ISP enviroment, so its not much help to me). Its heavy reliance on SASL is a bit tricky to get working, but recent IETF decisions seem to mean that SASL is a necessity for just about anything.

    http://asg.web.cmu.edu/cyrus/cyrus-overview-TOC.ht ml

    1. Re:Cyrus IMAP for sure.. by eugene+ts+wong · · Score: 1
      But first, do you realy want to use gentoo in a production machine? It may be fun to recompile everything, but for a production server, especially with something as important as email, gentoo isnt even a contender.
      Well, I'm not exactly longing for Gentoo, but I thought that Gentoo really would provide the best, compared to RH & various precompiled distributions. I thought that it would be more stable if I chose only the stable releases. I wouldn't say that compiling would be fun, though. :^) I'm still relatively new to Linux, compared to many of you. What distibution do you recommend for this, & why is Gentoo not even a contender?
    2. Re:Cyrus IMAP for sure.. by Zapman · · Score: 1

      I have to agree with the 'no gentoo on servers'. It's a wonderful distro, and I use it a lot, but it encourages you to be too bleeding edge... and that WILL bite you at some point.

      (Says I as I'm debugging a firewall issue at 9:00 PM...)

      Email is far to 'visable' a service to trust to something not rock solid.

      if [ mgmt.need = support-contract ]; then
      redhat.install
      else
      debian.install
      fi

      Debian stable is where I'd probably put such a thing. MAYBE debian testing.

      --
      Zapman
    3. Re:Cyrus IMAP for sure.. by Sevn · · Score: 1

      You were right. Gentoo really would provide the best experience in the end. By default it's not going to compile and install anything unstable. You have to actually elect to install unstable stuff by setting a flag to do it. Gentoo is definitely your best choice.

      --
      For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
    4. Re:Cyrus IMAP for sure.. by schon · · Score: 4, Insightful

      I thought that Gentoo really would provide the best, compared to RH & various precompiled distributions

      First rule of being a sysadmin: You NEVER put a compiler on a production server. Ever.

      All software (including updates) is compiled and tested on a dev machine (preferably on a disconnected network), then moved to the production machine once you're satisfied that it won't break anything.

      This pretty much precludes Gentoo.

      I thought that it would be more stable if I chose only the stable releases.

      Stability is not measured in point releases. Stability is measured by testing. As in you testing, in your configuration.

      What distibution do you recommend for this

      Slackware. Rock solid, as Pat doesn't include anything he hasn't tested. (With the exception of security fixes, Slackware packages are typically 1-2 months behind the bleeding edge, to allow for testing.) If there is software you need that Slackware doesn't include, you can compile it and test it your self (see above), safe in the knowledge that everything else is OK.

    5. Re:Cyrus IMAP for sure.. by eugene+ts+wong · · Score: 1

      Based on what you have said, & what I have said, do you advise that we contract this out, or try to go for it?

    6. Re:Cyrus IMAP for sure.. by thing12 · · Score: 4, Insightful
      First rule of being a sysadmin: You NEVER put a compiler on a production server. Ever.

      Please, please, please tell me how this saves any trouble at all? I challenge you to come up with a scenario where the simple fact that a compiler is not installed on a server somehow hinders the ability of a cracker, script kiddie or even just a determined end-user to install/run any software they want on a server. The 'never have a compiler on a server' mantra seems to be a relic from the days when compilers were expensive things you had to purchase from your OS vendor. What's next? Are you not going to install Perl, Python, and Bash?

      All software (including updates) is compiled and tested on a dev machine (preferably on a disconnected network), then moved to the production machine once you're satisfied that it won't break anything.

      This pretty much precludes Gentoo.

      But this simply isn't true - Even if you wanted to leave the compilers off your production servers, you can still install BINARY packages in gentoo (e.g. the Gentoo Stage 3 install is a fully runnable gentoo system that's entirely prebuilt). You can easilly follow your methodology of compiling and testing on dev machines and then installing those binary builds on all the compatible hardware on your network. So, leave your FUD at the door and stop trying to scare people away from Gentoo.

    7. Re:Cyrus IMAP for sure.. by auferstehung · · Score: 2, Interesting

      First rule of being a sysadmin: You NEVER put a compiler on a production server. Ever. All software (including updates) is compiled and tested on a dev machine (preferably on a disconnected network), then moved to the production machine once you're satisfied that it won't break anything. This pretty much precludes Gentoo.

      True. True. False. It is relatively easy to build and package on your Gentoo dev machine and then merge to your production servers.

      Stability is not measured in point releases. Stability is measured by testing. As in you testing, in your configuration.

      So why not take it to the next step and apply your patches, enable your config flags, do your compiling, what you said.

      Pat doesn't include anything he hasn't tested.

      This seems to contradict your point #2, or is Pat considered your testing. All the Gentoo naysayers loath the clueless newbie Gentoo cheerleading, but then mindlessly parrot back those same statements as evidence of its weakness. Gentoo is a very powerful concept in *skilled* hands. You never hear the same b*tching about *BSD ports.

      What distibution do you recommend for this

      Since the asker of the question does not seem to be skilled in linux, I would recommend going with an *appliance* distribution, i.e. one where all the choices have been made for you and the configuration required is minimal. Netmax is an example of such an appliance distribution based on RedHat, but I am sure you could find others that are better, cheaper (free), or based on other distributions.

      --
      Logic is not Divine.
    8. Re:Cyrus IMAP for sure.. by elp · · Score: 1

      I've worked a lot with cyrus, courier, and WU-Imap.

      Wu -- Simple and easy to install, but slow and minimal features

      Cyrus -- Definitly the fastest, but a pain to configure and I found that the user databases got corrupted very easily. This would result in users being able to see messages but not download them.

      Courier -- Definitly my favourite, its almost as fast as cyrus, has tons of features and really scales, the customers I have using it typically have a few hundred accounts on midrange P3/IDE machines.

      Setup is a bit complicated, but I have the users details stored in a mysql database, multiple virtual domains on a box, and the delivery of the messages is handled by exim, again using mysql for the delivery details. Because each message is stored in a separate file, it is easy track down and remove problem messages accross an entire domain. It also makes it pretty bullet proof.

    9. Re:Cyrus IMAP for sure.. by Dom2 · · Score: 1
      No, the first rule of being a sysadmin is "always ask for their username".
      clickety-click
      No, I can't see any problems with your files...

      -Dom

    10. Re:Cyrus IMAP for sure.. by bahamat · · Score: 1

      Please, please, please tell me how this saves any trouble at all? I challenge you to come up with a scenario where the simple fact that a compiler is not installed on a server somehow hinders the ability of a cracker, script kiddie or even just a determined end-user to install/run any software they want on a server

      The Morris worm was able to mutate acrost all hardware archs because it uploaded source code and compiled it.

      If there's a sufficiently large hole in a sufficiently distributed product (sendmail, bind, apache, etc.) a source code worm can wreck havoc on the entire UNIX world (Linux, Sun, Irix, whatever) regardless of hardware platform. Of course, a lack of compiler would put an end to that real fast. Say what you will about Robert Morris, but he was ingeniously clever (though not without fault).

      Security isn't one layer. It's as many layers as you can possibly come up with. That's why you don't give away shell accounts on your production web server to the public because they can't write to the web files anyway, right?

    11. Re:Cyrus IMAP for sure.. by eugene+ts+wong · · Score: 1
      The Morris worm was able to mutate acrost all hardware archs because it uploaded source code and compiled it.
      That is unbelievable. You sound very knowledgable. I appreciate your help.

      I must ask, though, wouldn't Gentoo be immune from this specific problem, now that they no longer require that you install by compiling? I think that the question has already been answered, but I want to just confirm from you that there isn't another outstanding [correct terminology] issue.

      The whole reason that I want to use Gentoo is the ease of install & upgrading. I had a few bad problems with RH.
    12. Re:Cyrus IMAP for sure.. by thing12 · · Score: 1
      The Morris worm was able to mutate acrost all hardware archs because it uploaded source code and compiled it. If there's a sufficiently large hole in a sufficiently distributed product (sendmail, bind, apache, etc.) a source code worm can wreck havoc on the entire UNIX world (Linux, Sun, Irix, whatever) regardless of hardware platform. Of course, a lack of compiler would put an end to that real fast.

      Sure, a well written worm will take advantage of whatever is installed on a server to propagate itself - whether that be cc, perl, python, ruby, sh/sed/awk, etc... and a well written worm would also have the ability to determine its hardware platform and download a compiler and any other required packages from a public mirror and do whatever the next step would be to distribute itself further.

    13. Re:Cyrus IMAP for sure.. by Tor · · Score: 2, Interesting
      The whole reason that I want to use Gentoo is the ease of install & upgrading. I had a few bad problems with RH.


      This is actually a very good argument for installing Debian. All the software we have been talking about in this discussion (QMail, Sendmail, Postfix, Exim, Procmail, UW-IMAP, Courier-*, Cyrus, ...) are readily installable as Debian packages. Dependency + Conflict resolution is automatic. Updates are a breeze ("apt-get dist-update"). Stability is exceptional (very nicely tailored to production envionments). Compilers (like any other software) are optional.

      Debian is (one of?) the largest free software efforts in the world - some 700+ volunteer developers. Various slashdot polls shows it as the #2 distribution in number of users (behind RedHat) among Slashdot readers.

      All Debian-packaged software follows a strict policy (on everything from file hierarchy/locations to configurability).

      It may not be the quickest/easiest distribution to install (yet!) but once you are done, you won't regret it.

      I migrated to Debian (after SLS, Slackware, RedHat, SuSE) some 5+ years ago. I have never since set up a non-Debian Linux system.

      All that said, I have never tried Gentoo. However, it sounds (from this and other discussions) as if it is also a very thought-through distribution - I'll perhaps try it out someday.

      -tor
    14. Re:Cyrus IMAP for sure.. by jonadab · · Score: 1

      > I have to agree with the 'no gentoo on servers'.

      I would qualify that a bit more: no gentoo on mission-critical
      production servers seems like a good rule of thumb.

      I'm currently in the process of getting a gentoo server ready to
      colocate, but the purpose of this system is to provide a server I
      can *experiment* on (for learning purposes). I do intend to put
      some real content on it, of course, but nothing that will cause
      the world to end if it becomes unavailable for a couple of weeks.
      Because, I intend to use this server for things like...

      * trying out new versions of Apache that I'm not sufficiently
      confident to put on the cgi server at work

      * trying out other server technologies that I don't have a need
      for at work, but want to get familiar with

      * testing out server code that I write myself in Perl. (Have
      desire to write my own mailserver software? Check. Intend
      to put it on a production server right away? Heckno.)

      Gentoo is an excellent choice for this sort of thing, IMO.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    15. Re:Cyrus IMAP for sure.. by jonadab · · Score: 1

      > No, I can't see any problems with your files...

      Files? You have files? Where? No, I think you must have been
      imagining them, because there obviously aren't any there.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    16. Re:Cyrus IMAP for sure.. by Anonymous Coward · · Score: 0

      So insted of writing the next worm in C or C++, I'll write it in perl.

      Really, any worm you can write in C or C++, can be just as easily written in perl.

    17. Re:Cyrus IMAP for sure.. by Troed · · Score: 1

      If there's a sufficiently large hole in a sufficiently distributed product (sendmail, bind, apache, etc.)

      There is - iDEFENSE Security Advisory 09.10.03: Two Exploitable Overflows in PINE

    18. Re:Cyrus IMAP for sure.. by slashdot_commentator · · Score: 1

      Any properly designed, high-availability system will not allow components to be modified on what are deemed "production" servers. Any such modifications are supposed to take place on "non-development" servers (whether you call them development or QA servers). Then (after testing) you move the modified binaries into the production server.

      This rule is part of a management philosophy that is used to discourage modification of "production" systems without it having been documented and tested before putting it on a machine where an coding error can cost you millions of dollars. This also helps to avoid discovering that the source code does not correspond to the binaries on your production server because some lazy, idiot programmer compiled the changes on the production server and now isn't working at your company anymore.

      There is NO reason to install a compiler on a "production" machine under such a regimen. None of the components to the application are supposed to be created or compiled on such a machine. Making such a compiler available to users on such a machine only demonstrates the system designer or management have no clue as to how to implement a reliable system. As for the rhetorical question on adding bash, perl & python, bash is a command shell and is unlikely to be made into a tool that can be used to modify production application components. Perl & python are interpreted languages, and such if the application depended on perl or python, you would have to install them. If/when perl & python can be used to generate binary code, then good system management practices would discourage the placement of perl or python on a "production" server.

      Look, some people think its okay to leave around a loaded gun in the house and letting the kids know its location. I agree, the overwhelming majority will not either touch it, or commit a fatal blunder. But that's not the way the law or megacorporations look at "silly" rules.

      As for gentoo, any overly cautious (AND COMPETENT) system designer/adminstrator is never going to standardize his systems on gentoo. They do not get the QA & support that a commercial distribution like Red Hat or Suse provides. "It works" or "it works fastest" is not an acceptable standard if it ensures only 99.90000 percent reliability.

      --
      There is no America. There is no democracy. There is only IBM and AT&T and DuPont, Dow, General Electric, and Exxon
    19. Re:Cyrus IMAP for sure.. by Jonner · · Score: 1
      If/when perl & python can be used to generate binary code, then good system management practices would discourage the placement of perl or python on a "production" server.

      You're absolutely right. We all know that binary code is much more concrete than source. I mean, what can a Perl or Python program do anyway? It's not as if it could write to a filesystem, send signals to processes, or listen for network connections.

      We could learn a thing or two from the wise folks at Microsoft who were careful never to require or encourage compilers on production systems. They've been able to avoid all those remotely compiled exploits that have plagued Apache for years. Imagine what damage could be done if say, an email client were able to compile some malicious code it got from the network.
    20. Re:Cyrus IMAP for sure.. by slashdot_commentator · · Score: 1

      You're absolutely right. We all know that binary code is much more concrete than source. I mean, what can a Perl or Python program do anyway? It's not as if it could write to a filesystem, send signals to processes, or listen for network connections.

      Look, any company that wants the convenience of having perl on its machine will have to deal with the consequences of it. Many places will try to limit the ability of perl to do anything for the user by chrooting it, only make it accessible to privileged processes, etc. Abiding by design constraints is just like abiding security constraints. They are not there to make life easier, and making life easier make less pleasant things possible.

      Restricting production systems to compiled binaries does not mean the application is secure, anymore than adding a firewall means a network is secure. No compiler makes it harder to introduce security holes, BUT THE REAL REASON is to discourage undocumented kludges and prevent changes to a reliable system without testing those changes.

      The only question here is whether your post was a lame attempt at karma whoring, or you're really too dense to understand how a regimented procedure to introduce changes to an application server improves the likelihood of reliablity.

      --
      There is no America. There is no democracy. There is only IBM and AT&T and DuPont, Dow, General Electric, and Exxon
    21. Re:Cyrus IMAP for sure.. by Jonner · · Score: 1

      My only goal was to point out how ludicrous it is to claim that a compiler on a production system is unsafe, while Perl and Python are OK. It seems my post had the desired effect. Now, you're emphasizing stability and testing, which I can't fault. You can have a sloppy system without a compiler or a well maintained one with a compiler.

    22. Re:Cyrus IMAP for sure.. by Etyenne · · Score: 1

      What distibution do you recommend for this

      Slackware. Rock solid, as Pat doesn't include anything he hasn't tested. (With the exception of security fixes, Slackware packages are typically 1-2 months behind the bleeding edge, to allow for testing.) If there is software you need that Slackware doesn't include, you can compile it and test it your self (see above), safe in the knowledge that everything else is OK.

      ---

      Yeah, because a package tested for one or two months by a team of, what, three person is guaranteed to be rock-solid. They certainly can figure out all the corner-case and interaction to come out with a 100% bug-free distro !

      This flame is not directed at Slackware in particuliar (which a fine distro by me), but toward your braindead sweeping assumption. Somebody else debunked your stupid compiler argument already so I won't touch this.

      --
      :wq
    23. Re:Cyrus IMAP for sure.. by Etyenne · · Score: 1

      I personnally would *not* recommend Cyrus for his case. Although I am a very satisfied Cyrus user, this guy will go nut trying to configure it.

      Cyrus is nice because of all the bleeding-edge stuff it support (like ACL, Murder, etc) that other don't, but it's a real bitch to configure right. Especially, as been noted, the authentication part (which is very flexible, however).

      Also, virtual domain support in Cyrus is currently in beta (not in production release), which is a pretty major setback of you need it.

      For its shear simplicity, I would recommend running UW-imapd on RedHat. It work out-of-the-box, no configuration required. Beside, maybe, replacing the self-signed SSL certificate if you plan on using IMAPS and configuring xinetd to start it automatically. Just make sure you stay up-to-date with security advisory as the UW network stuff have been plagued by a lot of remote root in the past decade (not surprising, the code is a fscking mess ...).

      eugene ts wong : if you decide to go with Cyrus anyway, you can hire me. I am not cheap, but I am affordable. (and I feel like a hooker now hehe :)

      BTW T-Ranger, I met you in info-cyrus ;-)

      --
      :wq
    24. Re:Cyrus IMAP for sure.. by portscan · · Score: 1

      couldn't you just make a special gcc group (or even make gcc executable by root only). If your someone gets root on your machine, you are totally fucked anyway, so why not let them compile some stuff too?

    25. Re:Cyrus IMAP for sure.. by nbvb · · Score: 1

      There is NO reason to install a compiler on a "production" machine under such a regimen.


      Oh, sorry.

      We try to adhere to the no-compilers-in-production thing where practical, but I really think it's more to keep the programmers from being sloppy than anything else.

      The biggest reason we've had to load it in production was because the developers were seeing a problem in production that they weren't in development, and they wanted to debug it.

      To install DBX means to install Sun's compiler package.

      --DM
    26. Re:Cyrus IMAP for sure.. by slashdot_commentator · · Score: 1

      My only goal was to point out how ludicrous it is to claim that a compiler on a production system is unsafe, while Perl and Python are OK.

      I never claimed that it was OK to have perl or python on a production system. I stated the obvious fact that you cannot run perl without a perl interpreter, but only to make the point that if/when perl can produce compiled binaries, good practices would dictate the removal of the perl interpreter.

      "If its okay to put perl on a production system, its okay to put the compiler on it too?" No, its still not. You remove any opportunity to subvert an operational protocol. You can't recompile changes to c/c++ code if there is no compiler on the machine. (duh)

      Its not about "proving" a system is safe by removing an compiler, its about reducing any possibility to make unauthorized changes to a production system. If a PC has a web browser that can execute applets, its okay to design Outlook to execute applets? NO, that's the whole point.

      It seems my post had the desired effect.

      Yes, you are annoying me with your trollish straw man arguments; claiming I argued something that I didn't.

      Now, you're emphasizing stability and testing, which I can't fault.

      That has always been the crux of my posts. It was what *I* stated in my original post. Learn to read carefully or realize the stupidity of presenting a counter argument to the person who didn't make it.

      You can have a sloppy system without a compiler or a well maintained one with a compiler.

      So what? Having a compiler on your production machine is still an egregious practice. If you faithfully follow a production/development methodology, you don't leave opportunities to subvert it.

      --
      There is no America. There is no democracy. There is only IBM and AT&T and DuPont, Dow, General Electric, and Exxon
    27. Re:Cyrus IMAP for sure.. by Jonner · · Score: 1
      You still have not addressed how a compiler can modify a system in dangerous ways more easily than an interpreter. What can a C or C++ program do that a Perl or Python one can't? Let's revisit the original post:
      As for the rhetorical question on adding bash, perl & python, bash is a command shell and is unlikely to be made into a tool that can be used to modify production application components. Perl & python are interpreted languages, and such if the application depended on perl or python, you would have to install them. If/when perl & python can be used to generate binary code, then good system management practices would discourage the placement of perl or python on a "production" server.

      Bash, Perl, and Python can all be used to generate binary code or any other kind of code. As an example, there's a assembler written in Bash. Even worse, if you can run one of those interpreters on a system, you don't need to generate binary code; you can do all kinds of mischief by sending source straight to the interpreter.

      So, you see I'm not attacking a straw man, I'm pointing out the flaws in your logic.

      By the way, Python is both a compiler and an interpreter. You see those modules in ".py" files? When you import the module, the compiler compiles the source, then writes a file of the same name with an extension of ".pyc" or ".pyo" if it can. You can then remove the source ".py" file and everything will still work. Do the ".pyc" and ".pyo" files have native machine code? No. Does that make them less capable or any less compiled? Not really.
    28. Re:Cyrus IMAP for sure.. by slashdot_commentator · · Score: 1

      So, you see I'm not attacking a straw man, I'm pointing out the flaws in your logic.

      Yes, you are presenting a straw man argument. I never said that a compiler was *MORE* dangerous than an interpreter. I never said it was OK to put a perl/python package on a production server. You will need to put in perl on a production server if your application has perl scripts. You DO NOT need to put in a compiler for a production application to run the application. To have a compiler on a production server means its possible to insert modified binaries. Ergo, its a bad practice to install a compiler on a production server. This is the third time I've needed to point out the obvious to you.

      I don't care about what other irrelevancies you choose to bring up. It doesn't matter if bash can be made into an assembler. A compiler language still needs a compiler to produce object code, and that object code cannot be generated on the production server if there is no compiler on the production server. Duh.

      --
      There is no America. There is no democracy. There is only IBM and AT&T and DuPont, Dow, General Electric, and Exxon
    29. Re:Cyrus IMAP for sure.. by Jonner · · Score: 1

      So, why would you put a Perl interpreter on a production server if it's not OK? It seems you're saying that it's acceptible to put a tool on a production server if it's needed (Duh). So, it is acceptible to put a compiler on a production server if it is needed to compile new packages. Yes, you could build them on another machine, but that might be too inconvenient. Just because you don't use a source based operating system doesn't mean it's a bad way to do things.

    30. Re:Cyrus IMAP for sure.. by eugene+ts+wong · · Score: 1
      eugene ts wong : if you decide to go with Cyrus anyway, you can hire me. I am not cheap, but I am affordable. (and I feel like a hooker now hehe :)
      Hi Etyenne.

      Thanks for the offer. I'll have to go through this /. discussion again, & make a list of all the people who have offered. I'll be sure to add you to the list.

      I also would like make a web page to help people to decide what to do, without having to read all 190+ comments. If I manage to do that, I'll add you & the others to the page.
    31. Re:Cyrus IMAP for sure.. by Etyenne · · Score: 1

      You can reach me by email at : eg at linuxquebec dot com. Good luck with your IMAP server installation !

      --
      :wq
    32. Re:Cyrus IMAP for sure.. by thing12 · · Score: 1

      Really what it all boils down to is this: It's best practice to avoid installing any software that is not essential to the operation of a production server, even if that means no c compilers, interpretors, mail/web/ftp/database servers, extraneous libraries, etc... will be available.

      I'm not disagreeing with the fact that security is implemented in layers. Leaving a compiler off a system is a simple way to prevent some amount of problems. But that really depends on your application - taking it to the extreme your application may be a compile farm like sourceforge. You can't really take the compilers off those machines, now can you? And compilers do have uses on production systems - and a competant system administrator knows when it's appropriate and when it isn't to install ANY type of software. My point was really to leave the compiler off, but don't assume that doing it saved you from anything at all.

      The overwhelming fact is that most of the people that install RedHat on a server choose the default for the category of server they're installing. They end up with so much software that they typically don't need and open up security holes that they may not be aware of simply because they don't realize they have the affected packages installed. So to say that RedHat is a better choice because you can pay for support is naive. What's your limitation on liability with that support? Ah yes, the purchase price of the product. And how do you get security updates with RedHat? By either a) paying for the redhat network either with $$ or by periodically filling out a survey for each box you operate or b) updating everything manually when you are informed of a fix. And you get the joy that your servers get to run whichever version of RedHat they were originally installed with. And to upgrade to the latest version of the distribution you have to take the boxes offline for the entire process and hope the upgrade works -- unlike Gentoo and Debian where you can fully upgrade a live system and come out clean on the other side.

      Gentoo, Debian, RedHat, SuSE, etal... all end up with the same quality of software because it's all open source. Bug fixes in one distribution trickle to all the rest. And from what I've seen fixes are much quicker to market in Gentoo than the rest, but as always YMMV. I don't implicitly trust everything that RedHat puts out just because they pay a staff to produce it - and you shouldn't either.

    33. Re:Cyrus IMAP for sure.. by bahamat · · Score: 1

      There is - PINE

      Well, in my experience pine isn't that widely used anymore. Most people who still use term based mail have switched to mutt because it's a violation of the pine license to distribute modified binaries or source. I know a lot of people, and I don't know anyone who uses pine anymore.

      At any rate, the number of pine instances out there is insignificant compared to the number of sendmail, apache or bind installations out there.

    34. Re:Cyrus IMAP for sure.. by bahamat · · Score: 2, Interesting

      I agree with Tor (see above ^^), try Debian.

      While I haven't used Gentoo yet, Debian is the easiest managed Linux system I've used so far (out of about 8 distros). If you can do Gentoo binary only, then I guess the only technical reason left to consider is which one is easier to manage.

      Some reasons for Debian:
      o Stable branch is bulletproof
      o Security updates are thorough and timely (make sure you sign up to debian-security-announce!)
      o apt-get absolutely rocks.

      If gentoo is comparable to debian in those areas, and you're more comfortable with gentoo, then by all means that's better for you. I suggest you at least install debian on a box and play with it for a bit before making your decision though.

    35. Re:Cyrus IMAP for sure.. by lewp · · Score: 1
      Surely there are more important rules than that. How about:
      • Don't give out the root passwords
      • Don't give users more access than they need to do their jobs
      • Disable any unneeded services on a box
      • Terminate staff who implement undocumented changes with extreme prejudice
      I shudder to think of the shape a network must be in when the admins are primarily worried about whether any of the production machines have a compiler on them.
      User: I need an account on all the production boxes to run SETI@Home.
      Admin: I'm too busy tracking down compilers to set that up. Here's the root password, do it yourself.
      Sounds like a blast.
      --
      Game... blouses.
    36. Re:Cyrus IMAP for sure.. by eugene+ts+wong · · Score: 1
      Well, I want to get started as soon as possible, so I'm pretty sure that I'm going to go with Gentoo until further notice. It's what I know best.
      I suggest you at least install debian on a box and play with it for a bit before making your decision though.
      However, I don't want to close all of my options. I might play around with it later as you suggest, to do a comparrison with Gentoo. Debian has all these security features, & Gentoo has all this security documentation, so we'll see. It's all a matter of time. Oddly enough, I just found out that I happen to have an abundance of it.
    37. Re:Cyrus IMAP for sure.. by Piquan · · Score: 1

      First rule of being a sysadmin: You NEVER put a compiler on a production server. Ever.

      My biggest production app will compile and load code changes at runtime. Yes, changes are made on a dev server, but changes are compiled and loaded directly into the running system, to prevent the server going down for more than a second or two (long enough to load in the code once it's been compiled).

    38. Re:Cyrus IMAP for sure.. by bogolisk · · Score: 0

      such a worm won't propagate very quickly because the number of packages it'll have to download.


      $ apt-rdepends gcc-3.3 libc6-dev
      Reading Package Lists... Done
      Building Dependency Tree... Done
      gcc-3.3
      Depends: binutils (>= 2.13.90.0.10)
      Depends: cpp-3.3 (= 2.3.1-1)
      Depends: libgcc1 (>= 1:3.3)
      binutils
      Depends: debconf
      Depends: libc6 (>= 2.3.1-1)
      Depends: shellutils
      debconf
      libc6
      Depends: libdb1-compat
      libdb1-compat
      Depends: libc6 (>= 2.2.5-13)
      shellutils
      cpp-3.3
      Depends: gcc-3.3-base (= 2.3.1-1)
      gcc-3.3-base
      libgcc1
      Depends: libc6 (>= 2.3.1-1)
      libc6-dev
      Depends: libc6 (= 2.3.1-11)


      Not to say it probably has to change the netfilter rules and reboot.

      --
      Bogus
    39. Re:Cyrus IMAP for sure.. by thing12 · · Score: 1
      such a worm won't propagate very quickly because the number of packages it'll have to download.

      Or not... see tiny cc. The compiler comes in at a whopping 80k and it stands all on its own. Combine that with diet-libc and you've basically got the ability to spread a worm across any x86 based unix.

    40. Re:Cyrus IMAP for sure.. by bogolisk · · Score: 0
      bahamat:
      The Morris worm was able to mutate acrost all hardware archs because it uploaded source code and compiled it. If there's a sufficiently large hole in a sufficiently distributed product (sendmail, bind, apache, etc.) a source code worm can wreck havoc on the entire UNIX world (Linux, Sun, Irix, whatever) regardless of hardware platform. Of course, a lack of compiler would put an end to that real fast.


      thing12:
      Or not... see tiny cc. The compiler comes in at a whopping 80k and it stands all on its own. Combine that with diet-libc and you've basically got the ability to spread a worm across any x86 based unix.


      Aren't we talking about source code worm? There's not much a point of writing a x86-only unix source worm. Btw, your x86-unix only source worm would either:
      1. always download from a single server which carries binary tinycc and binary dietlibc.
      2. carry an extensive list of servers which which carries binary tinycc and binary dietlibc.

      Since speed of propagation is the highest goal of any competent worm, neither of the above is acceptable for a worthy worm.

      --
      --
      Bogus
    41. Re:Cyrus IMAP for sure.. by KrispyKringle · · Score: 1
      You know, a machine that I now administer was broken into prior to my taking over by some Russian spammer. He exploited some picture gallery software a user had installed and not updated (stupid of us to not use su-exec or chroot Apache, admittedly) and uploaded a Perl-based SMTP server to send millions of porn spams. We have a compiler on that machine for the users, but he didn't even use it. Seems Perl was the weapon of choice.

      Sure, security is multi-layered, but so is usefulness. This attack could have been prevented by removing user access to gcc, Perl, Python, bash, etc, or it could have been prevented by using chroot or su-exec and making sure our users didn't do anything stupid with their webspace. I find the latter to be a bit more in-keeping with our general attitudes of enhancing security in order to provide more usefullness rather than less.

    42. Re:Cyrus IMAP for sure.. by yuri+benjamin · · Score: 1

      The Morris worm was able to mutate acrost all hardware archs because it uploaded source code and compiled it.

      That is unbelievable. You sound very knowledgable. I appreciate your help.


      Believe it. It used bugs in sendmail and fingerd to send a stream of data to a shell, which compiled a small c program using the local 'cc' command.
      This is well documented. Google for "morris worm" and read all about it.

      I must ask, though, wouldn't Gentoo be immune from this specific problem, now that they no longer require that you install by compiling?

      One of the reasons many people use gentoo is because you can set compile flags optimised for your system in a config file, and everything you install is therefore optimised for your system.
      Recently the have added binary installation options, but this kinda negates the optimisation advantage that made gentoo popular in the first place.

      --
      You make the mistake of thinking you can educate the fundamental stupidity out of people. You can't.
  4. Don't by Anonymous Coward · · Score: 5, Insightful

    Don't do it. Outsource it to a datacenter. There's absolutely zero reason for you to do this yourself. The correct answer is to pay a service provider a small fee to take care of the servers, the backups, the security, the maintenance, and all of that bullshit for you.

    Don't.

    1. Re:Don't by eugene+ts+wong · · Score: 1

      Based on what you have seen from me, do I have enough to start shopping around, or should I still find stuff to read?

    2. Re:Don't by secolactico · · Score: 1

      Agreed. By the poster's admission, "they" (I guess he means his company) are not knowledgeable on email, so I'd suggest outcourcing or buying a turn-key solution. Myself, I'm partial to Communigate Pro, but even then you need some knowledge (DNS MX records and such).

      Production email is far too important in a business to start experimenting.

      If, on the other hand, you can afford to experiment (maybe with a secondary domain), the easiest installation of Courier IMAP I did was on FreeBSD. There was a webmin module for it, but it was nowhere near ready when I tried it so I dropped it.

      --
      No sig
    3. Re:Don't by eugene+ts+wong · · Score: 1
      Myself, I'm partial to Communigate Pro, but even then you need some knowledge (DNS MX records and such).
      I feel relatively comfortable with DNS MX records & such. From my readings, I think that I can set up a set of records myself. I still have no real experience. Would this be enough to communicate with Communigate Pro, or should I keep reading? Is layman's English enough to talk about DNS MX records?
    4. Re:Don't by Anonymous Coward · · Score: 0

      If anything, you already know too much.

      You don't need to know any more about your business's email service than you need to know about your phone service or your electricity or your water pipes. The fact that it's there, plus a basic knowledge of how to describe problems to your service provider when they occur, is all you need.

      Just find a service provider and be done with it.

    5. Re:Don't by secolactico · · Score: 1

      Take a look at this. It is the step by step installation guide of Communigate. It usually takes less than 10 minutes to do the initial install, after that the software itself comes with a very easy to use web interface (altho a bit cluttered) and has the added bonus of having it's own webmail interface, IMAP/POP/SMTP/Virtual Domains support and is available for almost any flavor of Unix you can think of. I have tested it on Solaris (Sparc) and Redhat Linux.

      It also supports clustered installs, antivirus/anti-spamming plugins and LDAP. I haven't tested those yet.

      As for DNS, most of the real problems I've had with DNS concern the software itself (such as, Bind refusing to listen on a given interface, etc) but the config of the domains themselves are quite simple if you are not attempting anything fancy. I can't really give you much advice on the subject.

      You should download the trial version of the software and try it out for yourself. It is fully functional, except that it adds a tagline to every message that passes thru it.

      The downside is that the license is mailbox based so, depending on how many you need, it might get expensive.

      --
      No sig
    6. Re:Don't by Anonymous Coward · · Score: 0

      Once you see how cheap email outsourcing is, you'll kick yourself for wasting as much time as you have on this project. You can probably get by for $50/month.

      If you want to learn mail/gentoo/dns/etc, that'd be a good project for your home DSL line. Don't fuck around at work unless you have to.

    7. Re:Don't by curunir · · Score: 1

      That's my solution.

      I've never really gone the "do it yourself" route, but I can definitely recommend my current solution. I host my mail with Critical Path (disclaimer: I'm a former employee, so I don't exactly pay for the service).

      Besides them handling all maintenance and keeping the service up 24/7, there's IMAP, POP and webmail access. Account provisioning is easy through their web admin interface or through an API. And they've got all sorts of feature I don't really need for my personal email (LDAP, etc), but might interest other folks.

      --
      "Don't blame me, I voted for Kodos!"
  5. Courier is Great by JLester · · Score: 3, Informative

    We've been using Courier for a couple of years now. We run several thousand users through it using Courier's POP3 and IMAP servers, Squirrelmail, and LDAP integration for all the user accounts. We've never had a single problem with it.

    Jason

    --
    "FORMAT C:" - Kills bugs dead!
    1. Re:Courier is Great by Rheingold · · Score: 1

      Read up on this thread.

      --
      Wil
      wiki
    2. Re:Courier is Great by uradu · · Score: 1

      And his opinion wouldn't by any chance be tainted by his connection to UW-IMAP? A server which is pretty much worthless for any sort of scalability?

    3. Re:Courier is Great by Rheingold · · Score: 1

      Did you read the thread the whole way through, or did you just click and flame? I'd say he's probably tainted by being one of the principle authors of the RFCs; that's irrelevant anway. What you were supposed to find is Mr. Sam's brazen attitude towards the IMAP standards.

      --
      Wil
      wiki
    4. Re:Courier is Great by wmshub · · Score: 2, Insightful

      I've been using courier for about 4 years now. Works great, very easy to set up, supports maildir so I've used it with both qmail and postfix, works well with both.

      The only problem I had is mentioned by another person in this thread - it treats "}" as a needs-to-be-quoted char, which is incorrect. That means that if you have a "}" in your password (as I did at one time), and your mail client only quotes when needed (as the newer evolutions do), you won't be able to log in. I submitted a 1-line patch for this to the Courier mailing list, which the courier author reads. A couple months later, still it wasn't applied.

      So I guess, I'm happy with its performance, and very happy with its ease of use. As another person in the thread says, it does have compliance issues with the IMAP standard, and the author doesn't seem to care, so if I had the time to set up something more complex like Cyrus I probable wouldn't use it.

    5. Re:Courier is Great by JLester · · Score: 1

      We have lots of different clients accessing our server and have never run into any problem like that. It may indeed do that, but it hasn't affected our use of it in any way. Even Outlook works great with it, which was surprising.

      Jason

      --
      "FORMAT C:" - Kills bugs dead!
    6. Re:Courier is Great by uradu · · Score: 1

      > Did you read the thread the whole way through, or did you just click and flame?

      What thread? I went and read the entire piece you linked to, then went and did some research on his connection to the UW-IMAP project, then did some searching on anything he ever has to say on anything that's not UW-IMAP. Basically, his code IS IMAP, anything else is crap. Never mind that other servers have some bugs in their implementation of his protocol. What about the glaring fact that HIS server chokes once you have more than a couple of mails in a folder, because they're ALL in one file? Even with the latests storage changes it's still slow as ass. Or that his folders can't contain both folders and mail?

      Incidentally, how exactly was my post a flame? I stated two facts:

      1. He is connected to UW-IMAP: true
      2. UW-IMAP doesn't scale well: true

      Where's the flame?

    7. Re:Courier is Great by Anonymous Coward · · Score: 0

      For a HOWTO on a similar setup that also includes a webapp to help with administration, check out http://jamm.sourceforget.net/

      Yes, I am blowing my own horn here, so I've posted anon to not be a karma whore.

    8. Re:Courier is Great by eugene+ts+wong · · Score: 1
      For a HOWTO on a similar setup that also includes a webapp to help with administration, check out http://jamm.sourceforget.net/
      Thanks. I'll need all the tools that I can get.
  6. Administration tools by amorsen · · Score: 1

    The big problem that I have with Cyrus is that account administration is a pain in the butt. It would be really nice to be able to give someone a web-based tool to create accounts and change passwords.

    --
    Finally! A year of moderation! Ready for 2019?
    1. Re:Administration tools by T-Ranger · · Score: 3, Informative

      Cyrus dosent bother its self with either accounts or passwords: there the job of something else. Specificly whatever you configure the SASL library to use. The only thing special you need to do to allow mail access for you existing user database is to create them a mailbox.

    2. Re:Administration tools by Rheingold · · Score: 1

      There is a pretty passable Webmin module that will let you create mailboxes. I usually use system accounts, so managing accounts and passwords is done through the normal channels.

      --
      Wil
      wiki
  7. QMail + Courier + Maildir by demmegod · · Score: 4, Informative

    The real issue is the mailbox format. It is possible to run more than one imap daemon. Your choices are Maildir, Maildir and Maildir. There are others, but Maildir is really the best. Most IMAP, servers, however, require a patch to use Maildir. Courier was built with Maildir natively. I've now been running Courier for 6months and it's the best IMAP daemon I've ever ran.

    You'll also need an SMTP server, which you didn't mention. Qmail, in my humble opinion, is the only solution out there. I found setup to be a little more complex than I felt necessary, but since I set it up, there hasn't been a hiccup. It easily allows you to instert ANYTHING into the chain the mail follows, so it extremely configurable.

    Don't even bother looking at anything but QMail and Courier-IMAP.

    1. Re:QMail + Courier + Maildir by eugene+ts+wong · · Score: 1

      I was planning to use Postfix or Exim. I remember trying to get qmail working, & couldn't do it. That was with a totally different distribution, & that was my fault, but it didn't seem to be worth my time. After all the complaints that I read on the Internet, I decided to forget about qmail.

      How many users do you serve with qmail?

    2. Re:QMail + Courier + Maildir by Anonymous Coward · · Score: 0

      I whole heartedly disagree .. qmail+pop3 for a while with Maildir were in use at my job when i got there ... I couldn't take it anymore ... as soon as i got free time

      I will recommend Postfix + Courier + Maildir. Now that is a fantastic combination

    3. Re:QMail + Courier + Maildir by demmegod · · Score: 1

      I run QMail on my house network, so just me there. I also do the IT work for a small company, so it serves about 6 people there. I don't have any experience with Postfix, so I won't knock it. Yeah, QMail wasn't easy to set up, but I think it's worth the trouble.

    4. Re:QMail + Courier + Maildir by Sevn · · Score: 1

      You beat me to it. That's exactly what I use for my customers now. No more qmail for me. Postfix is absolute love for the independant contractor.

      --
      For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
    5. Re:QMail + Courier + Maildir by i_am_nitrogen · · Score: 1

      Postfix was easy enough for me to set up for myself under Mandrake. I'm going to be moving my server over to Gentoo sooner or later. I didn't manage to get pop-before-smtp working though, mostly because I didn't try too hard. I'm content to ssh into my server for e-mail access when I'm on the road. As for IMAP I've never done it so I can't say. I personally use mbox for my mailbox format on the server, and Maildir with my e-mail client (Kmail). Maildir's probably best for a setup with folders.

    6. Re:QMail + Courier + Maildir by Electrum · · Score: 1

      How many users do you serve with qmail?

      qmail can handle millions of users. Many large sites run qmail. Hotmail used to run on qmail. Yahoo! uses it for their outgoing mail.

    7. Re:QMail + Courier + Maildir by Electrum · · Score: 1

      Oops, the last link is outdated. Try this one: http://www.inter7.com/qwho.html

    8. Re:QMail + Courier + Maildir by Ringlord · · Score: 2, Informative

      Postfix works great with Courier and Maildir. I use both with virtual maps, and user/password authentication in MySQL.

      It was pretty easy to set up and there has never been a problem with it. I run Cyrus on another server, but the installation with SASL can really be a pain in the ass!

      Cyrus has got one great thing, and that is it's integration with the Sieve filtering language. Once you start using server side filters with IMAP, you will wonder however you managed without!

    9. Re:QMail + Courier + Maildir by weave · · Score: 1

      You can use different mailbox format with uw-imap. We use "mbx" which works just fine with more than one imap process accessing a folder. Multiple access is only a problem with "unix" format folders and that format is only there to be compatible with other mail tools if needed. Unless your uses want to run elm or something like that, no worries.

  8. Cyrus IMAP by BrookHarty · · Score: 1

    I'm using Cyrus on a Mandrake box for my home, comes with the mandrake distro, easy to setup, and the entire family can use it. Just using fetchmail to pop accounts, and imap to serve it. Then turn on Spam Assassian, and your set.

    Only problem I have, is Cyrus IMAP doesnt delete folders. Works with outlook express and thunderbird/mozilla.

    1. Re:Cyrus IMAP by eugene+ts+wong · · Score: 1

      You say that it is for your home.

      What kinds of security issues did you have to deal with?

      What kinds of expertise did you have [computer science degree?]?

      How long did it take you?

    2. Re:Cyrus IMAP by BrookHarty · · Score: 1

      You say that it is for your home.
      What kinds of security issues did you have to deal with?
      What kinds of expertise did you have [computer science degree?]?
      How long did it take you?


      I'd say if you can recompile a kernel and read the man pages, cyrus imap is easy enough. For security, its a linux box behind a firewall, with tcpwrappers, ssh and tripwire. About as much security as I'm doing for a home box. Mandrake comes with most stuff installed by default, so you can have it up in about an hour. Fetchmail is a 5 minute google howto search.

      My expertise might be a little overkill for this, started a couple ISPs, and I run the GPRS/UTMS core for a telco.

    3. Re:Cyrus IMAP by Leknor · · Score: 1

      I work for UF and we use Cyrus IMAP and have been for a while. Cyrus really is an impressive server. A year ago we were serving 90,000 accounts from one server. Each account has a 25 meg quota so do the math on how much disk it could have been, thankfully we only actually needed about 1/3 of that disk space. It was a BIG server and it did get sluggish during peak usage times but other wise it was solid. We did have problems but most of them were attributable to AIX.

      Anyway, we now run Cyrus in a murder cluster configuration which lets us distribute mailboxes across a bunch of backends and move them around as needed. It's proving to be quite a solid setup.

      If you need big time scalability then go Cyrus, otherwise I'm sure other servers will do just well.

      I have one comment on PHP based webmails and that is they are not very friendly to your mail server. Each and every page view they build and close an IMAP connection which does a lot of redundant work and unneeded load. (The same goes for perl based webmails.) This isn't an issue with most sites but for an organization with lots of webmail users this will be a problem. Recently the last PHP based webmail on UF was taken down. When the primary campus webmail switched to a Java Servlet based webmail that kept persistent connections around between page views our ability to serve more users concurrently increased noticeably. <plug>We've developed GatorMail because there weren't any acceptable solutions at the time. Unfortunately GatorMail is not third party friendly (it's tightly coupled to our setup) so unless you can dedicate a servlet programmer to decoupling it you probably won't be able to install it.</plug> I think a lot of work has been done to JWMA since we started GatorMail so it may be much improved since we last looked at it.

    4. Re:Cyrus IMAP by DA-MAN · · Score: 1

      Actually, not to nitpick but it's UW-IMAP, as in University of Washington, the makers of pico.

      WU == Washington University, as in the makers of the dangerously buggy ftp server. I'd never use code from that place to run as root personally.......

      --
      Can I get an eye poke?
      Dog House Forum
  9. Re:Don't - or maybe Do by MerlynEmrys67 · · Score: 1
    Hmmmm... maybe, maybe not.

    Make a list of requirements on reliability, service, and self determination that you need. From there look and see if any datacenter can supply that for you. If so, sure do it, if not... many times the right thing to do is to do it yourself. I run my own mail server for myself because I have found I can be much more reliable than my ISP on providing e-mail service - plus I like the ability to have a 1 Gbit connection to my mail server to download the mail from the spool extra fast... beats the hell out of my 768/128 up DSL connection any day.

    That said, if my mail server is off the internet for a day - I don't care or panic, I just fix it when I need too.

    --
    I have mod points and I am not afraid to use them
  10. From someone actually using Gentoo in production by Sevn · · Score: 4, Informative

    Don't listen to the people that assume it's a bear in production. It makes life so much easier. First of all, here is everything you will need to get a courier-imap server up and running with SSL and Postfix and MySQL and Mailmail and Squirrelmail.

    Virtual Mailhosting System Guide

    I can vouch for this system because I did it and use it. Works wonderfully. The client had no use for Mailman, so I didn't install it. The client also only had 4 company domains he was concerned with, so he isn't taking full advantage of the virtual hosting aspect of the system. Smart choice going with Gentoo. Keeping the machine up to date is so easy, the client is doing it. Just a small bombshell to avoid, don't use Reiserfs unless you don't want to support quotas. This customer had a need for quota on the same server and I had to go through hell tracking down the patches for Reiser quota and getting them installed. Chris Mason was VERY helpful when I had problems. THANKS CHRIS!

    --
    For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
  11. When stability is a must by Curien · · Score: 2, Informative

    Nothing, and I mean nothing beats Debian where Linux is concerned. Or you could go the BSD route.

    Gentoo isn't a contender because it is meant as a bleeding-edge desktop platform. It focuses on features and speed, not security and stability.

    --
    It's always a long day... 86400 doesn't fit into a short.
    1. Re:When stability is a must by Karrots · · Score: 1

      There is the Gentoo Hardened project.

      http://www.gentoo.org/proj/en/hardened/

      Just putting it out there for those who don't know.

    2. Re:When stability is a must by eugene+ts+wong · · Score: 1

      Thanks! I really appreciate knowing about it.

  12. Managing Imap by newfoundry · · Score: 4, Informative

    Needing answers to the same question, yesterday i bought a copy of this book: Managing Imap Perhaps you should get hold of it too. It covers the whole IMAP thing and Cyrus and UW in detail. If you are not worried about using proprietary s/w, and want something easy to set up for testing, have a look at Communigate. This is a complete mailserver solution, very quick to install set up configure, has an IMAP module and lots more. A licence costs $$ but the free version is identical save for a 1-line- text advert appended to outgoing emails. (Linux versions available, don't know how it would fit with Gentoo though)

    1. Re:Managing Imap by Etyenne · · Score: 1

      "Managing IMAP" Cyrus discussion was based on the 1.5.x serie, which is long outdated (Cyrus is currently in the 2.1.x stable serie). As far as Cyrus is concerned, this book is outdated. And the example scripts where in TCL ... yuck !

      For an explanation of IMAP, it is fine though.

      --
      :wq
  13. Re:Avoid Apache by Sevn · · Score: 2, Informative

    Hmmm. Sounds like you need to type:

    man ulimit

    You could also perhaps look at some of your resource settings in your httpd.conf. Try reading a book about apache. There are a few good ones.

    --
    For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
  14. Re:From someone actually using Gentoo in productio by eugene+ts+wong · · Score: 1

    I'll go & read the documentation right now, but I have to ask, do you have a computer science degree, or any other expertise that made it easy to read the documentation?

  15. Contract this out by acaird · · Score: 1
    "email isn't our forte" + "company is planning on taking care of its own email, by setting up our own server" !?!?

    Don't do this. Pick whatever platform you use and can support, look for someone you can pay to do this, document it, and turn it over to you with instructions for maintainance and upgrading. Email isn't always simple, and these days doing it right (IMAP, anti-spam, security, etc.) can be quite a trick. Learning about email is great, but experimenting on your company is not a good long-term employment stratagy.

    In any case, good luck, mail is cool.

    --
    Power corrupts. PowerPoint corrupts absolutely. E. Tufte
  16. Question Regarding the Page by eugene+ts+wong · · Score: 2, Insightful
    Code listing 3.2: Courier-imap configuration

    # cd /etc/courier-imap // If you want to use the ssl capabilities of courier-imap or pop3, // you'll need to create certs for this purpose. // This step is recommended. If you do not want to use ssl, skip this step.
    # nano -w pop3d.cnf
    # nano -w imapd.cnf // Change the C, ST, L, CN, and email parameters to match your server.
    # mkpop3dcert
    # mkimapdcert
    This is a perfect example of what I'm having difficulties with. I don't understand what to do when he says, "Change the C, ST, L, CN, and email parameters to match your server.". That is why I'm really wondering if I should try to pursue this any longer, or just get a professional from here on. Comments? Suggestions?
    1. Re:Question Regarding the Page by Sevn · · Score: 1

      :)

      The C,ST,L, and CN variables are in the file. Just jump in. Once you look at the file, it will become painfully obvious that those are variables for your city, state, and whatnot. I think they have Newyork, NY in there already as an example and you just have to overwrite their example.

      --
      For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
  17. Not quite by Sevn · · Score: 4, Informative

    Gentoo's focus seems to be doing everything better. Speed, security, and stability. You HAVE the option of installing bleeding edge crap or stable crap with one setting in your make.conf. I'm now up to 20 Gentoo machines I support and I'm truly starting to consider it the equal of the FreeBSD machines I have in place. Most recently I had to pick an OS for new hardware. The hardware is dual processors ServerWorks chipset 1U's with a gig of ram. I could not get DMA working with FreeBSD using the Serverworks IDE controller on drives. Gentoo worked fine and supported DMA just fine with the latest kernel. In fact, I have had zero problems to date with any of the Gentoo boxes I have set up and they are pretty much running close to the redline 24/7. Of course, that's actual real world experience and not speculation.

    --
    For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
    1. Re:Not quite by Curien · · Score: 2, Insightful

      Do they backport security fixes to stable code trees? Or do you have to install new (possibly unstable) versions of packages to fix newly-discovered vulnerabilities?

      --
      It's always a long day... 86400 doesn't fit into a short.
    2. Re:Not quite by i_am_nitrogen · · Score: 1

      There are frequently updates to a particular version, which can be patches, build improvements, etc. Before anything is marked stable it gets tested by at least a few people (certainly not as rigorously as the ancient Debian stable, but sufficient for most people). There will frequently be something like a (random theoretical example) 1.5.2 version of something marked with the ~arch keyword (~x86, ~ppc, etc mean unstable), and a 1.4.7 version that as -r1, -r2, -r3, -r4, -r5, and so on, all apparently either better patches or improvements to the build.

      At any rate, even if you have to install SRPMS from other vendors to get backported security fixes, it's really easy to get going. Writing your own ebuilds is easier than making your own SRPMS. For simple packages you can basically just copy an existing ebuild to a new file, rename it with the name and version of your package, and edit the home page variable within the ebuild.

      Gentoo might not work out for you, but it is most definitely worth looking at. With binary packages also now available, it's possible to avoid the long compile times for most of the software, and only compile stuff you need to tweak.

  18. UW-IMAPD by blate · · Score: 4, Informative

    I've been running uw-imapd on a FreeBSD 5.0 system, along with sendmail (latest and greatest) for about the last 1.5 years with zero problems. Depending on the size of your company, this may or may not be a good solution. Please bear in mind that this is my personal mail server -- it serves exactly one account.

    Plusses:

    o Absolutely dirty simple to set up -- no config files, no settings, just dump the port on, add a line to /etc/inetd.conf, and you're good to go
    o Resonably secure; supports SSL
    o Also supports POP3 and POP3 over SSL

    Minuses:

    o Each account needs a corresponding user on the system (you can, however, block login, I believe, to those users, such that they can not actually log into the system
    o Administration requires adding accounts on the system and FS-level quotas (if you care)
    o No fancy options or web/GUI's -- for me this is a plus, but it depends on how fancy your setup needs to be.

    I've heard very good things about both Courier and Cyrrus but decided against them for my own use for a variety of reasons (mostly complexity).

    Depending on your group size, uw-imapd may or may not be the right choice for you. Personally, however, I'd recommend running your mail server on an honest-to-god production-grade OS, like Free/Open BSD or a good Linux distro. And put it behind a good firewall. Gentoo is pretty cool, but mail MUST ALWAYS work, and to me that means running a production-quality, bullet-proof OS.

    1. Re:UW-IMAPD by Rheingold · · Score: 1

      No, it's not reasonably secure. It's wide-ass open; there have been a good many exploits for it.

      --
      Wil
      wiki
    2. Re:UW-IMAPD by blate · · Score: 1

      For the current version/patch-level? Really?

      Honestly, I wasn't aware of that... I'm somewhat scandalized that there isn't a big warning banner in the ports collection about that (they usually make you jump through hoops before installing patently insecure software).

      Can you point us to some more informatiion regarding exploits for the most recent version of uw-imapd?

      Thanks :)

    3. Re:UW-IMAPD by Rheingold · · Score: 1

      There hasn't been one in a while and it's not as if they don't fix bugs when they come out; but the code quality is generally considered to be quite low and not done with security in mind.

      --
      Wil
      wiki
    4. Re:UW-IMAPD by Phleg · · Score: 1

      Each account needs a corresponding user on the system (you can, however, block login, I believe, to those users, such that they can not actually log into the system

      Why do people always say this? Isn't this why we created PAM? AFAIK, uw-imapd supports PAM fully, and will rely on whatever modules are in the chain. If you don't want to require user accounts for mail on the box, use another method of authentication--possibly exporting the users via LDAP, and using pam_ldap. But that's just one of a number of ways.

      --
      No comment.
    5. Re:UW-IMAPD by Oddly_Drac · · Score: 1

      "FreeBSD 5.0 system"

      "means running a production-quality, bullet-proof OS"

      Totally, honeybunch, whch is why you should maybe have pointed out that you're running an unstable version of FreeBSD at the moment. The 5.x branch isn't going to have a stable until 5.2...

      --
      Oddly Draconis
      Too cynical to live, too stubborn to die.
    6. Re:UW-IMAPD by Gudlyf · · Score: 1
      Dear God, man. "wide-ass open" and "there hasn't been [an exploit] in a while" is quite a range to jump from. Don't go scaring the piss out UW-IMAPD users into thinking they've missed some glaring bugs that even RedHat has refused to patch (they distribute UW-imap with their distro), when you don't seem to have any grounds for saying so.

      Someone mark that bozo's post as "Flamebait", please.

      --
      Trolls lurk everywhere. Mod them down.
    7. Re:UW-IMAPD by Rheingold · · Score: 1

      You're right; I was a bit extreme. How about "sitting duck" then? There haven't been any published exploits in a couple of years. But it has such a horrible security record (check Bugtraq if you don't believe me) that no one I know who's remotely security-conscious will run it. Read the code.

      --
      Wil
      wiki
    8. Re:UW-IMAPD by weave · · Score: 1

      If you use pam to auth against an external box, you still need some sort of unix acccount for the uid info. We use pam and wu-imap with pam_krb5 to auth against our active directory server. Each user has a unix account and home dir (with locked password).

  19. Re:From someone actually using Gentoo in productio by Sevn · · Score: 1

    :)

    I've been doing this stuff for quite some time, so that does help. I'm not sure if I can attempt to access the skill level necessary to read the directions and follow them. They seemed pretty straight forward to me.

    --
    For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
  20. Other factors to consider by ChaseTec · · Score: 5, Informative
    What other properties are you looking for in your email server? For my domains(osdev.org and variants) here's the combination I use:
    • Courier IMAP - Supports Maildir, works well with most IMAP webmail setups, easy to setup, support Secure IMAP
    • Postfix for SMTP - Can offload mail delivery to another program like Procmail, replaces Sendmail
    • Procmail for Delivery - The Great thing about IMAP is that you have message folders on the server, procmail will allow you to sort incoming mail as it arrives.
    • Spamassassin - Integrates with Procmail to sort spam into a folder or /dev/null
    • SquirrelMail - Seems to be one of the best web based IMAP clients around, done in PHP
    The reasons I picked the above: Free, Wanted IMAP for server-side folders, needed Maildir support because I didn't want to use mbox because of performance and locking issues, and I needed webmail and an IMAP server known to work well with webmail.

    --
    My Hello World is 512 bytes. But it's also a valid Fat12 boot sector, Fat12 file reader, and Pmode routine.
    1. Re:Other factors to consider by eugene+ts+wong · · Score: 1
      What other properties are you looking for in your email server?
      See, that's the question. I don't know! :^) Based on what you said below, though, I can say that I probably want what you have set up.
      For my domains(osdev.org and variants) here's the combination I use:

      Courier IMAP - Supports Maildir, works well with most IMAP webmail setups, easy to setup, support Secure IMAP
      From what I've read, I definitely want maildirs. It just seems like the proper up-to-date choice. The rest sound good too.
      Postfix for SMTP - Can offload mail delivery to another program like Procmail, replaces Sendmail

      Procmail for Delivery - The Great thing about IMAP is that you have message folders on the server, procmail will allow you to sort incoming mail as it arrives.
      Why do you want to offload mail delivery? Performance? Security? Ease of administration? I ask because I'm under the impression that if 1 program [such as Postfix] can do that, then it would be more efficient over all, or in general to just leave Procmail out of it. Maybe I need to read up on Procmail. Doesn't Postfix or the IMAP server allow you to sort out the mail?
      Spamassassin - Integrates with Procmail to sort spam into a folder or /dev/null

      SquirrelMail - Seems to be one of the best web based IMAP clients around, done in PHP
      Yeah, we definitely want some sort of spam control. That's kind of what got us started on this venture. Web mail isn't necessary, but is a bonus if we could get it.
    2. Re:Other factors to consider by ChaseTec · · Score: 1
      Why do you want to offload mail delivery? Performance? Security? Ease of administration? I ask because I'm under the impression that if 1 program [such as Postfix] can do that, then it would be more efficient over all, or in general to just leave Procmail out of it. Maybe I need to read up on Procmail. Doesn't Postfix or the IMAP server allow you to sort out the mail?
      Something like Sendmail or Postfix usually defaults to doing several jobs typically referred to as MTA (mail transfer agent) and MDA (mail delivery agent). Procmail is designed just to be a MDA and since it focuses just on that it's a lot more flexible. Each user has a .procmailrc file in their home dir that says things like messages from person a goes to this mail box, messages with this subject go to another mail box, messages with exe attachments are bounced, etc.

      It also works together with spamassassin to filter spam. Basically procmail runs all mail thru the filters outlined in the .procmailrc file. One filter could be a spamassassin line that say take this message and send it to the spamassassin program for modification. Spamassassin modifies the message headers by adding in a spam score line. Another procmail line say to read the message headers and if you find a line that says the message is spam then send it somewhere.

      If you ever do use the SquirrelMail+Courier combo and you convert your old mbox mail to maildir take a look at here. I've only run into one issue when using SquirrelMail to get my mail so I wrote a little program to fix things for my work since I'll probably be switching my work's email setup to the same setup I run for my sites.

      --
      My Hello World is 512 bytes. But it's also a valid Fat12 boot sector, Fat12 file reader, and Pmode routine.
    3. Re:Other factors to consider by Basje · · Score: 1

      I have the same combination as you do, above.

      The most important reason to choose Maildir, for me, was that it is easy to make incremental backups: you only need to backup the new files. I have a couple of large mail accounts, and this keeps the storage space needed for backups (CD-RW) low. No need to do diff, and if ever a CD goes awry, I only lose the mail on that CD.

      I have been playing with cyrus Imap server, but I have a hard time setting it up, with pam and all. Yet, if you have a large stie, and don't want a unix account for every user, it may be the way to go.

      --
      the pun is mightier than the sword
    4. Re:Other factors to consider by tigersha · · Score: 1

      You can have your webmail because Squirrel is VERY trivial to setup. Basically it takes 5 minutes. It does not make any assumptions about the mailbox format or so, it is basically a CGI script that uses IMAP to get its mails. That means that the Squirrel server can also be run on another machine if you want to offload it. Usually you run HTTP on the same machine and set squirrel to use the local IMAP server.

      One problem with Squirrel I have had (Suse 8.2, not sure about the version but pretty recent) is that it sometimes fails with folders with boatloads (several thousand) of mail in it.

      Also remember that courier already contains an webmail program which I have not run yet but which may also be interesting. Courier also contains an SMTP server (which nobody ever talks about) as well as a POP server. Actually courier could probably do everything you want to do in one fell swoop. If it will do a good job I do not know, I only use it for IMAP.

      Courier also contains scripts to automatically setup SSL on IMAP (which is great boon because setting up SSL is a bitch) and works with both IMAP/SSL (which uses another port) as well as TLS (which is an extension to the standard IMAP protocol which uses the same port as IMAP). TLS, however is not supported by Netscape's mailer. The IMAP/SSL port is.

      Again, setting up the SSL stuff on courier was a breeze. Plug and play.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    5. Re:Other factors to consider by thing12 · · Score: 1
      I have been playing with cyrus Imap server, but I have a hard time setting it up, with pam and all. Yet, if you have a large stie, and don't want a unix account for every user, it may be the way to go.

      Courier-IMAP lets you authenticate by just about any means you see fit. System, userdb, LDAP, PostgreSQL, MySQL, and probably more. So you don't need to have unix accounts for every user - just one virtual account to own all the mail of your virtual users.

    6. Re:Other factors to consider by j-turkey · · Score: 1
      Courier-IMAP lets you authenticate by just about any means you see fit. System, userdb, LDAP, PostgreSQL, MySQL, and probably more.

      FWIW, Courier-IMAP's (for that matter, all of Inter7's stuff including vpopmail) LDAP support is crappy at best. It didn't help that I am not an LDAP expert...but their support staff wasn't able to help much with it either.

      Don't get me wrong, the folks at Inter7 are fine people, who released a suite of fine products...but don't expect miracles from their LDAP stuff -- in fact, they recommend against using it. OTOH, they highly recommend their PostgreSQL/MySQL auth, especially for larger sites.

      --Turkey
      --

      -Turkey

    7. Re:Other factors to consider by JLester · · Score: 1

      We're running several thousand users on OpenLDAP and Courier under Debian. It has worked flawlessly for us.

      Jason

      --
      "FORMAT C:" - Kills bugs dead!
    8. Re:Other factors to consider by j-turkey · · Score: 1

      Like I said, I'm not an LDAP expert (by any stretch of the imagination). I had some setup problems and placed a support call. They were unable to help me get it up and running (they said that thir LDAP developer was no longer with the company, and there was not anyone there to help me with LDAP-specific issues).

      Further, because they could not support it, they recommended against using it. In the enterprise, I go by the rule of support. If there is no commercial support available for a package, you need to have a large enough staff to troubleshoot it and fix bugs...otherwise, stay away.

      Again, they were really helpful where they could be, and their product(s) are excellent. But LDAP support is somewhat flakey.

      --Turkey
      --

      -Turkey

    9. Re:Other factors to consider by ChaseTec · · Score: 1
      One problem with Squirrel I have had (Suse 8.2, not sure about the version but pretty recent) is that it sometimes fails with folders with boatloads (several thousand) of mail in it

      Most likely php was timing out. In your php.ini or eqiv there is a setting that caps how long any single php request can run for. You can either up this or get the folder displaying in less time. By changing options for SquirrelMail to use ServerSide sorting(admin option), not every changing your display prefs "Enable Sort by of Receive Date" to No, and making sure you have Courier setup with plenty of allowed IMAP connections you can speed things up alot.

      Haven't tested with several thousand but with about 2 thousand messages the inital folder view delay went from around 35 seconds to 4 seconds. Your times might be different since I'm running everything on an old 300Mhz Sparc/Solaris system. Other then that if you haven't already checked it out I'd suggest look at SquirrelMail's performance tuning ideas here.

      --
      My Hello World is 512 bytes. But it's also a valid Fat12 boot sector, Fat12 file reader, and Pmode routine.
    10. Re:Other factors to consider by eugene+ts+wong · · Score: 1

      Would you consider yourself an LDAP expert? If so, how hard/easy is it to become 1? If I recall correctly, a guy spoke @ a LUG meeting about LDAP. The overall basic concepts made sense, but most/all details just went over my head.

    11. Re:Other factors to consider by JLester · · Score: 1

      Not an LDAP expert by any means. My unix tech that set it all up learned it on the go. He had everything working in a couple of days.

      Jason

      --
      "FORMAT C:" - Kills bugs dead!
    12. Re:Other factors to consider by deadcasuals · · Score: 1

      While not necessarily IMAP related, you may want to look in to MailScanner. It's a mail relay program that accepts all incoming mail for your domain, does some analysis on the email and then forwards it on to your internal mail system. It can use something like 14 different virus scanners (all at once!) to do signature-based virus detection. At my work, we just use the attachment blocking feature to strip out attachments that we don't want coming in via email. 95% of the attachments that get quarantined at the mail gateway are viruses! It also integrates with spamassassin to help stop spam. It can automatically remove hostile HTML/scripting tags if you want, too.

      We're using a neat MRTG based tool called mailscanner-mrtg to monitor our Mailscanner system. It produces pretty graphs.

      All in all, it's a really great first line defense tool for keeping corporate email secure!

      Good luck!

      ACK and you shall receive.

    13. Re:Other factors to consider by DarkBlack · · Score: 1

      No, I am no LDAP expert and I set up that system that he mentioned above. We use PAM, OpenLDAP, nscd, courier-imap, exim, courier-pop3 all on Debian stable. Read the documentation for PAM, OpenLDAP, and nscd and you will be alright. As was mentioned elsewhere in this thread, do not use courier's LDAP authentication. We did not use the courierauthdaemon to authenticate through LDAP. We use PAM instead. Pam supports other nice administrative features as well so it's a big win.

  21. Cyrus or Dovecot by Rheingold · · Score: 2, Interesting

    I use Cyrus in a number of my packaged configurations, but for ease of migration and security Dovecot seems promising, although it lacks many of the advanced features that Cyrus has. It would probably be helpful to know exactly how many users you'll be serving and what your mail volume is. You might drop by #cyrus on irc.freenode.net and chat with people there.

    You could, of course, look around and hire a Linux consultant to set it up for you.

    --
    Wil
    wiki
    1. Re:Cyrus or Dovecot by eugene+ts+wong · · Score: 1
      I'll probably be serving about 5-10 users, plus postmaster, abuse, webmaster, etc. I can only count up 5 right now, but there'll always be someone to surprise me. :^) Because of the spam, you could easily multiply the number of users by 100-120.
      You could, of course, look around and hire a Linux consultant to set it up for you.
      I think that I just might do that. Thanks for the link.

      I'm surprised that so few people have offered their services. Maybe I didn't make that clear in the submission.
    2. Re:Cyrus or Dovecot by Rheingold · · Score: 1

      5-10 users is a pretty light load; Cyrus is great but might be overkill for your load, unless things like Sieve filtering (which is less flexible but a good deal easier to understand than procmail) and Squatter indexes have a strong enough appeal to you. Squatter builds a full-text index of messages, so searching even large mailboxes is very fast. You'll probably never need Murder clustering or multiple spool partitions or even quotas.

      I do spam filtering w/in the MTA w/amavisd-new; it uses SpamAssassin (make sure install extras like Razor2 and DCC), and once the auto-learning has trained the Bayesian filters, the spam miss-rate is very low.

      Send me e-mail if you'd like a quote on a pre-configured server. (Sorry for the blatant whoring :)

      --
      Wil
      wiki
    3. Re:Cyrus or Dovecot by gid · · Score: 2, Informative

      I've tried quite a few imaps server, and I'd recommend dovecot handsdown. It's the best that I've used, and I've tried about every one that in Debian/unstable. :)

      It's solid, quite a few security options, integrates pretty darn well, etc. And you don't have to mess around with maildir format or anything which is nice. It actually indexes your mbox files so performance is pretty good. It also supports SSL quite nicely, probably the easiest to setup, although I'm running debian, not gentoo... It seems to be one of the fresher ones out there, only started in June 2002, but it's quite stable/mature. Probably written by people who hate Cyrus, UW, etc.

  22. Debian is the Best hands down... by vertical_98 · · Score: 1

    IM(not so)HO, you would be very happy with Debian. I have not used IMAP, but I do have a POP3 server that has only hiccuped once in 2 years. (Cache memory went bad - had to replace box).

    Others scream that RH and Suse are the best, but upgrading a Debian box is two commands away: apt-get update & apt-get upgrade.

    Vertical

    --
    72 CD D7 52 D0 7E D8 47 44 91 D5 84 D1 59 F1 A9-This is my 128bit integer. There are many like it, but this one is mine.
  23. POP3 by eugene+ts+wong · · Score: 1

    I'm pretty uncomfortable with continuing with POP3. It seems like the best choice for us is to be able to use IMAP so that the users can travel, & check email. In fact, that was the real selling point for IMAP. @ least 1 of the users uses 2 computers, so it would simplify things a whole lot for him. He would like to travel across the country in November, so it would be pretty important to have access to the mail that is already downloaded.

    I think that from the user's point of view, IMAP is much more intuitive.

    Nothing is written in stone, though. If you know of any advantages to POP3 & are interested doing some advocacy work for it, then by all means, speak to us! :^)

    1. Re:POP3 by vertical_98 · · Score: 1

      Hey go with IMAP, I just stated that I had never used it. When it came time to setup my own mail server, I went with POP3, because most of my users could d/l it into Outlook Express. My point was that Debian made for a fine OS to run your IMAP server on.

      Vertical

      --
      72 CD D7 52 D0 7E D8 47 44 91 D5 84 D1 59 F1 A9-This is my 128bit integer. There are many like it, but this one is mine.
    2. Re:POP3 by filledwithloathing · · Score: 1
      If you're doing all of this for 1 user (and that user isn't you) have you considered sticking with pop and just leaving the messages on the server? If you leave the messages on the server than they will always be there for you to download via pop to a new computer.

      This would not work nearly as well for you if you want to have all of your sent mail in a central location but if your main concern is to "have access to the mail that is already downloaded." then that is an option.

      I think that from the user's point of view, IMAP is much more intuitive.
      From a user's perspective both pop and imap should behave the exact(*) same way as long as they're accessing their email from one computer.

      * Essentially, a user should not have any idea if they're using pop or imap. The only difference from a users perspective should be the speed of accessing the email. Pop should be faster after the initial download as the email is now residing on that person's computer. Imap should be a little slower (unless it is cached locally) but that shouldn't be that noticable over a LAN.

      --
      Are you a VF grad? Check out the VFMA Alumni Forums VFMA Alumni Forum
    3. Re:POP3 by wolrahnaes · · Score: 1

      From a user's perspective both pop and imap should behave the exact(*) same way as long as they're accessing their email from one computer.

      Big difference: If the user likes to organize their mail, it will be in the same folder no matter where they access it from using IMAP.

      I use Communigate Pro and I enjoy being able to get my mail in the same folder all the time, no matter if I use my laptop, my desktop, or a remote computer via the webmail server built in to Communigate. All that convienience is thanks to IMAP and server-side filters.

      Let's see POP3 do that.

      OTOH I would recommend leaving POP3 enabled, as many PDA mail apps don't support IMAP AFAIK.

      --
      I used to get high on life, but I developed a tolerance. Now I need something stronger.
    4. Re:POP3 by eugene+ts+wong · · Score: 1
      From a user's perspective both pop and imap should behave the exact(*) same way as long as they're accessing their email from one computer.
      Yeah, I understand that. I am using POP3 right now, actually. For my needs, it works really well. In fact, if nobody told us about IMAP, we wouldn't have anything to complain about. However, the boss uses 2 computers, in different buildings, & would like to have access to it from another part of the country [Ontario, as opposed to British Columbia].

      Since we wanted to try to handle the email ourselves, it seemed like such a logical choice to just implement IMAP, anyways. After all, we are already making a change, so 1 extra change wouldn't be too much.
  24. Read Life with Qmail by vertical_98 · · Score: 1


    Read Life With Qmail

    I will admit qmail was hard to setup. I will also admit it has been worth every second I spent setting it up.
    Oh, to answer your question, 10 users on a Timex Sinclair with 4k of RAM. *smirk* Actually, started out on an AST Bravo P90 with 96 meg RAM. Got moved to a Compaq DP2000 P166MMX with 64 meg of RAM after the cache memory failed. Rock Solid every since. Oh, and did I mention it runs Debian?

    Vertical

    --
    72 CD D7 52 D0 7E D8 47 44 91 D5 84 D1 59 F1 A9-This is my 128bit integer. There are many like it, but this one is mine.
  25. Cyrus IMAP by FruitCak · · Score: 1

    at work we are in the process of changing over to a new mail server and going with Cyrus IMAP. We used to run WU-IMAP but on a dual P2-350 with half a gig it couldnt keep up with the load from 6 user accounts and everything was insanely slow.

    our new mail server with cyrus is much faster, combined with the latest horde cvs (the best webmail client out there) its definatly the best combination we found, oh this is running on an identical spec server to the old one.

    the latest horde cvs stuff is a major improvement on the old one, specially nice is ingo, the mail filter module, that has full support for editing the sieve scripts within a the cyrus imap server.

    and before anyone comments about use squirrelmail its better, I have used squirrelmail on one of my other servers, still do in fact, simply because i havent had time to remove it and put horde/imp in.

    --
    I'm me. I think.
  26. BSD-based solution with a big support community by gregwbrooks · · Score: 3, Informative
    I've been using Matt Simerson's free "mail toaster" for a few years and it gets better with every update:

    • Rock-solid FreeBSD base
    • qmail + CourierIMAP + qmailadmin (for easy web-based admin of e-mail accounts) + tie-ins to tarpitting, SpamAssassin or other anti-UCE measures
    • Very secure -- Matt has set the whole thing up to be more secure than what most users would configure on their own. E-mail accounts don't have corresponding system accounts, POP-before-SMTP is enabled and a host of other lock-down measures are in place.
    • Works with both IMAP and traditional POP services
    • Comes with either SquirrelMail or SqWebMail as a default webmail client, although I've gotten it to work with Horde's Imp project as well.

    I know you spec'd Gentoo, but this is a great solution backed by an active user community/e-mail list. It's worth a look.

    --


    "It was a summer's tale: Just a boy, his Linux, and a head full of dreams..."
    1. Re:BSD-based solution with a big support community by DA-MAN · · Score: 1

      Personally if he is going to diverge from Gentoo, then the simplest setup would probably be the good ol' Qmail Toaster. It's a few src.rpm's that you simply --rebuild and voila.

      --
      Can I get an eye poke?
      Dog House Forum
  27. Want flashy? Gentoo. Want reliability? OpenBSD. by Telent · · Score: 5, Informative
    For that volume, if you want "set it and forget it reliability"...

    OpenBSD, hardened Sendmail from the default install, and Dovecot. Can't beat it. It just keeps going and going and going... </energizer-bunny>

    One good thing, too, about OpenBSD is that it's very, very light on your hardware. I did mail for more users than you're talking about on a P166. Make sure to use SMTP auth with Sendmail, though. And, yeah, I do consulting too. Send me an email if you're interested and we can talk.

  28. Re:Want flashy? Gentoo. Want reliability? OpenBSD. by eugene+ts+wong · · Score: 1
    OpenBSD, hardened Sendmail from the default install
    Like I said, I'm not an expert, but I'm very surprised that they chose sendmail for the default. Why did they do that? Or do you mean sendmail in a figurative way?
    And, yeah, I do consulting too. Send me an email if you're interested and we can talk.
    Thanks for the offer. I'll keep you & the other fellow in mind, & I'll contact you both to see what you want to offer; that is, if we decide to go with a consultant, & I hope that we do.
  29. Dovecot by kherr · · Score: 1

    I was using Courier which works pretty well. But the configuration is a mess, and there have been some performance issues when using SSL (Outlook Express was ornery, for example).

    Switching to Dovecot was pretty easy and I noticed an immediate performance increase. The support of Maildirs is a must-have.

    1. Re:Dovecot by tengwar · · Score: 1
      Switching to Dovecot was pretty easy and I noticed an immediate performance increase. The support of Maildirs is a must-have.

      I use mbox at the moment with a different server. Is there an easy way to convert existing mboxes to maildirs? The obvious way would be to use a mail client to move messages from one to the other, assuming Dovecot supports both simultaneously. Would this work?

  30. Re:Want flashy? Gentoo. Want reliability? OpenBSD. by Telent · · Score: 1
    Like I said, I'm not an expert, but I'm very surprised that they chose sendmail for the default. Why did they do that? Or do you mean sendmail in a figurative way?

    It's licensing issues. The qmail license is completely unacceptable, and the postfix one contains too much legalese. exim is GPL'ed, and they're trying to remove GPL'ed material from the tree, not put it back in.

    They've patched sendmail a great deal to make it less vulnerable and make it run in a less monolithic manner. There is an occasional hole, but it's relatively rare.

  31. Suggestions by cornice · · Score: 1
    First I like the outsourcing option that was mentioned.

    Aside from that I am using Cyrus IMAP + Postfix on 2 servers running Gentoo Linux. The minimal install is pretty easy aside from the SASL stuff. Nicholas Petrele has a nice series on setting up CYRUS IMAP starting here. He also mentions Communigate Pro which isn't free but the trade for a no brainer install and maintenance might be worth the purchase price.

    CYRUS is nice since you don't have to create system accounts, just IMAP accounts. It's also very fast and can handle a huge mail store without bogging down. The biggest problem is administration. The command line tools are rather simple and the web based systems are a cumbersome to configure. Many assume you're using MySQL instead of SASL for authentication.

    I do suggest using SSL with IMAP and SMTP. It makes it nice for people out on the road without opening your server up as an open relay. This takes a bit of tweaking but it's worth it.

    Finally, don't even think of doing "emerge -u world" on this box without allowing yourself plenty of down time. Updates should be planned and methodical - usually one ebuild at a time. I got into trouble once when some conf files changed for Cyrus IMAPd and Postfix. This was a while ago and I have not had problems since but I'm very careful with my upgrades now.

    Oh yea. Check out Squirellmail. There's an ebuild for it. It takes very little to set it up and it's quite nice for people on the road. People will think you're a real stud.

  32. Re:Want flashy? Gentoo. Want reliability? OpenBSD. by styrotech · · Score: 1

    It's licensing issues. The qmail license is completely unacceptable, and the postfix one contains too much legalese. exim is GPL'ed, and they're trying to remove GPL'ed material from the tree, not put it back in.

    It's more to do with old school unix purism wanting to support all sendmails features, and the fact they've invested a shit load of effort auditing and patching it.

    But as you say Qmail and Exim are non starters license wise (the OpenBSD team don't have a problem with the Postfix license anymore as far as I know). Postfix is a simple drop in replacement for sendmail on a BSD system that uses mailwrapper (ie OpenBSD, and probably the others).

  33. Re:Want flashy? Gentoo. Want reliability? OpenBSD. by Telent · · Score: 1
    But as you say Qmail and Exim are non starters license wise (the OpenBSD team don't have a problem with the Postfix license anymore as far as I know).

    Oh, really?

    I stand by my original post stating that the licensing is the issue. Unless, of course, Postfix has adopted a proper BSD license in the two months since that posting.

  34. OpenBSD + UW-IMAP by muonzoo · · Score: 1

    That's what we settled on. The entire rest of our world is Apple PowerBooks, iBooks and Gentoo boxen (except the internal web server -- it's an old RedHat machine).

    We tried and tried and tried all the other IMAP servers, since we had to support Outlook XP, only UW-IMAP seemed to work with TLS and Outlook.

    I would not want to run Gentoo on my mailserver. I want fast, fire and forget. I love Gentoo and OS X on my G4 PowerBook, on my desktop and even in the server and testbed farms.

    Not email.

    Not for a while.

    BTW, did I mention that we dropped it into a pre-existing environment that already has a proper DMZ amd automated, network backups (AMANDA)? To DLT? These are things you'll want to seriously consider since email is important to you, after all.
  35. Re:Want flashy? Gentoo. Want reliability? OpenBSD. by styrotech · · Score: 1

    I stand by my original post stating that the licensing is the issue. Unless, of course, Postfix has adopted a proper BSD license in the two months since that posting.

    You're right, I must've misremembered the relicensing of tcpwrappers (not Postfix) during the license audit a while back - hence the "as far as I know" bit. tcpwrappers license probably wasn't the product of IBMs legal dept like the Postfix one is.

    I still maintain that OpenBSD uses sendmail by default for non licensing reasons though (ie features, and being audited/patched). If Postfix or Exim was changed to a pure BSD license they would still use sendmail for their own technical reasons. They've had issues with sendmail licensing in the past too according to Theo (the June thread).

  36. UW-IMAP by autarkeia · · Score: 3, Informative

    I have tried over and over again to switch to Cyrus from UW-IMAP and have finally decided that I have no need to do so. UW-IMAP is written by the guy who wrote the IMAP protocol, Mark Crispin. For all means and purposes it is the definitive IMAP server. It is extremely simple to setup, can scale up to tens of thousand of users, and supports every mailbox type you can think of. It also supports SSL with very little configuration. The O'Reilly IMAP book is a good guide to it (and to IMAP in general).

    The one thing you really must keep in mind with UW-IMAP is not to use MBOX. The MBX format, on the other hand, is high-performance and very powerful. The maintainers of UW-IMAP have kept MBOX as the default for years now, but once you get past about 50MB of mail in a given folder you end up with problems.

    My advice is to look through ALL of the docs to learn how to modify the source code. The docs are scattered in random places but they do contain most of the info you need to become a relative expert in UW-IMAP.

    All in all I am very happy with UW-IMAP. I have been running it on Gentoo forever now (though I don't emerge it, I compile it myself) alongside Sendmail and Procmail and have never, ever, ever had a problem with it. Months of uptime, broken only my physical server moves...

    1. Re:UW-IMAP by rufey · · Score: 1
      The size of the MBOX files are indeed a real issue. Two jobs ago we were using wu-imapd, and it worked well for ~100 users, except for those users who seemed to have the need to store massive amounts of email. A few users had MBOX files larger than 150 Mbyte and wondered why they always had problems. And I was the one always trying to educate those users (and fix the problem). We eventually implemented iPlanet/Sun's Messenger server (now called Sun One Messenger server), and it isn't free.

      I'm running wu-imapd/procmail/sendmail/Horde-IMP on my home machine, but with wu-imapd using the MBX format instead of the MBOX format. I haven't had any problems whatsoever.

      On the front end, I use Horde's IMP. Users connect to a web server running Horde IMP, and then IMP makes the IMAP connection to wu-imapd. It works fairly well. Users can be anywhere on the Internet and access their email as long as they have a web browser that supports SSL (I run Horde's web interface over https)

      Overall, I like wu-imapd. I've tried Cyrus but didn't get very far in the install before determining I didn't need anything but a simple IMAP server, so I stuck with wu-imapd. I went with Horde as the front-end simply to give my users a uniform interface regardless of their location. It enabled me to only allow users access to port 443 on the web server while not opening ports 143/993 to the Internet (the web server is the only application that needs to talk to the imap server, which is on the same box). Horde-IMP does leave some things to be desired, but I can live with it.

      If you use wu-imapd, I would recommend running it over SSL (port 993) only, and make it use the MBX format instead of the MBOX format. There is documentation available describing how to do this. If you don't like Horde-IMP or want to use something else as a client, any mail client that supports IMAP over SSL will work fine.

  37. Check out the O'Reilly book by Engdy · · Score: 1

    FWIW, I'm running Cyrus/Postfix/SpamAssassin, and am very happy with it.

    If you take a look at Managing IMAP, you'll get a good comparison of the major IMAP players.

    --
    Siggy Wiggy Figgy Tiggy a bana bo Biggy!
  38. Don't build it by afidel · · Score: 1

    Buy a turnkey solution. One platform that I have had lots of luck with is Mirapoint. They have boxes to fill every need from small boxes up to large enterprise installations. When I worked at Cisco they had over half their email on Mirapoint boxes. They had a few IMAP issues several years ago but after I gave them the problem description, client software information, and a reference to where they were not following the RFC's they came out with a patch in fairly short order.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  39. A good one by RzUpAnmsCwrds · · Score: 2, Funny

    Microsoft Exchange

    What... why is everyone looking at me like that?

  40. CommuniGate or nothing by Custard · · Score: 1

    I'll suggest CommuniGate from Stalker too. It's a really nice package. Amazingly robust and an easy install.

    The webmail is unbearably ugly out of the box but it is easily skinned and the EudoraLook system is fantastic.

    They have a MAPI connector and their LDAP is alleged to play well with others. The calendar supports iCal and vCal. They have pretty good clustering support. It is a fairly powerful package that scales down well.

    Plus the user community is kind and helpful. Good stuff.

    The downside of CommuniGate is the administration interface. The program has a lot of features but finding and configuring them is not always easy.

    For five users I would go with nothing. Outsource it. Why maintain a server for five people unless you want to use that server as a learning environment. If it is a learning environment do you really want to use a production machine?

    Good luck,

    Dan

  41. not quite what you asked for but, by Alex · · Score: 2, Informative

    Have you considered Suse Open Exchange?

    I'd keep all of the exchange zealots happy, and is significantly cheaper than exchange.

    (I don't work for Suse)

    Alex

    1. Re:not quite what you asked for but, by eugene+ts+wong · · Score: 1
      Have you considered Suse Open Exchange?
      No, I haven't, but I have bookmarked the web site, for later. Thanks for your help. I should point out, though, that I don't know anything regarding exchange, but if it is better in a useful way, then I'd gladly consider it.
      (I don't work for Suse)
      Even if you did, it won't matter, because I just want to have options. So, if you have services that you want to offer, then go ahead & let me know.

      Thanks again.
  42. Here's what we did.... by BluSkreen · · Score: 1

    Nearly 10k users, smtp box using sendmail, ldap with iPlanet on another and Cyrus on another box with the pages coming from the Web server pool. Except for the Web servers they were all two and four way SPARC/Solaris boxen, but it could easily (perhaps more easily) be some Linux boxen. We used horde for Webmail. If you don't have that many users you could do it all from one box. It took three of us a couple of weeks, counting planning and testing and hacking horde to work with our auth and template system.

    My personal box now runs Redhat with SquirrelMail and uw-imap. I was a great deal easier to install and configure but I doubt it could support more than a few hundred users in this config. I put that up in an hour or two one afternoon.

    You may to look at jobbing this out. Doing full time mail will take some experienced staff. You're still going to have to administer it as well.

    Good luck.. Have fun...

  43. Courier works well by darnok · · Score: 1

    I found myself in a similar situation to yours a few weeks back - no real interest/expertise with email, but I had to get an IMAP email server working fast.

    I used Postfix on top of Mandrake, and put Courier on top of that. It works fine; there was no significant setup required; it worked straight "out of the box" and hasn't missed a beat since.

    Others might be better - I didn't check - but Courier is certainly good enough for me based on this one experience with it

    1. Re:Courier works well by eugene+ts+wong · · Score: 1
      I found myself in a similar situation to yours a few weeks back - no real interest/expertise with email, but I had to get an IMAP email server working fast.
      Thanks for that comment. It's really something that I needed to hear.
  44. Maybe outsource by SgtChaireBourne · · Score: 1
    Make a list of requirements on reliability, service, and self determination that you need. From there look and see if any datacenter can supply that for you.
    That list of requirements is important and you may be surprised by the result, especially if all you need is IMAP and 100% availability.

    Don't forget that you can look beyond you own ISP and can easily choose any within your own country. A friend of mine dropped her up-front costs about 60% by outsourcing IMAP to a local telco. Client support costs dropped from around an hour or two per week per client to nearly nothing by switching mail clients at the same time.

    You could probably even go with an established, reputable center outside your own country if it meets your needs. (Last year I cut one cost by 95% by doing just that -- geographical proximity does not necessarily mean the prices will be close!)

    --
    Beta is broken and the link to classic doesn't work. Stop wasting our time or there won't be anybody left here.
    1. Re:Maybe outsource by eugene+ts+wong · · Score: 1

      I don't understand how you & your friend managed to drop costs by so much just by outsourcing. Was it techsupport related, admin costs, & bandwith? Something else? We only have about 5-10 users. Have your savings got anything to do with the number of users?

    2. Re:Maybe outsource by perlchild · · Score: 1

      Knowing the difference in price for bandwidth between Canada and the USA(as an example), I can see it would be the last one. Although admin costs can be very high on unmaintained hardware with less skilled staff.

    3. Re:Maybe outsource by SgtChaireBourne · · Score: 1
      Yes, the number of users did have something to do with the numbers, but the initial setup was so poor that nearly anything else would result in savings.

      Most of her cost reduction resulted directly from dropping from an unreliable, unstable, hard to maintain (on both client and server and server platform) technology with high licensing fees to boot, to a more traditional one. (In otherwords, dropped MS-Exchange for a normal IMAP/SMTP server.)

      In my case, I merely got five bids and the lowest one happened to be the most reputable firm any way, just 2 countries over. The highest bid was 20 x higher and the lowest 10 x. The overhead to do it the first time myself would be even higher.

      Not everything can or should be outsourced, but it's worth checking and don't be afraid to go over borders where it's allowed.

      --
      Beta is broken and the link to classic doesn't work. Stop wasting our time or there won't be anybody left here.
  45. Re:Some of my suggestions by Jellybob · · Score: 1
    Get Qmail or Postfix for MTAs both of which also come with built-in IMAP servers. At least Qmail has (squirrel) a webmail solution that you could use. ...I know I'm talking crap. Its been a long day. Sorry.

    Huh? Neither of them come with built-in IMAP servers, which from where I'm sitting is a good thing... they deliver mail, and that's all they do, leaving a proper IMAP server to the job of doing that.
  46. Kolab/Kroupware by oz_ko · · Score: 1
    You may want to evaluate kroupware - though the name is horrible - they seem on the ball
    From the kroupware site:
    Kolab Server 1.0 is designed to be very scalable benefitting from already matured Free Software components like Cyrus IMAPd, Postfix, Apache and OpenLDAP
  47. large and stable imap installation... by riley · · Score: 2, Informative

    I work for a major university with seven campuses and email supported centrally.

    We currently support 180,000 users across 6 four way sparcs. We are somewhere close to 2 TB of mail data. We've been running with an average of 1 unscheduled downtime per year over the past five years.

    We use sendmail + cyrus, with a few minor modications. We have no plans to move away from the cyrus imap server.

    Cyrus (once set up) is a dream to take care of. Writing scripts to handle mailbox administration is done in perl (previosly in tcl) and you can set PAM up (or pwcheck if you are old school) to handle any authentication you need. There are web tools to do manual administration (check freshmeat.net) but in our environment, we accept account requests from a different department, and simply use a script to generate the account.

    We run a modified Horde IMP with the UP imapproxy to handle webmail connections.

    We currently average about 4 thousand concurrent logins to the IMAP servers themselves, across all clients (web, desktop, some pine, etc).

    The current cyrus release will support a murder of IMAP servers, allowing you to use one namespace for multiple imap servers (you can spread your userbase across 15 imap servers -- imap1.domain.com to imap15.domain.com but only tell the clients to connect imap.domain.com) allowing you to add or remove machines from your pool by just moving the users from one machien to the next.

    Over the years, we've tested UW, Courier, and various commercial IMAP implementations, and none has touched cyrus in terms of speed, reliability, and ease of administration. UW, even with the better mailbox drivers, is still slower, and generally (unless dealing with the MH driver which has its own limitations) still deals with everything as a single file, leading to some memory issues if you have several thousand users with political pull in your organization that don't want to delete anything.

    Courier's maildir implementation also has problems with large mailboxes, as header indexes are generated from the mail data rather than cached, causing all files to be touched.

    I understand that dovecot has taken a hybrid approach, caching header information while still using a maildir store. If header information is cached on local disk, the store can still be mounted via NFS. It is a good model, but we've found that IO is the bootleg in large email installations. NFS mailstores would give us flexibility with regards to redundant imap protocol servers, but the resource we are most trying to conserve (IO bandwidth) is still bottlenecked (theorectically at a single server IO throughput, realistically at NFS throughput speeds).

    There is another project, dbmail (www.dbmail.org) that uses mysql as a mailstore. There are many gains possible using a database backend, but drawbacks as well...recovery of small amounts of data from backups is one. In any case, dbmail is not as mature as either UW or cyrus.

    Mark Crispin (author of the IMAP protocol and the UW IMAP server) has said that cyrus is the race car of the IMAP world. Built for high performance -- the ease of administration is just something you get from free.

    1. Re:large and stable imap installation... by eugene+ts+wong · · Score: 1
      I work for a major university with seven campuses and email supported centrally.

      We currently support 180,000 users across 6 four way sparcs. We are somewhere close to 2 TB of mail data. We've been running with an average of 1 unscheduled downtime per year over the past five years.
      Wow. Thanks for the info. I think that it helps me to know what you are up against when giving out email advice.

      It turns out that we aren't just dealing with our own email, as I may have said/implied in the /. submission. We might actually provide these services to our customers. I guess this brings up a new question. Is it better to have all our customer's email dealt with on our own servers, or should we set up 1 server per customer on each site?
      We use sendmail + cyrus, with a few minor modications. We have no plans to move away from the cyrus imap server.
      I, being a mail server newbie, haven't heard of any real tangible technical benefits of running sendmail. Why did you guys try it? Would you recommend it to anybody?
      Courier's maildir implementation also has problems with large mailboxes, as header indexes are generated from the mail data rather than cached, causing all files to be touched.
      If we install Courier for small sites, then will there be a noticable performance difference, as opposed to Cyrus for small sites?
      If header information is cached on local disk, the store can still be mounted via NFS. It is a good model, but we've found that IO is the bootleg in large email installations. NFS mailstores would give us flexibility with regards to redundant imap protocol servers, but the resource we are most trying to conserve (IO bandwidth) is still bottlenecked (theorectically at a single server IO throughput, realistically at NFS throughput speeds).
      Yeah, in general, I don't like sending stuff over the network, because I like to keep it as free of network traffic as possible. If I understand correctly, that isn't exactly what you were talking about, but I think that the principle applies. Correct me if I'm wrong, though.

      I think that I might go with Courier for ease of setup, & then start again with Cyrus to get the performance advantage.

      It seems that you are very knowledgable & practical. I really appreciate the comparrisons. I expect that this will be a long term project for our company. Even though I don't really agree with it, it keeps me employed. Besides, you can't complain when you're being paid to research without a deadline. :^)
    2. Re:large and stable imap installation... by riley · · Score: 1

      With Courier, you don't have to worry about the size of installation (number of mailboxes), but the theoretical maximum number of messages in a single folder. That is going to be your bottleneck in terms of performance. For every basic fetch of header (every opening of the mailbox in most clients -- pine and imp excepted), every file in the folder will be opened and parsed. It will kill both your IO and your CPU. Small mailboxes are fine -- if you plan on limitting quotas, you should have no problems.

      As for running sendmail -- we also handle the central relays and there are features available in sendmail that are not available elsewhere. Milters are the current feature that no one else has, but there are also better ways to manage queues in sendmail than are readily available in postfix. We have to not only deliver mail to ourselve, but to a plethora of departmental servers that may or not be available. We are currently handling anywhere from 2 to 6 million messages through the relays daily.I ran qmail in test for a while, and foudn that the pipelining of processes was just too inefficient for a large scale site.

      In any case, it is easier from a configuration management point of view to run the same software as the MTA everywhere we can.

  48. We run Courier on FreeBSD & Debian, but... by Bravo_Two_Zero · · Score: 1

    We run Courier on FreeBSD and Debian for our non-Exchange accounts. All of the servers really do have their own merit. I'd give you a lot of good reasons, but they really end with "it's the one we picked." Not a ringing endorsement, huh? But we are very happy with it (plus Exim + Squirrelmail + Spamassassin).

    Here's two good guides:

    http://ezine.daemonnews.org/200308/courier-imap. ht ml

    http://talk.trekweb.com/~jasonb/articles/exim_ma il dir_imap.shtml

    Both are easy to follow, and managing the mail store is as easy as managing filesystem space.

    However...

    I'm going to echo two other comments and add one other option:

    1) pay someone else to do it
    I know, you don't get control and don't learn about the software firsthand. If those are must-haves, skip to #2. If they aren't, even Oracle offers hosted solutions.

    2) Communigate Pro
    We looked at it, and we liked it a lot. It's pretty cheap, very mature and it runs on just about any OS you'd want (including my beloved FreeBSD). You can go get a fully-functional demo to run indefinitely with 5 users. The admin interface is complete if not stellar, and that's something that few of the other solutions mentioned will get for you.

    3) Merak Mail Server (as a true wildcard)
    It runs on Windows (egad, I know), but consists of open source pieces. And, it is obscenely affordable.
    http://www.merakmailserver.com/

    --


    Amateurs discuss tactics. Professionals discuss logistics.

  49. One major flaw with UW-IMAP by Bake · · Score: 1

    It stores mailfolders in a single file, i.e. a folder named INBOX is just a file called INBOX, and the Sent folder is a file called Trash.

    While this may be OK for simple mail storage, it also means that simple things such as subfolders is out of the question (thus making it virtually impossible to work with for people like me, and NO I will not resort to naming folders something like mailinglists-mailinglist1 :)

    At home I use Cyrus IMAP without any trouble whatsoever. As far as Outlook XP is concerned, all I had to do to make it use SSL to talk to the IMAP server was checking a checkbox saying "Use SSL"

  50. Re:Want flashy? Gentoo. Want reliability? OpenBSD. by j-turkey · · Score: 1
    ...the OpenBSD team don't have a problem with the Postfix license anymore

    Woah! Are you basing your comment on how you feel, or how the OpenBSD team feels? Because if your feelings on qmail reflect that of Theo DeRaadt, I'd be pretty quick to dismiss them. DeRaadt and DJB have had a long history of conflicts. In both cases, these are opinionated, adversarial guys -- and I take what they say with a grain of salt. As far as licensing issues with Qmail, some would consider it a strength (central ownership the final distribution from start to finish). Further, one could make very similar coments to yours about the viral GPL (or, for that matter, the BSD license) and be about as right as you -- but that would sound a whole lot like MS and/or SCO -- know what I mean?

    --Turkey
    --

    -Turkey

  51. Re:Some of my suggestions by j-turkey · · Score: 1
    1) Replace Gentoo with RedHat. Gentoo is wonderful for a learner and enthusiast trying to squeeze the last drop of performance, but for a production machine, run an OS that is widely used and its problems discussed. You might later want to use other apps on the mail server and RedHat expands your horizon (Ive known all too many proprietary apps that are released for RedHat and SuSE only).

    Right on target. I promise -- if you use Gentoo for long enough, you will encounter problems. That's not to say anything particularly bad about Gentoo -- I love it, but it is bleeding edge. It's like having a homebrewed Linux distro...and that's how I'd consider it for a production environment: when I have a large enough team to properly support and test it. For business use, go with the big boys, RH, Debian, or SUSE.

    (2) Reconsider using Ms Outlook and contemplate using a webmail solution for virus and worm protection. MS Outlook (or other client side MS-based mail clients) are the only reason to insist on getting an IMAP server I'm assuming.

    Most folks don't have this choice. When your EU demands Outlook, you're stuck with Outlook. This is how I ended up running IMAP at my current position. The point is, it's a bad idea to dictate this kind of stuff to your EU's. These are the people who you work for. Alot of admin-types tend to forget this.

    I run SqWebmail here for the webmail types, and courier-IMAP for the Outlook/ types. It's an adequate solution for what my users demanded.

    --Turkey
    --

    -Turkey

  52. Squirrelmail, too by Gothmolly · · Score: 1

    Also, Squirrelmail plugs right into this architecture (I know, I run it, as do my friends). Throw a little OpenSSL goodness at it, and you have secure webmail on top of a very stable IMAP/SMTP platform. Judicious use of reiserfs will also provide big wins with large Maildirs.

    --
    I want to delete my account but Slashdot doesn't allow it.
  53. Personal Experience by Raptor+CK · · Score: 1

    UW-IMAP is great, if you're running a small organization and like to run garbage.

    Try anything that supports the Maildir format, like qmail or Courier-IMAP. At my current job, we use qmail for SMTP, POP, and IMAP, and it works well. I don't really like it, but it gets the job done.

    At my old job, we used Courier-IMAP and Postfix. This matches my at-home setup pretty closely, but they one-upped it by using the IMP webmail client, available at www.horde.org along with a whole slew of other web-based apps.

    IMP is nice. It's in PHP, it's very slick, and it does everything fairly nicely. That said, it can be pretty slow.

    The key part is the Maildir support. One message per file just makes sense. Locking issues don't exist, NFS suddenly becomes an option, and shared accounts are viable.

    My distaste for qmail is just a personal opinion, though. It's a solid package, I just don't like half of djb's stuff, as it feels like it's reinventing the wheel, then adding said wheel to an already working car without removing the old ones. If daemontools were a full replacement for init, I'd be more interested, but so far, it's not.

    --
    Raptor
    "Procrastination is great. It gives me a lot more time to do things that I'm never going to do."
  54. agree by herrvinny · · Score: 0

    First of all, I want to say I agree with the people for you to just outsource it. Email is just too much if you're going to handle it by yourself (I'm assuming you have other computing duties).

    Or, why do you have to go with IMAP? What about POP3? James (http://james.apache.org) is a nice mail server, easily customizable too if you know Java.

    1. Re:agree by eugene+ts+wong · · Score: 1
      Or, why do you have to go with IMAP? What about POP3? James (http://james.apache.org) is a nice mail server, easily customizable too if you know Java.
      Because the boss & others use more than 1 computer in different buildings, plus he wants to administer the business when he travels across the continent. From my readings, it just seems to be much more advanced, useful & intuitive to the user.

      Also, we don't know Java. I don't want to learn Java just to customize POP3. I'd rather just get a regular POP3 server installed.

      Maybe I misunderstand you.
  55. Either outsource or RH + CommuniGate Pro by dtperik · · Score: 1

    It's fun to be able to "do-it yourself". But unless it's critically necessary to run your own email server, I recommend against it. There's alot to know to be able to do it right. And, unless you have a large user-base, or you have a critical need to run it yourself, I would recommend outsourcing it.

    If you can't outsource it, I would highly recommend RH + CommuniGate Pro. They have a top-notch product with everything (SMTP/POP/IMAP/WebMail/LDAP, etc.) integrated, and easy to use. Highly recommended!

  56. Cyrus, Exim, Squirrelmail by edooper · · Score: 1

    I run the Cyrus IMAP server with the Cyrus SASL security libraries, in tandem with Exim as my MTA, and Squirrelmail as a webmailclient. This has been running for some years now, and from what I can recall, the configuration was straightforward and minimal.
    The documentation is good, and there is a Cyrus Linux howto at tldp.org. I love this setup, it allows me to read my e-mail with any IMAP-enabled client from any place. Cyrus also supports SSL, if you want it to.

  57. Postfix+Courier+SquirrelMail+RBL+SpamAssassin by sunset · · Score: 1

    This combination works well for small organizations; I use it and have set it up for clients under Red Hat, and would be happy to help.

    I love and use Gentoo on my own desktop, but it's a bit too bleeding-edge for a mail server.

  58. Can you give us more information? by bdsesq · · Score: 1

    Things like:
    how many users will you be supporting
    expected traffic volume
    What are you using for smtp? sendmail/qmail/whatever
    Which web client are you using?

    I hired a consultant earlier this year to move our 1,000 user Red Hat based email system from sendmail to qmail, install Courier imap, and horde/imp for web access. He charged about $3k.
    This included migrating all the existing mbox format inboxes to maildir. Money well spent. Everything works well and best of all -- I didn't have to do it

  59. Simplicity <--> Scalability by Tor · · Score: 1

    When it comes to IMAP servers, there is a near inverse relationship between setup simplicity vs. the ability to handle large amounts of users and mails.

    The simplest IMAP servers (e.g. UW-IMAPD) use the traditional BSD mailbox format (Your INBOX is a single file in /var/spool/mail/$USER, other mailboxes are single files in $HOME/Mail). The most common mail delivery agents (sendmail, exim, postfix, procmail...) all use this format by default.

    The problem is that storing all your mail in a single file is not very scalable. Once you have about 1000 messages in a mailbox, that mailbox becomes painfully slow to open. It is also a bit kludgy - basically, if a line in a mail message starts with the word "From ", then that line has to be altered (to e.g. ">From ") so as not to represent a new message.

    The next step up in terms of scalabilty is to use the "Maildir" format, invented in QMail and now supported by a number of different MDAs and MUAs. If you use e.g. Exim or Postfix as your MTA/MDA, then a simple configuration change is all that is required to get mail delivered into $HOME/Maildir, using the "Maildir" structure. In this case, you would use the Courier servers (courier-imap, courier-pop3d, courier-imap-ssl, courier-pop3d-ssl) to provide IMAP/POP3 access. Also, MUAs such as "mutt" understand this format natively, so you can access your mail directly on the server without going through IMAP. (Of course, "mutt" can also read mail via IMAP).

    Finally, the most complex to set up, but _superscalable_ w.r.t. number of users and mailbox size, are the Cyrus IMAP and POP3 servers. The Cyrus suite uses its own mailbox/folder structure, not compatible by any other software. (Like the Maildir format, each message is stored in a file, organized in subfolders representing the IMAP folder hierarchy. Message header/indexing information, however, is cached in a super-efficient format). One other advantage (that causes some complexity w.r.t setup) is its use of SASL for authentication - so users don't need user accounts on your server.

    The trick is to get your MDA to deliver mail into your Cyrus folders. Cyrus provides a utility for this purpose, "cyrdeliver". One thing is to set up your default MDA (e.g. Exim, Postfix) to use "cyrdeliver" - another is to educate everyone who use "procmail" to filter their mail into subfolders in how to write appropriate ".procmailrc" (Procmail Run Control) files.

    Personally, I use Cyrus on a Debian system (with a 266MHz National Semiconductor CPU). It opens HUGE mail folders (My "debian-private" mailing list folder contains some 10000+ messages!) within 5 seconds or so. I use Exim as my mail transport agent, mainly due to the sa-exim (SpamAssassin at SMTP connection time) plugin, and its built-in support for mailbox-filtering/forwarding a la procmail. Thus, I had to write some Exim delivery rules to use "cyrdeliver" both for INBOX deliveries, and to support mail sorting/filtering via "cyrdeliver". If you are interested in these modifications, send me an e-mail: "tor" at "slett.net".

  60. Ditto here by phorm · · Score: 1

    We're using Courier and it's been wonderful. It also has SSL components such as Courier-SSL which work nicely if you want your email to make it to your inbox nice 'n safe :-)

  61. Zope and Plone by axxackall · · Score: 1
    I used before WebMail (which has temporary maintanance problems) and PloneWebMail (which is actively developed and has very promising architectural features).

    If you love scripting and programming with the way your mail is displayed and organized you will love to read your IMAP mail in Zope and especially in Plone.

    --

    Less is more !
  62. Thanks for the detailed information. [!comment] by eugene+ts+wong · · Score: 1

    m

  63. Consider ComminiGatePro by chuckk · · Score: 1


    If this is a company email server and there are costs associated with install, configuration, admin, then consider plunking down some cash. CommuniGatePro (from stalker.com) runs on just about any platform out there, is very solid, a bazillion features, and once you have it in place (very easy if you have a good understanding of email fundamentals) you can turn account admin over to HR...or even the receptionist. SSL, webmail, etc.

    I don't work for Stalker, but I'm a good customer and a big fan. $499 for a 50 user. I run it in conjunction with MailScanner for piping through Spamassassin & Clam AV.

    1. Re:Consider ComminiGatePro by elemur · · Score: 1


      I agree. I company I consult with has a Windows-based mail server that was giving them no end of problems. I couldn't get them to switch platforms (though they have Linux and Solaris in other functions), but they did try out Communigate Pro, and switched a week after testing it out.

      It works much faster and is far more reliable than their old solutions. Sure its not free, but you get what you pay for. Its a solid product with many many configuration options, and is easy for people to manage.

  64. Re:Want flashy? Gentoo. Want reliability? OpenBSD. by Ringlord · · Score: 1

    Sure, OpenBSD has got a great security record. But, Sendmail!? It has got a record that make it look like it was made by a certain company in Redmond!

    Use something like Qmail or Postfix (made by the man behind tcpd).

  65. Re:Want flashy? Gentoo. Want reliability? OpenBSD. by styrotech · · Score: 1

    Two points:

    1) You missed my retraction/comment above about confusing the Postfix license with tcpwrappers. Although why you quoted that bit then went on about Qmail is a little baffling.

    2) re Qmail, WTF are you talking about? All I did was agree to a point that it's license and the stated goals of OpenBSD were incompatible - is that not the case? I made no judgement about the validity of either side.

  66. Re:Can you give us more information? by eugene+ts+wong · · Score: 1
    how many users will you be supporting
    expected traffic volume
    What are you using for smtp? sendmail/qmail/whatever
    Which web client are you using?
    There are 5-10 in our office, plus admin, postmaster, webmaster, abuse, etc. I can think of 5 right now, but I'm sure that there'll always be more that I didn't think of.

    I don't know what kind of volume it consists of, though. It should be around 10 business emails per day per user, plus 100 spams per day per user, plus 100 misc. in total. So, maybe a grand total of 650 emails per day?

    Our present SMTP server is being handled by someone else, so I don't know just yet what we have. I have courier installed on a test server.

    We don't have a web client set up. I just use Yahoo! to read email, if I need to use the web interface.
    I hired a consultant earlier this year to move our 1,000 user Red Hat based email system from sendmail to qmail, install Courier imap, and horde/imp for web access. He charged about $3k.
    That's interesting. Why did he choose qmail?
  67. Re:Can you give us more information? by bdsesq · · Score: 1

    That's interesting. Why did he choose qmail?
    I chose qmail. We are expecting to go to about 8,000 users over the next year. I wanted something that was bullet proof from a security point of view. (there is a $10k reward if you can find a security hole in qmail) I work at a community college. Students love to hack.

    From the numbers you mention I would expect almost any product will handle the load. Also with 10 users it is not a real problem to visit each workstation for setup.

  68. Re:Simplicity Scalability by eugene+ts+wong · · Score: 1
    When it comes to IMAP servers, there is a near inverse relationship between setup simplicity vs. the ability to handle large amounts of users and mails.
    I appreciate you mentioning that. It's such common sense, but it never occurred to me.
    The problem is that storing all your mail in a single file is not very scalable. Once you have about 1000 messages in a mailbox, that mailbox becomes painfully slow to open. It is also a bit kludgy - basically, if a line in a mail message starts with the word "From ", then that line has to be altered (to e.g. ">From ") so as not to represent a new message.
    Now, this is something that confused me when I 1st saw it. It definitely didn't look like a bad quoting problem. Thanks!

    I would like to confirm that I understand what you are saying in the remainder of your comment. Are you saying the following?

    Cyrus doesn't provide an option to make use of the maildir format even if we wanted it to do so

    we should try to make use of the Cyrus format, no matter what

    Exim & Postfix don't deal with the Cyrus format, nativelyCorrect?

    Also, are you saying that mutt can actually create a psuedo-IMAP feel when dealing with POP3?

  69. YOU ARE AN IDIOT by Anonymous Coward · · Score: 0

    You asked for opinions and experiences, and when finally provided with detailed information from someone who is heavily experienced in the matter, you tip your hat saying that you are going with this other one that you had planned to use all along.

    You can't provide any technical or experienced based reason why you have made your choice despite being contrary to that of the professional's recopmmendations. Instead you respond with an emotional and false response of easier setup. YOU ARE AN IDIOT and you deserve all of the problems that you are about to bring on to yourself.

    In case you failed to read his post he said, quite clearly, that Cyrus is faster, more reliable, more scalable and easier to administer than Courier. So you choose Courier. Good choice, Assshat.

    1. Re:YOU ARE AN IDIOT by eugene+ts+wong · · Score: 1
      You asked for opinions and experiences, and when finally provided with detailed information from someone who is heavily experienced in the matter, you tip your hat saying that you are going with this other one that you had planned to use all along.

      You can't provide any technical or experienced based reason why you have made your choice despite being contrary to that of the professional's recopmmendations. Instead you respond with an emotional and false response of easier setup. YOU ARE AN IDIOT and you deserve all of the problems that you are about to bring on to yourself.
      I never said that I planned to use anything all along, as you say.

      I don't have to provide any technical or experienced based reason for why I believe that Courier is easier to set up. I'm not experienced. So there is no reason for my to even try. Everybody here says nothing regarding ease of setting up or they say that Courier is easier. It's not as if I had an opinion when submitting the story. I made my opinion along the way, as I read what everybody had to say. Also, I did say that I would try to also set up Cyrus.
      In case you failed to read his post he said, quite clearly, that Cyrus is faster, more reliable, more scalable and easier to administer than Courier. So you choose Courier. Good choice, Assshat.
      Yes, he did say that Cyrus is faster, more reliable, more scalable, & easier to administer than Courier, but he never said that it is easier to set up. There's a difference.

      I've read all of the 160 comments @ the time of writing, so don't even go there.
  70. Re: Simplicity vs. Scalability by Tor · · Score: 1
    Cyrus doesn't provide an option to make use of the maildir format even if we wanted to do so

    That is correct. If you want to use the Maildir format, you'd want to use the "Courier" suite.

    we should try to make use of the Cyrus format, no matter what

    Not really. It is the most scalable format of the three, but (again) the problem is that it is unique to Cyrus, and that you need to use the Cyrus tools to access your mails (delivery and reading).

    If you don't have such extreme performance/scalability demands, then Maildir is probably quite feasible, and it does have the advantage of being better supported by various mail software (Exim, Postfix, Procmail, Mutt, Courier-IMAP/POP3, QMail, etc..)

    Exim & Postfix don't deal with the Cyrus format, natively

    This is correct. Basically, you'd configure them to deliver mail via the "cyrdeliver" utility.

    Also, are you saying that mutt can actually create a pseudo-IMAP feel when dealing with POP3

    That I don't know, but I doubt it. POP3 is a protocol for downloading mail, not for managing it remotely on a server (like IMAP). It also has the limitation of dealing with a single mailbox (your inbox), not multiple folders.

    Mutt can of course read mail from any IMAP server (including Cyrus), by using a folder name like "{user@server}mailfolder" ("mailfolder" can be omitted, defaults to INBOX):
    mutt -f {user@server}INBOX


    I forgot to mention one more advantage that both Courier and Cyrus have over UW-IMAPD (and other BSD-mailbox based servers): The presentation of the IMAP namespace.

    With UW-IMAP, "INBOX" is your mail spool file (/var/spool/mail/$USER or similar). The list of other available IMAP folders is collected from every file within your home directory. So, unless you configure your IMAP client (like Outlook Express etc) to look only within the "Mail" subdirectory, then all your files are presented as mailboxes. For instance, you will have an IMAP folder named ".bashrc" if you have such a file. (Of course, it will fail to open this file as a mail folder).

    With both Courier and Cyrus, your IMAP folders are presented as sub-folders of "INBOX". So, you may have "INBOX.Sent", "INBOX.Draft", "INBOX.MyMailingList", etc. Naturally, you will only see real mailboxes (for instance, Courier will only look for Maildir-formatted subdirectories inside $HOME/Maildir; Cyrus maintains an index of your mailboxes).

    Good Luck!
    -tor
  71. I thought that... by Anonymous Coward · · Score: 0

    I thought that most web pages used client side image maps now. Why do you need server side image maps?

  72. IAAEA... by jimmydigital · · Score: 2, Informative

    (I am an email administrator)

    Here is the mix you want... though you didn't say how your user info is stored.. so I'll assume ldap.

    - Postfix with ldap lookup tables for mail routing

    - amavis-new with spamassin + sql (or ldap) for
    per user white/black lists and scoring

    - cyrus imap taking delivery via lmtp from postfix
    and running saslauthd against whatever sort of
    backend you have to authenticate users (flat
    file,ldap,sql)

    - Squirrelmail for webmail

    - up-imapproxy to soften the blow caused by any
    webmail system

    In my setup I have a pair of failover LVS load balancers out in front of a pool of postfix systems.. they handle antispam measures and mail routing and I can adujust the volume to each as I need to. Cyrus may not be the easiest thing to setup... but it's worth the effort. I'd suggest hiring someone who does this all the time to implement it and show you how to maintain it.. if you don't have the time and resources to learn on your own. I took the extra time to do a distributed network stress test on this setup before putting it in production and it's never had any serious issues.

    --
    Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats. -HLM
    1. Re:IAAEA... by eugene+ts+wong · · Score: 1
      Here is the mix you want... though you didn't say how your user info is stored.. so I'll assume ldap.
      I'm not sure that I understand your comment. Right now, we are using POP3. Eventually, we'd like to go to IMAP. Since we are learning everything right now, we may as well. @ least, that is what I figure.
    2. Re:IAAEA... by jimmydigital · · Score: 1

      I was talking about your user account information... you know.. usernames.. passwords.. email address etc.

      --
      Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats. -HLM
    3. Re:IAAEA... by eugene+ts+wong · · Score: 1
      I was talking about your user account information... you know.. usernames.. passwords.. email address etc.
      Oops. Thanks. I don't know why, but I was thinking about IMAP, not LDAP. Anyways, I appreciate you spelling out what LDAP was. I didn't really know what that was either.

      Thanks for your time!
  73. Re:Some of my suggestions by jayw · · Score: 1

    Regarding (2) -
    I don't want to *reconsider* using Ms Outlook. That would be a step or two backwards from the Mozilla we use, which comes with fine IMAP support. The centralized-storage, universal-access model of IMAP is a very good reason to use it, with a good variety of clients available.

    FWIW, we only have a small network, but UW IMAP has worked well.

  74. Clarkconnect for Testing by questforme · · Score: 1

    Even though I'm a Gentoo fanatic I would recommend using Clarkconnect(www.clarkconnect.org based on Redhat 7.3) for testing. I installed this at a business several weeks ago(first ever email server I installed) and it was alot easier than I thought, I even got a Webmail interface up and going. If you want a easy to use interface for it I also recommend Webmin for administrating it unless you are really into command lines that is.

  75. Don't forget E-smith by WoTG · · Score: 1

    I've used E-smith at home for three years now. It's all web-based configuration once the initial installation is done. It provides IMAP (I think Courier, but I could be wrong), webmail (IMP-Horde), POP3, SMTP. VERY easy to setup - I was by no means experienced with Linux or email servers when I first set it up, and it's only gotten better with maturity. Plus, for a few bucks you can order support services which include secondary MX services. The latest version is based off of RedHat 7.x I think.

    I have no relation to the folks at e-smith, I'm just a happy user.

  76. e-smith with dovecot by maggard · · Score: 1
    e-smith is a free distro based on Red Hat but managed via web browser and a powerful set of script templates. Thus it's trivially easy to set up and manage (I've set up office admins in non-profit human service organizations, likely the least techie environment outside of field hands, and they've had no problems managing their servers).

    Currently version 6 is in beta, probably to be released real-soon-now, and it includes the dovecot IMAP server. This is proving to be a champ of an IMAP server, particularly when integrated with the e-smith automation. It runs great on even low-end hardware, is proving robust yet easy to manage; a real winner.

    My suggestion is to download a copy and take a look. Also check out the add-ons that take advantage of the e-smith templating & web management systems. There's even a marvelous set of Lazy Administrators command line tools for making bulk changes to accounts and settings. For a nearly turn-key solution it is quite impressive.

    For those looking for support Mitel has a commercial version of e-smith called the Mitel Networks 6000 Managed Application Server which offers more groupware features and other nice things.

    --
    I don't read ACs: If a post isn't worth so much as a nom de plume to its author then I wont bother either.
  77. If you use Cyrus... by Anonymous Coward · · Score: 0

    Cyrus is a very good IMAP server, but if you use it,
    you must keep up on the mailing list, and start by
    reading the recent archives -- the documentation is not
    enough. Also, the O'Reilly "Managing IMAP" book is fine,
    but it covers a very old and different Cyrus version.

    1. Re:If you use Cyrus... by eugene+ts+wong · · Score: 1
      Cyrus is a very good IMAP server, but if you use it,
      you must keep up on the mailing list, and start by
      reading the recent archives -- the documentation is not
      enough. Also, the O'Reilly "Managing IMAP" book is fine,
      but it covers a very old and different Cyrus version.
      Thanks for the warning.

      Maybe I should have asked when I submitted the story, what is the most common? In other words, when companies/organizations/universites/etc. offer IMAP services, which server software do most of them use?

      Maybe I should also ask, how knowledgable are they? After all, if they aren't knowledgable, & they choose such-n-such software, then maybe that isn't wise.

      From what I've seen, the absolute best, if time & money are abundant, is Cyrus. Unfortunately, time & money isn't abundant.

      Comments? Questions?
    2. Re:If you use Cyrus... by Anonymous Coward · · Score: 0

      I can't really say which is most common, but Cyrus is
      certainly widespread. I would not recommend it if you
      are not familiar with administering network services
      on *nix systems, simply because it is a large and complex
      network service. Once running and with some scripts
      in cron, it does not require constant ongoing maintenance,
      but it is important to keep an eye on it, and to keep up
      with the mailing list (especially to file away solutions for
      problems!).

  78. Apple chose Postfix & Cyrus by bill_mcgonigle · · Score: 1

    They're pretty good at picking the best-of-breed open-source apps - presumably they spend some time on these decisions since they're going to have to support them millions of times over.

    Anyway, maybe you just want a Panther Server so you don't have to spend as much time on it.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  79. My choice: qmail and dovecot. by gfilion · · Score: 1
    I'm too lazy to rewrite it, but here's a copy of a posting I sent a couple weeks ago on /.

    I have been using Courier for over two years now. No remote roots ever or problems of any kind (I am amazed!). It's open sourced and a full package (esmtp, pop, imap, webmail and a thousand other things). It gets my vote.

    I used it for a couple months because I wanted to have Maildir type mailboxes and wanted an IMAP server, it would crash all the time and give me all kind of troubles. I then switched to Binc IMAP (Binc is not courrier), which claim to be better than Courrier, but it was actually worse. It wouldn't last one week without crashing and send a lot of junk in syslog. I finally settled for dovecot with qmail. I have been running it for 6 months now without any problem.

  80. well designed imap server by Anonymous Coward · · Score: 0

    have a look at http://www.bincimap.org/

  81. QMail HOWTO + an alternative All-in One Solution by killerfocus · · Score: 1

    first of all, for those that think qmail is a pain in the ass to install, qmail-conf takes all the headaches out of configuration.

    http://www.din.or.jp/~ushijima/qmail-conf.html

    Secondly, I've written a command by command howto for qmail
    http://www.killerfocus.com/howto/qmail.txt

    Thirdly, if you want an all-in one solution, instead of installing Courier-IMAP, you can install the whole Courier Mail Server. It includes pop, imap, webmail, webadmin and optionaly SSL on everything.

  82. Courier-IMAP or Dovecot by chrysalis · · Score: 1

    I've installed several Courier-IMAP servers on very loaded systems and they always worked like a charm.

    Courier-IMAP is simple to set up, yet extremely configurable and easy to customize for special needs (especially when you need a specific authentication backend).

    It supports IMAP over SSL by default and the package also includes a POP server. So setting up a POP/IMAP/IMAPS server is simple, using only one software.

    No compatiblity issue even with picky clients.

    The Maildir format is a plus and it integrates very well with Qmail and Postfix. What else to expect?

    Dovecot is also very nice. Not as flexible and feature as Courier-IMAP, but I use it on a personal server and it works very well so far.

    I tried Cyrus, I just hate it. SASL is silly, why reinvent the weel? Cyrus is an horror to configure and the documentation rather sucks. The code is spaghetti. A bunch of remotely exploitable vulnerabilities have also been discovered. And it uses its own format to store mails, that is just incompatible with everything else and that doesn't scale (what happens when you got more that 32k subdirectories on an ext3 or UFS partition? Nothing works any more) .

    --
    {{.sig}}
  83. Outlook Express has outstanding IMAP support by arete · · Score: 1

    Outlook Express has outstanding IMAP support. No, I'm not kidding and yes, I know this is /.

    But I can't find another win mail client that works better for a large IMAP mailbox.

    (Outlook horks, btw, only Express works)

    --
    Looking for freelance Actionscript (Flash/Flex) or ColdFusion work and/or freelance developers. Email me, put Slashdot
    1. Re:Outlook Express has outstanding IMAP support by eugene+ts+wong · · Score: 1
      Outlook Express has outstanding IMAP support. No, I'm not kidding and yes, I know this is /.
      Fair enough. You did catch me by surprise, though. :^)
      But I can't find another win mail client that works better for a large IMAP mailbox.
      Okay, what have you tried? Have you tried a Windows version of Mutt? I'm not trying to challenge your opinions & facts. I'm trying to establish a context.
  84. NIGGA by Anonymous Coward · · Score: 0

    [n/t]

  85. Don't do it... by Anonymous Coward · · Score: 0

    Most of the packaged solutions are either unattractively expensive (if commercial) or unattractively difficult to manage (if open source). The open source solutions tend to be extremely bad at integrating inbound mail management with outbound mail management. We developed a database-backed e-mail store and integrated it with postfix (front end) and uw-imap (back end) as it was easier to write the code for that than work out how to deploy the stuff out of the box with "virtual" users. Outsource it and forget it (Tucows has a really cheap solution...)

    1. Re:Don't do it... by eugene+ts+wong · · Score: 1
      Most of the packaged solutions are either unattractively expensive (if commercial) or unattractively difficult to manage (if open source). The open source solutions tend to be extremely bad at integrating inbound mail management with outbound mail management. We developed a database-backed e-mail store and integrated it with postfix (front end) and uw-imap (back end) as it was easier to write the code for that than work out how to deploy the stuff out of the box with "virtual" users. Outsource it and forget it (Tucows has a really cheap solution...)
      Thanks for the advice. I tried to talk the boss out of it, based on what the others have said. However, he is really determined to try this because we think that we can make money @ this by offering the service to our customers.
  86. A very thorough HOWTO by debest · · Score: 1

    Hope the fellow in Australia doesn't mind a mild Slashdotting, but I found this very thorough HOWTO on a possible setup for you. It consists of RedHat9, Postfix for SMTP, Maildrop (not procmail) for delivery, and Courier-IMAP for the server.

    Can't attest to its accuracy (haven't followed it), but it might be a good guide.

    --
    Look at the tomato! Isn't it sad? He can't dance! Poor tomato!
    1. Re:A very thorough HOWTO by eugene+ts+wong · · Score: 1

      I took a quick skim though the HOWTO, & it looks like it answers my questions. I really appreciate your help. You've saved me work in more ways than you may have suspected. I was planning on writing up a web page on what I learned & where I am @. With that HOWTO, I'll probably only need to write a couple hundred words, & just link to his web page.

      To top it off, I'm kind of stuck now. I've installed some stuff, & got most of it working, but it's just a matter of getting courier working. This HOWTO will probably help me finish everything off.

      Thanks for your time & concern.

  87. Re:Want flashy? Gentoo. Want reliability? OpenBSD. by j-turkey · · Score: 1

    Yah, you're right. I don't know where the hell that came from. I must have been reading is as opinion instead of "the way it is". What can I say? My foot's in my mouth.

    --Turkey
    --

    -Turkey