Mailing List CGatePro@mail.stalker.com Message #104194
From: Tom Rymes <trymes@rymes.com>
Subject: NTLM Format Error: Sending mail via CGP from .net
Date: Wed, 08 May 2013 17:57:07 -0400
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
A web developer with whom we have been working has been having trouble sending mails from a .Net application. It sounds like the problem we are running into might be this:

http://blogs.msdn.com/b/akashb/archive/2009/09/16/system-net-mail-unable-to-authenticate-against-some-third-party-smtp-servers.aspx But then again, that doesn't sound like the CGP I know and love.

This is what I see in the logs (hopefully there's nothing that should have been better obfuscated here...). I normally do not have NTLM enabled, but I tried enabling it (as you can see), and it still does not work:

***
17:25:06.427 4 SMTPI-056749([192.168.0.1]) got connection on [192.168.0.10]:587(rymes.com) from [192.168.0.1]:61483
17:25:06.427 5 SMTPI-056749([192.168.0.1]) out: 220 rymes.com ESMTP CommuniGate Pro 5.4.6 is glad to see you!\r\n
17:25:06.521 5 SMTPI-056749([192.168.0.1]) inp: EHLO SomePCName
17:25:06.521 5 SMTPI-056749([192.168.0.1]) out: 250-rymes.com domain name should be qualified SomePCName\r\n250-DSN\r\n250-SIZE\r\n250-STARTTLS\r\n250-AUTH LOGIN PLAIN CRAM-MD5 GSSAPI NTLM\r\n250-ETRN\r\n250-TURN\r\n250-ATRN\r\n250-NO-SOLICITING\r\n250-HELP\r\n250-PIPELINING\r\n250 EHLO\r\n
17:25:06.630 5 SMTPI-056749([192.168.0.1]) inp: AUTH gssapi TlRMTVNTUAABAAAAl4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw==
17:25:06.630 5 SMTPI-056749([192.168.0.1]) SASL(gssapi) ini: 4E 54 4C 4D 53 53 50 00 01 00 00 00 97 82 08 E2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 01 B0 1D 00 00 00 0F 00
17:25:06.630 5 SMTPI-056749([192.168.0.1]) SASL-1(gssapi) out: 4E 54 4C 4D 53 53 50 00 02 00 00 00 00 00 00 00 30 00 00 00 03 02 98 40 38 45 32 36 39 42 38 36 00 00 00 00 00 00 00 00 04 00 04 00 30 00 00 00 00 00 00 00
17:25:06.630 5 SMTPI-056749([192.168.0.1]) out: 334 TlRMTVNTUAACAAAAAAAAADAAAAADAphAOEUyNjlCODYAAAAAAAAAAAQABAAwAAAAAAAAAA==\r\n
17:25:06.724 5 SMTPI-056749([192.168.0.1]) inp:
17:25:06.724 5 SMTPI-056749([192.168.0.1]) SASL-1(gssapi) inp:
17:25:06.724 5 SMTPI-056749([192.168.0.1]) out: 535 GSSAPI: NTLM format error\r\n
17:25:06.724 5 SMTPI-056749([192.168.0.1]) inp:
17:25:06.724 5 SMTPI-056749([192.168.0.1]) out: 501 Unknown command\r\n
17:25:06.833 5 SMTPI-056749([192.168.0.1]) inp: AUTH login cHVibGljQHJ5bWVzLmNvbQ==
17:25:06.833 5 SMTPI-056749([192.168.0.1]) SASL(login) ini: user@mydom.ain\000
17:25:06.833 5 SMTPI-056749([192.168.0.1]) SASL-1(login) out: Password:
17:25:06.833 5 SMTPI-056749([192.168.0.1]) out: 334 UGFzc3dvcmQ6\r\n
17:25:06.927 5 SMTPI-056749([192.168.0.1]) inp: MAIL FROM:<user@mydom.ain>
17:25:06.927 5 SMTPI-056749([192.168.0.1]) SASL-1(login) inp: 0\002\011\021\019\140r\235-\162g\171\177\234\239\137\199\171\202g\172r\137
17:25:08.955 5 SMTPI-056749([192.168.0.1]) out: 535 (515) incorrect password or account name\r\n
17:25:08.955 3 SMTPI-056749([192.168.0.1]) read failed. Error Code=connection closed by peer
17:25:08.955 4 SMTPI-056749([192.168.0.1]) closing connection
17:25:08.955 4 SMTPI-056749([192.168.0.1]) releasing stream

Can anyone provide any input on how to move forward here?

Many thanks,

Tom
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster