PDA

View Full Version : FreeBSD 9.1 - install error


b:z
02-04-2013, 06:56 PM
Hello,

I meet some issues when trying to install ISPManager on FBSD9.1:
1- SMTP error:
It likes issue with cyrus-ssl, during the ISPManager process trying to install Postfix, even i tried to manual install it from ports, but no succeed.
Then, i tried to adjust this line in "/etc/make.conf", the postfix installation goes well without error, but mail can't send or receive.

# ISP postfix
.if ${.CURDIR:N*/ports/mail/postfix*} == ""
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
#LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2


Then, relaunch the ISPManager process and i meet another issue relates to WWW domain:

http:OK
https:OK
cgi:OK
ssi:OK
smtp:OK
smtpout:OK
Error: Unable to get www document root
pop3:OK
Error: Unable to get www document root
ftp:ERROR:noauth
quota:OK
fw:OK
mysql:OK:5.5.29 Source distribution
dns:OK
webmail:ERROR
myadmin:OK:phpMyAdmin


Could you please show me what are these error and how to fix it completely?

Thank you.

b:z
02-05-2013, 10:27 AM
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:

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


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.