> -----Original Message----- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of Just E. Mail > Sent: Wednesday, 20 May 2009 10:10 AM > To: postfix-users@postfix.org > Subject: Re: Postfix with PostgreSQL > > In my first post, I mentioned that I plan to use a PostgreSQL > server at the backend to store emails. > > Now my question: How to build Postfix with PostgreSQL support? > > I noticed that http://www.postfix.org has example of > "Postfix PostgreSQL Howto" but it is for Postfix installed > source (tar.gz?). Is there a similar procedure when Postfix > is installed from RPMs. > > PS: English is my 2nd language! >
Straight from "The Book of Postfix": Execute: $ ldd `/usr/sbin/postconf -h daemon_directory`/smtpd On my RHEL system, I get the following, which is perfect since I didn't add any PostgreSQL support to my build. libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x00000035f9c00000) liblber-2.2.so.7 => /usr/lib64/liblber-2.2.so.7 (0x00000035f9e00000) libpcre.so.0 => /lib64/libpcre.so.0 (0x00000035f9a00000) libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00000035f7f00000) libssl.so.4 => /lib64/libssl.so.4 (0x00000035f9100000) libcrypto.so.4 => /lib64/libcrypto.so.4 (0x00000035f9300000) libz.so.1 => /usr/lib64/libz.so.1 (0x00000035f8300000) libdb-4.2.so => /lib64/tls/libdb-4.2.so (0x00000035f8d00000) libnsl.so.1 => /lib64/libnsl.so.1 (0x00000035f8900000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00000035f8b00000) libc.so.6 => /lib64/tls/libc.so.6 (0x00000035f7a00000) libdl.so.2 => /lib64/libdl.so.2 (0x00000035f7d00000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00000035f8500000) libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00000035f8f00000) libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00000035f9600000) libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00000035f8700000) libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00000035f9800000) libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00000035f8100000) /lib64/ld-linux-x86-64.so.2 (0x00000035f7800000)