LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Building Postfix with SASL + TLS (https://www.linuxquestions.org/questions/linux-networking-3/building-postfix-with-sasl-tls-371101/)

mcd 10-08-2005 09:43 PM

Building Postfix with SASL + TLS
 
i downloaded the postfix tarball from postfix.org, and unpackaged it in /usr/share/postfix-2.2.5 now i'm trying to compile it with

make makefiles CCARGS="-DUSE_TLS" AUXLIBS="-lssl -lcrypto" \
CCARGS="-DUSE_SASL_AUTH -I/usr/include/sasl" \
AUXLIBS="-L/usr/local/lib -lsasl2"

in order to build it with sasl and tls support. the problem is that i get the following error:

make -f Makefile.in MAKELEVEL= Makefiles
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
No <db.h> include file found.
Install the appropriate db*-devel package first.
See the RELEASE_NOTES file for more information.
make: *** [Makefiles] Error 1
make: *** [makefiles] Error 2


so i downloaded and installed db4-4.2.52-i486-2, then tried again but i got the same error. i've been trying to find db4-devel, but i can only find references to rpms built for specific distros (ie not slackware). can someone please confirm that i'm going about this correctly, and maybe point me in the right direction to find a tarball of db*-devel?

i've got installed already:

db4-4.2.52-i486-2
cyrus-sasl-2.1.19-i386-1
openssl-0.9.7d-i486-1
openssl-solibs-0.9.7d-i486-1

and as i've said, i'm working with the source for postfix-2.2.5

thanks

ps. in case it wasn't clear, i don't intend to use any databases if i can help it. i just want a secure mail server that can handle multiple domains with virtual users, smtp auth and encrypted sessions.


All times are GMT -5. The time now is 08:34 AM.