Re: [exim] Routing through a local SSH tunnel

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: Re: [exim] Routing through a local SSH tunnel
Norman Walsh <ndw@???> (Do 26 Jun 2014 22:45:35 CEST):
> Heiko Schlittermann <hs@???> writes:
> >     route_list = *employer.com localhost
> >     self = send

>
> Well. Sort of.
>
> 2014-06-26 15:42:56 1X0GVU-0005uE-Mk <= Norman.Walsh@??? U=ndw P=local S=716 id=87tx77bdwv.fsf@???
> 2014-06-26 15:43:02 1X0GVU-0005uE-Mk TLS error on connection to localhost [127.0.0.1] (recv): A TLS packet with unexpected length was received.
> 2014-06-26 15:43:02 1X0GVU-0005uE-Mk TLS error on connection to localhost [127.0.0.1] (send): The specified session has been invalidated for some reason.


How does your SSH tunnel command look like?

Seems as if you start an TLS attempt, but it doesn't seem to work.
Probably they offer STARTTLS, so your Exim tries to use it. How sure are
you about the remote side to support TLS?

    swaks --tls --port <local-port> --server localhost -q ehlo


> 2014-06-26 15:43:02 1X0GVU-0005uE-Mk ** norman.walsh@??? <Norman.Walsh@???> R=employer T=remote_smtp_employer: SMTP error from remote mail server after MAIL FROM:<Norman.Walsh@???> SIZE=1763: host localhost [127.0.0.1]: 530 5.7.1 Client was not authenticated


Looks as if Exim falls back to unencrypted connection, but the remote
end does not accept you without authentication. You'll need to
authenticate.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
 gnupg fingerprint: 9288 F17D BBF9 9625 5ABC  285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B)-