Postfix-SMTP-AUTH-TLS

Discussion in 'HOWTO-Related Questions' started by lipiec, Jul 24, 2007.

  1. lipiec

    lipiec New Member

    Hi,

    I've started to configure postfix like it is described in that tutorial: http://howtoforge.com/howto_postfix_smtp_auth_tls_howto, but I've got several errors. So when I started to configure postfix I couldn't get through it. When I typed:
    Code:
     make makefiles CCARGS="-DHAS_SSL -DUSE_SASL_AUTH -I/usr/local/include/sasl -I/usr/local/ssl/include" AUXLIBS="-L/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib -lsasl2 -lssl -lcrypto"
    I got some errors:
    Code:
    [src/util]
    (set -e; echo "# DO NOT EDIT";  /bin/sh ../../makedefs && cat Makefile.in) >Make                                              file
    No <db.h> include file found.
    Install the appropriate db*-devel package first.
    See the RELEASE_NOTES file for more information.
    make: *** [Makefile] Error 1
    make: *** [Makefiles] Error 1
    make: *** [makefiles] Error 2
    I don't know what these errors mean. Can anybody help me, please?

    I've read RELEASE_NOTES one more time, really carefully and I've found out I have to install BerkeleyDB. I've installed it and try to configure Postfix again with this command:
    Code:
    make makefiles CCARGS="-DHAS_DB -I/usr/local/BerkeleyDB.3.1/include -DHAS_SSL -DUSE_SASL_AUTH -I/usr/local/include/sasl -I/usr/local/ssl/include" AUXLIBS="-L/usr/local/BerkeleyDB.3.1/lib -L/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib -lsasl2 -lssl -lcrypto -ldb"
    but it has still changed anything. ;/ I stuck in it.
     
    Last edited: Jul 24, 2007
  2. falko

    falko Super Moderator Howtoforge Staff

    This tutorial is really old. Which distribution do you use?
     
  3. lipiec

    lipiec New Member

    I use Debian Etch. But now everything is alright. I fixed this problem. I just installed libdb3-dev appropriate with my BerkeleyDB version. But I still have only one question... Does this configuration support any webmail? Will I be able to install with this configuration SquirrelMail?
     
  4. falko

    falko Super Moderator Howtoforge Staff

Share This Page