Re: [exim] SWAKS works to send / receive, but Can't connect…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Evgeniy Berdnikov
Date:  
À: exim-users
Sujet: Re: [exim] SWAKS works to send / receive, but Can't connect to exim4 smtp server from clients or telnett,
On Fri, Sep 19, 2014 at 09:28:13AM +0200, Dave Myers wrote:
> This is my telnet session.
>
>     telnet mail.exsportee.biz 25
>     Trying 92.39.247.92...
>     Connected to mail.exsportee.biz.
>     Escape character is '^]'.
>     220 vps4576-cloud.dns26.com ESMTP Exim 4.72 Thu, 18 Sep 2014
> 15:28:26 +0000
>     ehlo exsportee.biz
>     250-vps4576-cloud.dns26.com Hello
> 85-170-90-200.rev.numericable.fr [85.170.90.200]
>     250-SIZE 52428800
>     250-PIPELINING
>     250-AUTH LOGIN PLAIN
>     250-STARTTLS
>     250 HELP
>     auth plain
>     435 Unable to authenticate at present
>     auth plain "websales@???" "testPassword"
>     435 Unable to authenticate at present


Both forms are incorrect, PLAIN should be followed by base64-encoded
string with name and password delimited by NULL character.
So, it should be

AUTH PLAIN d2Vic2FsZXNAZXhzcG9ydGVlLmJpegB0ZXN0UGFzc3dvcmQ=

in your example. Consult RFC for details.
--
Eugene Berdnikov