View Single Post
Old 02-05-2013, 10:27 AM   #2
Junior Member
 
Join Date: Oct 2011
Posts: 28
b:z is on a distinguished road
Default

it makes ssl/tls authentication broken, as the mail is still able to authenticate via PLAIN text.
Then, trying to recompile the postfix with default option in /etc/make.conf, and i got following error:
Code:
If you want to enable SMTP AUTH with the system Sendmail, read
Sendmail.README

NOTE: This port has been compiled with a default pwcheck_method of
      auxprop.  If you want to authenticate your user by /etc/passwd,
      PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
      set sasl_pwcheck_method to saslauthd after installing the
      Cyrus-IMAPd 2.X port.  You should also check the
      /usr/local/lib/sasl2/*.conf files for the correct
      pwcheck_method.

===>   Compressing manual pages for cyrus-sasl-2.1.26_2
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for cyrus-sasl-2.1.26_2
===>   Returning to build of postfix-2.9.5,1
Error: shared library "sasl2.2" does not exist
*** [lib-depends] Error code 1

Stop in /usr/ports/mail/postfix.
*** [/usr/ports/mail/postfix/work/.configure_done.postfix._usr_local] Error code 1

Stop in /usr/ports/mail/postfix.
*** [install] Error code 1

Stop in /usr/ports/mail/postfix.
*** [reinstall] Error code 1

Stop in /usr/ports/mail/postfix.
the contain of /etc/make.conf

Code:
X11BASE=${LOCALBASE}
# added by use.perl 2013-01-31 17:21:22
PERL_VERSION=5.16.2
apache22_SET=SSL PROXY PROXY_AJP PROXY_BALANCER PROXY_CONNECT PROXY_FTP PROXY_HTTP PROXY_SCGI

# ISP postfix
.if ${.CURDIR:N*/ports/mail/postfix*} == ""
LIB_DEPENDS+=   sasl2.2:${PORTSDIR}/security/cyrus-sasl2
#LIB_DEPENDS+=	sasl2:${PORTSDIR}/security/cyrus-sasl2
POSTFIX_CCARGS+=        -DUSE_SASL_AUTH -I${LOCALBASE}/include -I${LOCALBASE}/include/sasl
POSTFIX_AUXLIBS+=       -L${LOCALBASE}/lib -lsasl2 -lpam -lcrypt
SASL_SUFFIX=    +sasl2
USE_OPENSSL=    yes
POSTFIX_CCARGS+=        -DUSE_TLS -I${OPENSSLINC}
POSTFIX_AUXLIBS+=       -L${OPENSSLLIB} ${LDFLAGS} -lssl -lcrypto
TLS_SUFFIX=     +tls
.endif
Any help is appreciated.
b:z is offline   Reply With Quote