Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-08-2005, 09:43 PM   #1
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
Building Postfix with SASL + TLS

i downloaded the postfix tarball from, 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 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:


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


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.

Last edited by mcd; 10-08-2005 at 09:45 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sasl and postfix configuration smaida Linux - Software 2 12-15-2004 07:48 PM
postfix,sasl problem strace Mandriva 1 09-02-2004 09:00 AM
postfix and sasl issue nielchiano Linux - Networking 0 04-22-2004 09:38 AM
building rpms from cyrus-sasl help... tarballed Linux - Software 0 08-21-2003 06:09 PM
pam_ldap with tls and sasl hardigunawan Linux - Networking 3 05-21-2002 08:29 PM

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration