[Exim] tls problems in exim-4.32 (was 4.30)

Pàgina inicial
Delete this message
Reply to this message
Autor: T. Horsnell (tsh)
Data:  
A: exim-users
Assumpte: [Exim] tls problems in exim-4.32 (was 4.30)
OK, I waited for 4.32 as Phil suggested, and this indeed fixed
the OSF compile-time problem concerning:
#define SOCKLEN_T    size_t


However, I still have the situation I reported for 4.30 where an exim
built with TLS support moans about a configfile error, yet continues to
run, and appears to offer TLS support at the EHLO command, but the -bV
option doesnt show an exim built with TLS support:

# /local/src/exim/exim-4.32/build-OSF1-alpha/exim -bV
Exim version 4.32 #5 built 19-Apr-2004 17:47:42
Copyright (c) University of Cambridge 2004
Probably ndbm
Support for: iconv() OpenSSL
Lookups: lsearch wildlsearch nwildlsearch dbm dbmnz
Authenticators: plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
Fixed never_users: 0
Configuration file is /usr/local/exim/configure
#

The 4.32 version is config'd to use port 26. Its the only 4.32 version I have:

# /local/src/exim/exim-4.32/build-OSF1-alpha/exim -bdf -q1h -C/local/src/exim/exim-4.32/configure
2004-04-19 18:04:13 Exim configuration error in line 12 of /local/src/exim/exim-4.32/configure:
main option "tls_advertise_hosts" unknown

# ps -ef | grep exim | grep -v grep
exim       1206      1  0.0 16:17:03 ??           0:00.83 /usr/local/exim/bin/exim -bd -q15m -om
exim      13909  13908  0.0 16:31:46 ??           0:00.00 /lmbsys/http/httpd -d /lmbsys/http/spamfilter
exim      47276  37348  0.0 18:21:28 pts/12       0:00.02 /local/src/exim/exim-4.32/build-OSF1-alpha/exim -bdf -q1h -C/local/src/exim/exim-4.32/configure


# telnet alf1 26
Trying 10.1.0.1...
Connected to alf1.lmb.internal.
Escape character is '^]'.
220 alf1.lmb.internal ESMTP Exim 4.32 Mon, 19 Apr 2004 18:13:18 +0100
EHLO alf1
250-alf1.lmb.internal Hello alf1.lmb.internal [10.1.0.1]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP

The 'make' had a few warnings:

cc -c -O -I.   -I/usr/local/ssl/include/openssl/ daemon.c
cc: Warning: daemon.c, line 320: In this statement, the referenced type of the pointer value "&ifsize" is "unsigned long", which is not compatible with "int". (ptrmismatch)
     &ifsize) < 0)
-----^
cc: Warning: daemon.c, line 1529: In this statement, the referenced type of the pointer value "&len" is "unsigned long", which is not compatible with "int". (ptrmismatch)
              (struct sockaddr *)&accepted, &len);
--------------------------------------------^



cc -c -O -I.   -I/usr/local/ssl/include/openssl/ exim.c
cc: Warning: exim.c, line 3151: In this statement, the referenced type of the pointer value "&size" is "unsigned long", which is not compatible with "int". (ptrmismatch)
  if (getpeername(0, (struct sockaddr *)(&inetd_sock), &size) == 0)
-------------------------------------------------------^
cc: Warning: exim.c, line 3159: In this statement, the referenced type of the pointer value "&size" is "unsigned long", which is not compatible with "int". (ptrmismatch)
      if (getsockname(0, (struct sockaddr *)(&interface_sock), &size) == 0)
---------------------------------------------------------------^


cc -c -O -I.   -I/usr/local/ssl/include/openssl/ rfc2047.c
cc: Warning: rfc2047.c, line 260: In this statement, the referenced type of the pointer value "(const char ...)(&dptr)" is "pointer to const char", which is not compatible with "pointer to char". (ptrmismatch)
      (void)iconv(icd, (ICONV_ARG2_TYPE)(&dptr), &dlen, CSS &outptr, &outleft);
-----------------------^


cc -c -O -I.   -I/usr/local/ssl/include/openssl/ smtp_in.c
cc: Warning: smtp_in.c, line 1239: In this statement, the referenced type of the pointer value "&optlen" is "unsigned long", which is not compatible with "int". (ptrmismatch)
          &optlen) < 0)
----------^




Any ideas?

Cheers,
Terry.