Unix Review > Archives > 2005 > May 2005

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."

Sys Admin Spotlight

CMP DevNet Spotlight

Regular Expressions: Two Easy Steps Better Than One Hard One
Complicated regular expressions and yacc are powerful parsing tools, but they can cause trouble in inexperienced hands. One helpful alternative is "partial evaluation" (PE) or "active data" parsing

In the News

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 11.0

Version 11.0 delivers every issue of Sys Admin from 1992 through 2005 and every issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!




MarketPlace

Workflow Enabled Help Desk & IT Service Management
Automate service desk activities and integrate processes across IT. Learn more here.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Discover WinDev 11 RAD
and develop 10 times faster ! ALM, IDE, .Net, PDF, 5GL, Database, 64-bit, etc. Free Express version

Online Crash Analysis
Automatically capture customer crash data, no debugger required. Support for .NET, C++, OS X, Java.

Wanna see your ad here?