SMTP Auth failing with unknown error

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

cartel
Posts: 54
Joined: Tue May 08, 2007 10:52 pm
Location: Auckland, New Zealand

SMTP Auth failing with unknown error

Postby cartel » Thu Aug 30, 2007 7:16 pm

Augh! SMTP auth isnt working. Here's a transcript for a test user I ran through telnet.

Code: Select all

220 scalix.redacted.com ESMTP Scalix SMTP Relay 11.1.0.10849; Fri, 31 Aug 2007 10:
54:18 +1200 (NZST)
HELO x
250 scalix.redacted.com Hello  [192.168.228.196], pleased to meet you
AUTH LOGIN
334 VXNlcm5hbWU6
dGVzdHVzZXIK
334 UGFzc3dvcmQ6
Zm9vYmFyCg==
535 Unknown error


More helpful error messages - are you guys following the microsoft school of providing useless errors to frustrate admins? I'd rather have a Guru Meditation, thanks.

There's nothing in the smtp gateway log (log level is set to all messages).

[/code]

cartel
Posts: 54
Joined: Tue May 08, 2007 10:52 pm
Location: Auckland, New Zealand

Postby cartel » Thu Aug 30, 2007 11:43 pm

I enabled the debug option in smtpd.cfg, the resultant log wasnt much help.

Code: Select all

[2007-08-31 15:34:54] Accepted client 1 from  ()
[2007-08-31 15:34:54] Cli 24727/1 sent  :
220 scalix.phitek.com ESMTP Scalix SMTP Relay 11.1.0.10849; Fri, 31 Aug 2007 15:
34:54 +1200 (NZST)
[2007-08-31 15:34:56] Cli 24727/1 rcvd: 'AU'
[2007-08-31 15:34:56] Cli 24727/1 sent  :
500 Unrecognised command
[2007-08-31 15:34:57] Cli 24727/1 rcvd: 'EHLO x'
[2007-08-31 15:34:57] Cli 24727/1 sent  :
250-scalix.phitek.com Hello  [192.168.228.196], pleased to meet you
250-AUTH PLAIN DIGEST-MD5 GSSAPI CRAM-MD5 LOGIN
250-AUTH=LOGIN
250-DSN
250 8BITMIME
[2007-08-31 15:34:58] Cli 24727/1 rcvd: 'AUTH LOGIN'
[2007-08-31 15:34:58] Cli 24727/1 sent  :
334 VXNlcm5hbWU6
[2007-08-31 15:35:01] Cli 24727/1 sent  :
334 UGFzc3dvcmQ6
[2007-08-31 15:35:07] Cli 24727/1 sent  :
535 Unknown error
[2007-08-31 15:35:09] Cli 24727/1 failed: EOF

cartel
Posts: 54
Joined: Tue May 08, 2007 10:52 pm
Location: Auckland, New Zealand

Postby cartel » Fri Aug 31, 2007 12:53 am

The faliure is different when authenticating a user against AD:

220 scalix.redacted.com ESMTP Scalix SMTP Relay 11.1.0.10849; Fri, 31 Aug 2007 16:
46:12 +1200 (NZST)
HELO x
250 scalix.redacted.com Hello [192.168.228.196], pleased to meet you
AUTH LOGIN
334 VXNlcm5hbWU6
bG9sbGVyc2thdGVzQHJldGFydGVkLmNvbQo=
334 UGFzc3dvcmQ6
a2xramtsamFkZmoK
535 Incorrect authentication data

cartel
Posts: 54
Joined: Tue May 08, 2007 10:52 pm
Location: Auckland, New Zealand

Postby cartel » Fri Aug 31, 2007 1:07 am

Amazingly, using authnc works using the same data, but I cannot complete a session using Outlook, Thunderbird or Telnet.

cartel
Posts: 54
Joined: Tue May 08, 2007 10:52 pm
Location: Auckland, New Zealand

Postby cartel » Fri Aug 31, 2007 11:32 pm

This was actually caused by stunnel binding to 127.0.0.1:25 (sendmail) instead of 192.168.228.201:25 (omsmtpd)


Return to “Scalix Server”



Who is online

Users browsing this forum: Google [Bot] and 3 guests