postfix-users May 2014 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Client side DANE - minimum openssl version

Re: Client side DANE - minimum openssl version

From: Viktor Dukhovni <postfix-users_at_nospam>
Date: Mon May 12 2014 - 04:55:24 GMT
To: postfix-users@postfix.org

On Sun, May 11, 2014 at 10:53:05PM -0500, Larry Stone wrote:

> Viktor, thanks, that greatly improves my understanding of how
> those options work. And also serves as a reminder not to put to
> much trust in other people's "how to" documents since if I now
> understand it correctly, the '-I/usr/include/openssl' in the original
> document I followed at diymacserver.com was meaningless and instead,
> the headers were found from the default /usr/include.

Correct. If you're referring to:

    http://diymacserver.com/mail/snow-leopard/compiling-postfix-in-64-bits/

drop the author a note. The instructions should be changed to:

    make -f Makefile.init makefiles \
        CCARGS='-arch x86_64
            -DUSE_TLS
            -DUSE_SASL_AUTH
            -DDEF_SERVER_SASL_TYPE=\"dovecot\"
            -DDEF_COMMAND_DIR=\"/usr/local/sbin\"
            -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\"
            -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\"
            -DHAS_MYSQL -I/usr/local/mysql/include
            -DHAS_PCRE -I/usr/local/include
            ' \
        AUXLIBS='-L/usr/local/lib \
            -lpcre -lssl -lcrypto \
            -L/usr/local/mysql/lib -lmysqlclient -lz -lm'

On a Mac you should strongly consider a package manager, such as
either "MacPorts" or "Homebrew". These will also build dependencies,
make it easy to refresh packages that are out of date, ...

    https://www.macports.org/

or if you're not put-off by Ruby:

    http://brew.sh/

-- Viktor.