A company I co-founded used qmail for delivery for a webmail service for ~2m users, and while we used the original qmail less and less, it was because we were able to use qmail as scaffolding as described above.
And we ran lots of services under daemontools.
Later we used qmail as a generic message queueing system for a turnkey registrar platform for .name...
For the webmail provider, Qmail was used for all inbound/outgoing e-mail. Some modifications we made was to replace the delivery process with one that looked up the mail storage backend a given user was on and passed on the mail to qmails normal delivery process.
We also modified the delivery process to embed additional information in the message file names so that we could get away with just reading the directory to get file size (instead of additional stat() calls for each file), flag status etc.
Eventually we added quota checking and a cache of parsed header information (coupled with a custom command added to the POP server to list that info).
Qmail was ideal for that given that it consists of a bunch of small, easily understood components that all are documented extremely well and can be tested on the command line.
For the queueing system, any mail system works fine if your requirements does not include absolute ordering. All we needed to do was poll a Maildir (or POP server) to handle incoming messages, or inject outbound e-mail for outbound messages. It was fast and simple at a time when there was a distinct lack of open source dedicated queueing implementations.
Last I checked, Yahoo (Mail) uses qmail. Can anyone verify whether that is still true today?
Anyone who cares about privacy? :)
Qmail is too old to be usable these days, but Postfix does at least use its security model. It isn't perfect, but arguably the best mail server around for that reason.
Hilary Clinton
With regard to age, both qmail and Postfix were written around 1998.
For my purposes, qmail works just fine. I use it; therefore it is "useable".
For me, Postfix is overkill. Not fact, just my opinion. Personal preference.
In the event I want to change something, I find it easier to modify and recompile qmail than I do to modify and recompile Postfix.
Postfix has been updated (latest stable release February 8, 2015). Qmail doesn't get updated because DJB considers it complete (last [official] stable release June 15, 1998). There are custom third-party patches you can compile into qmail, so I guess those could be considered updates.
Well, it depends on the feature set you need, but to a level that most people might consider fact.
From memory, no support for TLS connections, SMTP AUTH, or SPF/DKIM on mail. That, plus it has very limited support in general and needs an arcane collection of patches to remain workable.
Other mail servers can work around its restrictions, yes, but that doesn't make it fit for purpose.
daemontools and ucspi-tcp are still some of the best tools to dig into. I love multilog (part of daemontools) which solves problems I didn't even know exist. e.g. I had a pool of servers and wanted to collect all the logs in one place... the way multilog names files makes this a simple rsync task, and you can just concatenate and sort, it even works for multi-lined output.
Since I started using docker, djb's tools got a new life for me. I manage all services within docker containers with daemontools.