[REQUEST] Courier IMAP and Maildir

What do you think of switching to Courier IMAP / Maildir?

  • Yes! Please do it now!!

    Votes: 44 80.0%
  • Lets switch to maildir with another imap server.

    Votes: 7 12.7%
  • I dont care either way.

    Votes: 2 3.6%
  • Let's keep what we have now.

    Votes: 2 3.6%

  • Total voters
    55
Joe,

As I've written previously...

If DA switches to Dovecot and implements setting up new domains with Maildir, then we're very interested in creating the plugin to do the conversion for prior domains.

But we're not going to write a plugin to create a whole new email system; it would be too much for us to have to maintain.

Jeff
 
I would also like to see this implemented. Surely, DirectAdmin deserves better than WU-IMAP.
 
I would love to see the use of qMail and binc-imap for the email side of things, would love for nothing more than to get away from exim
 
Geffy,

That's your position.

However ...

qmail hasn't been updated by the author since 1999.

And according to the license by which it's distributed the author doesn't let it be distributed by any other method than unpatched source code.

Which has resulted in lots of different versions of qmail based on different patches.

Many of the patches are incompatible with other patches.

Exim is very easy to customize by minor changes to the config file; qmail has no config file and his hard to configure except by writing patches and recompiling.

SpamBlocker could never have been written for qmail, for example, except by creating patches to the main source tree and recompiling.

You're certainly welcome to use qmail if you wish; but you're entirely on your own.

What problems do you have with exim?

Jeff
 
true the license is slightly restrictive, but the lack of development activity is mainly because there havent been any security holes found in it since then. A few patches are required such as ones to enable SMTP-AUTH, but there are two very good ones at present both based on the same piece of code.

qmail doesnt have a single config file, instead it has the qmail/control directory which contains a number of text files which change how qmail operates. There is no need to recompile for a single config change.

I dont use SpamBlocker, but SpamAssassin works fine with qmail.

qmail is simply the MTA which I choose to run on systems which I dont have dominated with a control panel of any kind.

finally the main thing which I dont like about exim is its single binary method of doing things, its bloated and increases the complexity of the code which therefore can introduce bugs and security holes. I think the qmail method of having a few small binaries which each do their single job and just that is a much more streamlined and secure method of operation. This is a problem which exim shares with sendmail. To my knowledge postfix uses the multiple binary method of operation in common with qmail.
 
You make some good points, so I'll give you the courtesy of a reply...
Geffy said:
true the license is slightly restrictive, but the lack of development activity is mainly because there havent been any security holes found in it since then.
There are lots of reasons to offer new versions of a product besides security. For example, to add features, such as the ability to add multiple blocklists, and to allow each domain to use it's own blocklists. Exim does that simply; qmail not at all.

And that's just one example.
A few patches are required such as ones to enable SMTP-AUTH, but there are two very good ones at present both based on the same piece of code.
And both of them unsupported by anyone except their authors, who don't even have permission to compile them into the main tree and distribute the package directly.

The only installation of qmail I've ever seen go smoothly is the one Plesk does, because they ignore the rules and create their own RPM with their own modified qmail. I don't ignore rules because I believe in license rights.

Any other install, doing it right, requires you to decide the options you want, then find the patches that will install them, then install those packages to the source code, hoping they're not incompatible, and then recompile the software.

Qmail's license says very simply that the author (Dan Bernstein) owns the package, and that he can change the license at any time to take away your right to use it. Certainly I won't invest any time in a package with that kind of license, though I can understand you might.
qmail doesnt have a single config file, instead it has the qmail/control directory which contains a number of text files which change how qmail operates.
And which are very limited. For example, show me the config file that allows me to list multiple blocklists.
There is no need to recompile for a single config change.
Why are you adding FUD (Fear, uncertainty and doubt) to the discussion.

Exim certainly doesn't require a recompile for any config change; in fact I completely rewrote how exim handles email (for example, changing it so it won't accept email until it verifies the user exists) and even built in a complete spam handling system based on blocklists, without changing or patching one line of source code.

Others have done more, including adding ClamAV (either to work through a scanner, or before the mail is accepted), all without changing or patching one line of source code.
I dont use SpamBlocker, but SpamAssassin works fine with qmail.
SpamBlocker blocks (on our server) over one hundred times as much mail as SpamAssassin marks as spam when SpamBlocker is turned off.

And SpamAssassin doesn't solve the spam problem at all; the suspect email is still on your server and you still have to look at it to see if SpamAssassin guessed right.

