Hi there!
I run Wingate 6.6.4 Build 1338 prof. on WinXP SP3 german. Since last week, i experience a strange problem with the WG mailserver:
The mailserver submits wrong credentials when it tries to deliver a mail to the ISP's mailserver (auth. required).
I tracked it down to the following:
Wingate generates a wrong Base64-encoded username as to be seen in the logfile-excerpt!
02/07/14 15:20:12 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 220 <servername> Welcome to Nemesis ESMTP server
02/07/14 15:20:12 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de C=>: EHLO <Wingate machine name>
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 250-<servername>
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 250-STARTTLS
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 250-AUTH LOGIN PLAIN
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 250-AUTH=LOGIN PLAIN
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 250-SIZE 120000000
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 250 HELP
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de C=>: STARTTLS
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 220 OK
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de C=>: EHLO <Wingate machine name>
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 250-<serverame>
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 250-AUTH LOGIN PLAIN
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 250-AUTH=LOGIN PLAIN
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 250-SIZE 120000000
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 250 HELP
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de C=>: AUTH LOGIN
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de <=S: 334 VXNlcm5hbWU6
02/07/14 15:20:13 127.0.0.2 <system> 0000015630 Debug: smtp.1und1.de C=>: c2VyxxxxxxxxxxxxxxxxxxxxxxxxLmRlAA==
This username in cleartext (which i do not post here) should translate to
'c2VyxxxxxxxxxxxxxxxxxxxxxxxxLmRl', but Wingate adds two Null-databytes ('AA') and two filler-bytes ('==')
Since the cleartext-string is a username/mailadress, it obviously does not contain Null-bytes and it's length is exactly 24 characters==>32 Base64-values,
so there is no need for any fill-bytes at the end.
Needless to say that the ISP's server regards this as 'invalid credentials'.
I triple-checked the settings in WG configuration, even checked the corresponding registry-entries - no Null-bytes there!
I tried manual logon using telnet and the abovementioned - correct - Base64-username and the corresponding password
and as expected it was accepted by the ISP-Server.
Similar problem when using AUTH PLAIN: Three Nullbytes at the end of the credential-string.
Can anybody shed some light on this??
TIA
Burkhard Schwarte