[Pkg-exim4-users] swaks tls error

James Hosken james at jamesho.co.uk
Fri Dec 4 20:40:15 UTC 2009


Andreas Metzler wrote:
> James Hosken <james at jamesho.co.uk> wrote:
>> Simon Josefsson wrote:
>>> "James Hosken" <james at jamesho.co.uk> writes:
>
>>>> :/etc# swaks -a -tls -q HELO -s localhost -au root -ap '<>'
> [...]
>>>> <-  250 HELP
>>>>  -> STARTTLS
>>>> *** Remote host closed connection unexpectedly.
>
>>> What's in the exim4 log?  Looks to me like it is dying.
>
>> Noting in either the mainlog or the paniclog.
>> Its odd.
>
> Hello,
> Please try with debugging.
>
> # Stop daemon
> /etc/init.d/exim4 stop
> # Start a smtp listner in foreground on port 3333, you can later stop
> # it by pressing <Ctrl>-C
> exim4 -bd -d+all -oX 127.0.0.1:3333
> swaks -a -tls -q HELO -s localhost -au root -ap '<>' -p 3333
>
> cu andreas

Thanks for that.

Here's the output
# swaks -a -tls -q HELO -s localhost -au root -ap '<>' -p 3333
=== Trying localhost:3333...
=== Connected to localhost.
<-  220 borrowdale.jamesho.co.uk ESMTP Exim 4.69 Fri, 04 Dec 2009 20:39:29
+0000
 -> EHLO borrowdale.jamesho.co.uk
<-  250-borrowdale.jamesho.co.uk Hello localhost [127.0.0.1]
<-  250-SIZE 52428800
<-  250-PIPELINING
<-  250-STARTTLS
<-  250 HELP
 -> STARTTLS
*** Remote host closed connection unexpectedly.


Here is the out put of the mainlog
2009-12-04 20:35:54 exim 4.69 daemon started: pid=1837, no queue runs,
listening for SMTP on [127.0.0.1]:3333


There is nothing in the paniclog.
Any ideas.

James



-- 
James Hosken
james at jamesho.co.uk
http://www.jamesho.co.uk
GnuPG Key ID: 0x44CB1D7




More information about the Pkg-exim4-users mailing list