[Pkg-exim4-users] swaks tls error

James Hosken james at jamesho.co.uk
Thu Nov 26 19:37:52 UTC 2009


Hi

Just installed Lenny onto a Kurobox and now trying to get exim4 to work
with tls.

I've generally followed the instructions at
http://www.pigstye.net/2006/09/26/exim4-with-courier-imap-using-maildirs

Testing the TLS and Authentication with swaks I get an error:




:/etc# swaks -a -tls -q HELO -s localhost -au root -ap '<>'
=== Trying localhost:25...
=== Connected to localhost.
<-  220 x.y.z ESMTP Exim 4.69 Thu, 26 Nov 2009 19:15:32 +0000
 -> EHLO x.y.z
<-  250-x.y.z Hello localhost [127.0.0.1]
<-  250-SIZE 52428800
<-  250-PIPELINING
<-  250-STARTTLS
<-  250 HELP
 -> STARTTLS
*** Remote host closed connection unexpectedly.



my update-exim4.conf.conf contains


dc_eximconfig_configtype='smarthost'
dc_other_hostnames='x.y.z'
dc_local_interfaces='127.0.0.1;192.168.x.y'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='127.0.0.1;192.168.x.0/24;192.168.x.0/24;192.168.x.0/24'
dc_smarthost='smtp.xyz.co.uk'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='maildir_home'


I have added MAIN_TLS_ENABLE = true
to /etc/exim4/conf.d/main# more 00_local_settings


Is there any thing else that I need to do?

Thanks for any help that you can pass on.
James




More information about the Pkg-exim4-users mailing list