Subject: Re: Exim and TLS (OpenSSL) unsuccessful
To: None <netbsd-users@netbsd.org>
From: netbsd.ndk <gibber_ndk@yahoo.com>
List: netbsd-users
Date: 10/30/2001 07:04:19
I've been emailing Philip Hazel (Exim originator) and he suggested I
grep the config.h that NetBSD builds for #define SUPPORT_TLS yes. I
ran
/usr/pkgsrc/mail/exim/work/exim-3.32/build-NetBSD-i386# egrep -i
'support_tls' config.h
and received
/* SUPPORT_TLS not set */
So, I'd like to change it to #define SUPPORT_TLS yes and force a
rebuild from the current files. How can I do this from the files
that already exist in the work subdir?
--- "netbsd.ndk" <gibber_ndk@yahoo.com> wrote:
> I installed Exim 3.32 from pkgsrc with the default options for TLS
> in
> the Makefile:
>
> SUPPORT_TLS= YES
> TLS_LIBS= -lssl -lcrypto
>
> Exim ran fine, but 'STARTTLS' returned a '500 Unrecognized command'
> error from telnet. So, I knew that TLS support was not compiled
> in.
>
> I upgraded OpenSSL to 0.9.6 from pkgsrc and put the locations of
> the
> upgraded OpenSSL lib and include files in the Makefile:
>
> SUPPORT_TLS= YES
> TLS_LIBS= -L/usr/pkg/lib/ -lssl -lcrypto
> TLS_INCLUDE= -I/usr/pkg/include/openssl/
>
> When the binary builds, it doesn't mention anything about OpenSSL,
> but it doesn't complain about the libs and include files not being
> there either!
>
> When I add the lines:
>
> tls_advertise_hosts = *
> tls_certificate = /etc/mail/certs/exim.pem
> tls_privatekey = /etc/mail/certs/exim.pem
>
> to /usr/pkg/etc/exim/configure and restart exim, I get 'Exim
> configuration errors' regarding the tls_* options.
>
> Has anyone successfully built Exim with TLS and can tell me how
> they
> built it with either the default OpenSSL libs/includes or the
> pkgsrc
> OpenSSL libs/includes? I'd also like to see their configure file
> and
> exactly where the 'tls_*' options go. I have searched Google, the
> exim-users mailing list, all the netbsd mailing lists and no one
> has
> ever reported this.
>
> What am I missing here?
>
> TIA
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com