I've got a server (running Debian Woody) that I'd like to turn into a mail server. I'd like to use qmail (plus courier-imap) instead of exim. My question is, how to do I completely remove exim, replacing it with qmail?
qmail comes as a src pkg. You apt-get it, build it with its own build script, then install the resulting binary pkg.
For it to take the place of exim, I think it may involve "update-alternatives"... There's already a few mail-related links in /etc/alternatives, and I'm trying to make sense of it. I think this might be the key.
I don't believe this box was ever a *working* mail server in the past, but nevertheless, it has/had some mail packages installed:
ii exim 3.35-1woody4 An MTA (Mail Transport Agent)
rc fastforward 0.51-woody1 handles qmail forwarding according to a cdb
ic qmail 1.03-woody1 a secure, reliable, efficient, simple messag
ii qmail-src 1.03-38 Source only package for building qmail binar
rc qmail-uids-gid 1.0.0 uids and gids for the debian var-qmail insta
Googling around, I've found one doc that might be useful:
but it doesn't say anything about removing/replacing exim.