You should already have installed Postfix (with support for PostgreSQL maps and Dovecot SASL), Dovecot (with PostgreSQL support), PostgreSQL, Python + pyPgSQL and optionally pycrypto if you want to store the passwords as PLAIN-MD4 digest.

Check for pgsql support in Dovecot and Postfix

To verify that your Dovecot and Postfix installation has support for PostgreSQL use the postconf and dovecot commands as shown in the example below.

hostname ~ # postconf -m | grep pgsql
pgsql
hostname ~ # postconf -a | grep dovecot
dovecot
hostname ~ # dovecot --build-options | grep postgresql
SQL drivers: mysql postgresql sqlite
hostname ~ #

If your Dovecot and/or Postfix installation shouldn't support PostgreSQL you could possibly fix this by installing the missing package (see below) or by recompiling the corresponding part.

Package names by OS/Distribution

Compiling from Sources

Debian GNU/Linux (Etch/Lenny/Squeeze)

FreeBSD

Packages or build from ports:

Gentoo Linux

Applied use-Flags (/etc/portage/package.use):

mail-mta/postfix dovecot-sasl postgres -pam sasl
net-mail/dovecot postgres -pam pop3d sieve
dev-db/postgresql-server -perl

OpenBSD

Packages or build from ports:

Build from source:

openSUSE Linux (10.3/11.0) (SLES?)

RHEL/CentOS/Fedora


DownloadingVMM


CategoryInstallation

VMMWiki: InstallationPrerequisites (last edited 2010-02-09 23:51:14 by MarcusSpiegel)

SourceForge.net Logo