Sure SpamBlocker can also guess wrong (though it's not as likely to do so) but it tells the sender, so if it does, the sender has a specific method of still getting the email through. And the recipient doesn't have to waste time browsing through perhaps hundreds or thousands of suspect emails.

Disclosure: I wrote SpamBlocker; I'm prejudiced.
qmail is simply the MTA which I choose to run on systems which I dont have dominated with a control panel of any kind.
That's your choice :) .
finally the main thing which I dont like about exim is its single binary method of doing things, its bloated and increases the complexity of the code which therefore can introduce bugs and security holes. I think the qmail method of having a few small binaries which each do their single job and just that is a much more streamlined and secure method of operation.
That's a great point but it's a religious argument. No one has proved that a monolithic program is any more dangerous than a distributed set of programs. Except of course Dan Bernstein.
This is a problem which exim shares with sendmail. To my knowledge postfix uses the multiple binary method of operation in common with qmail.
Shouldn't that be This is an attribute shared with sendmail? It's not a problem for me. How much of a problem has it been for you since you've used DA? And how much of a problem has it been for anyone else here? How many people here have had even one problem on their server because of a hole in Exim?

The answer is most likely none.

But after all is said, after buying and reading the qmail book and the exim book, and after writing questions on both user mailing lists as well, I can honestly say (from my point of view) that I like the exim community and the exim product a lot more than I like the qmail community and the qmail product.

So if JBMC (the company that writes DirectAdmin) decides to switch to qmail, they'll not only lose a lot of their built in functionality, they'll lose my business as well.

Which may very well be fine with them :p .

Jeff
 
all very good arguments, the main reason I use qmail is because that is what I am most comfortable with and as I mentioned I use it on servers without a control panel which typically are only serving for a group of domains which are all owned by the same person. I personally haven't spent enough time to come as to grips with exim as I have qmail. If people can make a suitable argument not to use qmail (as you have) then I am willing to accept that.

I do agree that DJB should release a new version with some of the more critical features required for the spam rife days we live in now, and digging through the qmail sites looking for the patches you need and then tweaking them to get them all to work is certainly not fun, though a friend of mine is more of a qmail zealot so he usually does all that and I nick his table scraps :P

wow, I might have to take a look at SpamBlocker then, though we have a server move coming soon, so it might have to wait til after that.

According to most Software Engineering guidelines monolithic programs are more complex and therefore more prone to error, though as you said this is more of a religious argument, but its how I tend to program so thats how I see things should be done. There is also the single point of failure with a monolithic program.

Yes I probably should have said attribute but as mentioned above, I am biased against monolithic code.

Initially Exim caused me nothing but trouble, authentication problems and the almost seeming hack to do pop before smtp authentication, but now having fiddled with it I haven't had any problems with it, except it occasionally crashing and not coming back up for a while, but then someone had left the crontabs commented so DA wasnt trying to bring it back up. This is one feature I like with qmail and its not even a feature, its the DaemonTools which runs it and restarts it 5 seconds after it goes down.
No I dont think we have had any intrusions due to exim, unfortunately the same cant be said about Frontpage Extensions, but thats another story.

The qmail mailing lists probably consist of the least objective people you will ever meet.

Given your arguments, I hope that DA doesn't switch from exim either, but I would fully support a move to Maildir over the current mbox format, and bring on a better IMAP server as well.
 
I'm new to this forum and this is my first post, so I hope to be of some help here. I saw this thread and did a little research on the Internet, as I'd like to see DA move to Courier IMAP / Maildir as well because of the known limitations and issues with the mbox format. I found a few programs/scripts that can be used to convert mbox mailboxes into maildir format. I'm not sure if this would help in any decision to move to Courier IMAP, but I thought I'd pass along the info anyhow.

http://batleth.sapienti-sat.org/projects/mb2md/
http://perfectmaildir.home-dn.net/
http://www.mail-archive.com/[email protected]/msg21872.html

Hope this helps. :) Thanks.
 
Last edited:
I'm so @#$@#$ stressted out right now.

I've been *trying* for a week to migrate a server to DA that included email accounts from a server that was running (perfectly) Qmail + Vpopmai l+ Maildir + Maildir + Courier-IMAP (with SSL TLS options).

It doesn't work.

The migration scripts made by http://www.gogab.com/community/ partially work in migrating some account settings and some mail, but it did not deal with the imap folders (.Sent .Drafts .Trash etc)


If DA loses us as customers, and barring a solution providing email response from support (which was very responsive on an earlier issue), they very likely will.


TO THE DIRECTADMIN TEAM:

Please read this:
http://www.courier-mta.org/mbox-vs-maildir/

I'm sure you have already.

But it is issues like this that will get DA bad reviews from people who have tried to use it & failed, or people who would like to use it, but can't/won't.



Since you prefer EXIM over QMAIL (for understandable reasons... nobody likes a lawsuit) why couldn't you just do something like this:

http://www.tty1.net/virtual_domains_en.html

As of right now, 78% of the people who voted in this thread said "Yes! Please do it now!!

This thread is 1 year old.

Shouldn't there at least be an option to be able to use Courier-IMAP + Maildir format?
 
Last edited:
Is there a problem with Dovecot? If so what is it?

The problem I've seen is with converting to mbox, and there's nothing on your link page to help with mailbox conversions., so what's your point?

I think the main key is that someone has to write a good conversion script.

I don't think DA is doing that because they don't have a problem with offering both.

I'd love to write it; I just don't have the time.

If it still doesn't exist after I finish Mailblocker Pro (a commercial product) I'll probably want to do it myself, but if I do it will be a commercial product.

Jeff
 
I made the post above before I noticed that DoveCot (and Maildir) was in beta testing here with DirectAdmin.

I've since switched to DoveCot, and it'll do just fine.

There are a couple sites/pages out there that compare Courier-IMAP to DoveCot and suggest that DoveCot has better performance.

So... perfect :)

Can't wait until it becomes the standard to that everyone can have a much snappier mail server with DirectAdmin.
 
"Snappier" is dependent to a great deal on whether or not users are using IMAP or POP3; a few users have mentioned that POP3 appears to be running a bit more slowly.

And of course depending on how many emails your system holds, you could run out of inodes. We're currently looking into special format options for drives holding Maildir directories.

But the biggest problem now appears to be in conversion. We'll probably keep old clients on old mbox servers for at least a while.

Jeff
 
Back
Top