techlist06: > I have a functioning install of 2.10 from rpm's on Centos7. I'm trying to > upgrade the postfix to 2.11. > > I don't use LDAP and I'm using Dovecot for SASL. I use TLS. Following the > postfix docs and other's directions, I've tried to pick the correct compile > options. Unfortunately for me RedHat/Centos doesn't appear to include the > .out file I need to see how they compiled theirs. > > This is the script I'm using to create the makefile and compile. The > compile goes fine without any errors that I see: > > make makefiles CCARGS=' -fPIC -DUSE_TLS -DUSE_SSL -DUSE_SASL_AUTH > -DDEF_SERVER_SASL_TYPE=\"dovecot\" - > DPREFIX=\\"/usr\\" -DHAS_PCRE -I/usr/include/openssl -I/usr/include/dovecot > -I/usr/include' AUXLIBS='- > L/usr/lib64 -L/usr/lib64/openssl -lssl -lcrypto -L/usr/lib64/sasl2 -lpcre > -lz -lm -Wl,-rpath, /usr/lib > 64/openssl -pie -Wl,-z,relro' OPT='-O' DEBUG='-g' > > But in the logs I have warnings about both TLS and SASL not being compiled > in: > warning: smtpd_sasl_auth_enable is true, but SASL support is not compiled > in > warning: TLS has been selected, but TLS support is not compiled in
If I correct your command for word-wrap breakage and spurious spaces, but otherwise leave all the unnecessary stuff in place, it produces a working build with Postfix 3.3 on Fedora Core 24. $ env - PATH=/usr/bin make makefiles CCARGS=' -fPIC -DUSE_TLS -DUSE_SSL -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DPREFIX=\"/usr\" -DHAS_PCRE -I/usr/include/openssl -I/usr/include/dovecot -I/usr/include' AUXLIBS='-L/usr/lib64 -L/usr/lib64/openssl -lssl -lcrypto -L/usr/lib64/sasl2 -lpcre -lz -lm -Wl,-rpath,/usr/lib64/openssl -pie -Wl,-z,relro' OPT='-O' DEBUG='-g' $ make -j8 $ su Password: # make upgrade # echo test | mail -s test wie...@porcupine.org # tail -f /var/log/maillog ... Jul 11 19:16:23 wzv postfix/qmgr[8236]: 63882A0173: from=<r...@porcupine.org>, size=258, nrcpt=1 (queue active) Jul 11 19:16:29 wzv postfix/smtp[8246]: Anonymous TLS connection established to spike.porcupine.org[168.100.189.2]:25: TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits) Jul 11 19:16:29 wzv postfix/smtp[8271]: 63882A0173: to=<wie...@porcupine.org>, relay=spike.porcupine.org[168.100.189.2]:25, ... It should also work Postfix 2.11. Wietse