[Pkg-exim4-users] swaks tls error

James Hosken james at jamesho.co.uk
Sat Dec 5 18:54:24 UTC 2009


Andreas Metzler wrote:
> James Hosken <james at jamesho.co.uk> wrote:
> [...]
>> 20:39:29  1854 SMTP<< STARTTLS
>> 20:39:29  1854 initializing GnuTLS as a server
>> Fatal: no entropy gathering module detected
> [...]
>
> The copy of libgcrypt11 that exim is linked against seems to be
> broken. I would be quite surprised if the Debian packages
> suffer from this problem, do you have a locally built copy, perhaps in
> /usr/local/lib?
>
> cu andreas

Thanks for the pointer.
I'm installing debian on a Kurobox (PowerPC NAS), it was with a customised
install. I've now reinstalled libgcrypt11.


Now running     exim4 -bd -d+all -oX 127.0.0.1:3333
gives

# exim4 -bd -d+all -oX 127.0.0.1:3333
18:45:41  2688 Exim version 4.69 uid=0 gid=0 pid=2688 D=fffdffff
Berkeley DB: Berkeley DB 4.6.21: (September 27, 2007)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb
dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
18:45:41  2688 changed uid/gid: forc# exim4 -bd -d+all -oX 127.0.0.1:3333
18:45:41  2688 Exim version 4.69 uid=0 gid=0 pid=2688 D=fffdffff
Berkeley DB: Berkeley DB 4.6.21: (September 27, 2007)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb
dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
18:45:41  2688 changed uid/gid: forcing real = effective
18:45:41  2688   uid=0 gid=0 pid=2688
18:45:41  2688   auxiliary group list: <none>
18:45:41  2688 seeking password data for user "uucp": cache not available
18:45:41  2688 getpwnam() succeeded uid=10 gid=10
18:45:41  2688 configuration file is /var/lib/exim4/config.autogenerated
18:45:41  2688 log selectors = 00000ffc 00612001
18:45:41  2688 cwd=/root 5 args: exim4 -bd -d+all -oX 127.0.0.1:3333
18:45:41  2688 trusted user
18:45:41  2688 admin user
18:45:41  2688 seeking password data for user "mail": cache not available
18:45:41  2688 getpwnam() succeeded uid=8 gid=8
18:45:41  2688 expanding: $1
18:45:41  2688    result: root
18:45:41  2688 user name "root" extracted from gecos field "root"
18:45:41  2688 originator: uid=0 gid=0 login=root name=root
18:45:41  2688 daemon_smtp_port overridden by -oX:
18:45:41  2688   <: 3333
18:45:41  2688 local_interfaces overridden by -oX:
18:45:41  2688   <: 127.0.0.1
18:45:41  2688 listening on 127.0.0.1 port 3333
18:45:41  2688 changed uid/gid: running as a daemon
18:45:41  2688   uid=103 gid=104 pid=2688
18:45:41  2688   auxiliary group list: 45 104
18:45:41  2688 LOG: MAIN
18:45:41  2688   exim 4.69 daemon started: pid=2688, no queue runs,
listening for SMTP on [127.0.0.1]:3333
18:45:41  2688 set_process_info:  2688 daemon: no queue runs, listening
for SMTP on [127.0.0.1]:3333
18:45:41  2688 daemon running with uid=103 gid=104 euid=103 egid=104
18:45:41  2688 Listening...
ing real = effective
18:45:41  2688   uid=0 gid=0 pid=2688
18:45:41  2688   auxiliary group list: <none>
18:45:41  2688 seeking password data for user "uucp": cache not available
18:45:41  2688 getpwnam() succeeded uid=10 gid=10
18:45:41  2688 configuration file is /var/lib/exim4/config.autogenerated
18:45:41  2688 log selectors = 00000ffc 00612001
18:45:41  2688 cwd=/root 5 args: exim4 -bd -d+all -oX 127.0.0.1:3333
18:45:41  2688 trusted user
18:45:41  2688 admin user
18:45:41  2688 seeking password data for user "mail": cache not available
18:45:41  2688 getpwnam() succeeded uid=8 gid=8
18:45:41  2688 expanding: $1
18:45:41  2688    result: root
18:45:41  2688 user name "root" extracted from gecos field "root"
18:45:41  2688 originator: uid=0 gid=0 login=root name=root
18:45:41  2688 daemon_smtp_port overridden by -oX:
18:45:41  2688   <: 3333
18:45:41  2688 local_interfaces overridden by -oX:
18:45:41  2688   <: 127.0.0.1
18:45:41  2688 listening on 127.0.0.1 port 3333
18:45:41  2688 changed uid/gid: running as a daemon
18:45:41  2688   uid=103 gid=104 pid=2688
18:45:41  2688   auxiliary group list: 45 104
18:45:41  2688 LOG: MAIN
18:45:41  2688   exim 4.69 daemon started: pid=2688, no queue runs,
listening for SMTP on [127.0.0.1]:3333
18:45:41  2688 set_process_info:  2688 daemon: no queue runs, listening
for SMTP on [127.0.0.1]:3333
18:45:41  2688 daemon running with uid=103 gid=104 euid=103 egid=104
18:45:41  2688 Listening...


Which I can not see any obvious errors with.

mainlog shows
2009-12-05 18:45:41 exim 4.69 daemon started: pid=2688, no queue runs,
listening for SMTP on [127.0.0.1]:3333

There is nothing in the paniclog.



Then running swaks -a -tls -q HELO -s localhost -au root -ap '<>'

# swaks -a -tls -q HELO -s localhost -au root -ap '<>'
=== Trying localhost:25...
*** Error connecting 0.0.0.0 to localhost:25:
*** 	IO::Socket::INET: connect: Connection refused



If I start via  /etc/init.d/exim4 start
Then running swaks -a -tls -q HELO -s localhost -au root -ap '<>'

# swaks -a -tls -q HELO -s localhost -au root -ap '<>'
=== Trying localhost:25...
=== Connected to localhost.
<-  220 <sniped IP> ESMTP Exim 4.69 Sat, 05 Dec 2009 18:50:40 +0000
 -> EHLO <sniped IP>
<-  250-<sniped IP> Hello localhost [127.0.0.1]
<-  250-SIZE 52428800
<-  250-PIPELINING
<-  250-STARTTLS
<-  250 HELP
 -> STARTTLS
*** Remote host closed connection unexpectedly.



mainlog shows

2009-12-05 18:50:36 exim 4.69 daemon started: pid=3072, -q30m, listening
for SMTP on [127.0.0.1]:25 [192.168.40.11]:25
2009-12-05 18:50:36 Start queue run: pid=3073
2009-12-05 18:50:36 End queue run: pid=3073


There is nothing in the paniclog.


The log files don't really help as far as I can tell.
James





More information about the Pkg-exim4-users mailing list