|
UnixReview.com
May 2005
Installing Postfix on Debian Sarge systems
by Joe "Zonker" Brockmeier
This month, I'll look at setting up Postfix on a Debian Sarge system. Since "Sarge" is in freeze now, it shouldn't be too much longer before it's officially released even though many of us have been running it for our production systems for some time already.
By default, Debian's MTA is Exim. I have nothing against Exim, but I also
happen to like Postfix. Unfortunately, the documentation for setting up Postfix
on Debian is a bit scarce, so I'll cover the steps I've taken. In this month's
column, I'll cover installing Postfix from Debian packages, configuring Postfix
for SMTP authentication, setting up a virtual domain, and also setting up a
POP3 daemon. (Note that the POP3 daemon is not actually part of Postfix, but
it's likely something that one would want running all the same.)
Installing Postfix
The beauty part of this is that installing Postfix is dead easy using APT. To start, you'll want to install the following packages:
- postfix
- postfix-tls
- sasl2-bin
- libsasl2
- libsasl2-modules
- popa3d
To install, run apt-get update to make sure your package lists are up to date. (It doesn't take long for the package list to get out of sync with the repositories.) Next, run apt-get install packagename for any packages you wish to install.
If you want to see where the package puts all of its files, run dpkg
-L packagename. So, for example, to see where Postfix puts all
of its files, run "dpkg -L postfix."
|