Hello,
I try to compile dovecot in Version 2.0.11 with ssl support on a CentOS
4.5 system.
Installed packages are openssl and openssl-devel.
after "./configure --with-ssl=openssl" "make" "make
install"the message is:
(also tried with CPPFLAGS="-I/opt/openssl/include"
LDFLAGS="-L/opt/openssl/lib -ldl")
Install prefix . : /usr/local
File offsets ... : 64bit
I/O polling .... : epoll
I/O notifys .... : dnotify
SSL ............ : yes (OpenSSL)
GSSAPI ......... : no
passdbs ........ : static passwd passwd-file shadow checkpassword
: -pam -bsdauth -sia -ldap -sql -vpopmail
userdbs ........ : static prefetch passwd passwd-file checkpassword nss
: -ldap -sql -vpopmail
SQL drivers .... :
: -pgsql -mysql -sqlite
so it looks like SSL support is included, but when I start dovecot the
message is:
# 2.0.11: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-128.1.1.el5.028stab062.3ent i686 CentOS release
4.5 (Final)
passdb {
driver = pam
}
protocols = imap
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = passwd
}
doveconf: Error: SSL support not compiled in but ssl=yes
doveconf: Fatal: Error in configuration file
/usr/local/etc/dovecot/dovecot.conf: SSL support not compiled in but ssl=yes
I also tried to use the source files of openssl and compile openssl by
myself, but the error is the same.
thanks
Regards Markus
Hello,
I try to compile dovecot in Version 2.0.11 with ssl support on a CentOS
4.5 system.
Installed packages are openssl and openssl-devel.
after "./configure --with-ssl=openssl" "make" "make
install"the message is:
(also tried with CPPFLAGS="-I/opt/openssl/include"
LDFLAGS="-L/opt/openssl/lib -ldl")
Install prefix . : /usr/local
File offsets ... : 64bit
I/O polling .... : epoll
I/O notifys .... : dnotify
SSL ............ : yes (OpenSSL)
GSSAPI ......... : no
passdbs ........ : static passwd passwd-file shadow checkpassword
: -pam -bsdauth -sia -ldap -sql -vpopmail
userdbs ........ : static prefetch passwd passwd-file checkpassword nss
: -ldap -sql -vpopmail
SQL drivers .... :
: -pgsql -mysql -sqlite
so it looks like SSL support is included, but when I start dovecot the
message is:
# 2.0.11: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-128.1.1.el5.028stab062.3ent i686 CentOS release
4.5 (Final)
passdb {
driver = pam
}
protocols = imap
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = passwd
}
doveconf: Error: SSL support not compiled in but ssl=yes
doveconf: Fatal: Error in configuration file
/usr/local/etc/dovecot/dovecot.conf: SSL support not compiled in but ssl=yes
I also tried to use the source files of openssl and compile openssl by
myself, but the error is the same.
thanks
Regards Markus
Timo Sirainen
2011-Mar-25 22:57 UTC
[Dovecot] try to compile dovecot 2.0.11 with ssl support
On Thu, 2011-03-24 at 21:58 +0100, easy wrote:> SSL ............ : yes (OpenSSL)So it should be there..> so it looks like SSL support is included, but when I start dovecot the > message is: > > doveconf: Error: SSL support not compiled in but ssl=yesWell, that's weird. Are you sure you're running the just-compiled version of Dovecot (i.e. not a previously installed version that didn't have OpenSSL compiled in)? What does dovecot --build-options say? Do you have "#define HAVE_SSL" in config.h?
Hello,>> SSL ............ : yes (OpenSSL) > >So it should be there.. > >> so it looks like SSL support is included, but when I start dovecot the >> message is: >> >> doveconf: Error: SSL support not compiled in but ssl=yes > >Well, that's weird. Are you sure you're running the just-compiled >version of Dovecot (i.e. not a previously installed version that didn't >have OpenSSL compiled in)? >Yes, I think so. I tried to find every dovecot directory and files and deleted it. After "make" and "make install" there was a new file under "/usr/local/sbin/dovecot" this is the one I use.>What does dovecot --build-options say?output of "/usr/local/sbin/dovecot --build-options" Build options: ioloop=epoll notify=dnotify ipv6 io_block_size=8192 Mail storages: cydir maildir mbox mdbox raw sdbox shared SQL drivers: Passdb: checkpassword passwd passwd-file shadow Userdb: checkpassword nss passwd prefetch passwd-file This looks strange because there is no ssl support.>Do you have "#define HAVE_SSL" in config.h?No, I only can find "#define HAVE_OPENSSL" Regards, Markus -- NEU: FreePhone - kostenlos mobil telefonieren und surfen! Jetzt informieren: http://www.gmx.net/de/go/freephone