Re: Postfix with PostgreSQL - Mailing list pgsql-novice

From Devrim GÜNDÜZ
Subject Re: Postfix with PostgreSQL
Date
Msg-id 1242038986.3163.254.camel@laptop-hp.gunduz.org
Whole thread Raw
In response to Re: Postfix with PostgreSQL  ("Just E. Mail" <justemail@imwell-usa.com>)
List pgsql-novice
On Sun, 2009-05-10 at 12:14 -0600, Just E. Mail wrote:
> No <db.h> include file found.

My postfix spec file requires following packages to build cleanly:

 libspf2-, db4-devel, pcre-devel postgresql-devel zlib-devel
cyrUs-sasl-devel openssl-devel

You will need to install these packages before building your postfix.

However, my vote is not building Postfix from source.

First, download this:

http://ftp.wl0.org/official/2.5/SRPMS/postfix-2.5.6-2.src.rpm

then run:

rpmbuild --rebuild --define "with_pgsql 1" --define "--with-ldap 0" \
--define "with-dovecot 1" --define "--with-sasl 1" \
--define "with_tls 1" postfix-2.5.6-2.src.rpm

If it asks you to install packages before building, do install them.
Here is an example (output may differ):

===========
error: Failed build dependencies:
    openldap-devel >= 1.2.9 is needed by postfix-2.5.6-2.rhel5.x86_64
    openssl-devel is needed by postfix-2.5.6-2.rhel5.x86_64
===========

-HTH

Regards,
--
Devrim GÜNDÜZ, RHCE
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                   http://www.gunduz.org

Attachment

pgsql-novice by date:

Previous
From: "Just E. Mail"
Date:
Subject: Re: Postfix with PostgreSQL
Next
From: Mag Gam
Date:
Subject: Range queries with multiple tables