PDA

View Full Version : Qmail Insanity


datavortex
2003-07-28, 15:06 PM
So here I am, in the midst of a huge mail remake, and I couldn't feel more lost. Of course, when I do feel this way it normally ends with me learning a lot of new stuff, which is good, but its frustrating for the moment. So, If you have any tips, tricks, hints, suggestions, or general beating about the head that you think could make my confusion more short-lived, I'm all eyes.

Here's what I'm after: Currently, I am working off the default ServerBeach install of RedHat 8 with Sendmail 8.12 and I've hacked UW IMAP on top of that, with all mail stored in the binary MBX format in users' home dirs. All my users are /etc/passwd users.

The goal: Make ALL mail 100% virtual, with users in LDAP (http://www.openldap.org/) (for account sharing with other applications (http://www.xaraya.com/) later on) using qmail (http://www.qmail.org/), vpopmail (http://www.inter7.com/vpopmail.html), and Courier IMAP (http://www.inter7.com/courierimap.html). Never having used qmail before (only SendMail, Postfix, and Exim), this is a gigantic change for me. Qmail seems to have a million little tricks and I don't yet know any of them.

Right now I'm reading the standard docs for qmail and vpopmail, and Life With Qmail (http://www.lifewithqmail.org/), none of which are simple. I'm still undecided on the mailbox formats for my users, though I am going to move them to a central directory structure (per vpopmail). Maildir seems the way to go for this combo of servers, but I like the speediness of compressed MBX.

Anyone have experience going through this before? Is it as horribly painful as it seems?

knightfoo
2003-07-28, 15:26 PM
The topic of this thread pretty much sums up qmail configuration and usage.

In my experience, the best virtual mail combination is postfix+courier+mysql, using Maildir format to store mail. Both postfix and courier have full mysql support for user authentication and configuration. I choose postfix and courier because they can be configured to read/write mail anywhere you want, and in pretty much any format you could possibly need.