sending via Smarthost which is secured by SASL / T - WeOnlyDo Discussion board

sending via Smarthost which is secured by SASL / T (General questions)

by LOGO Datensysteme, Tuesday, December 05, 2006, 17:19 (6563 days ago)

This is driving me crazy [:doh:]

I want to send via our own mailserver (as smarthost) to a foreign server. This would be relaying so i have to AUTH myself to our server...
[code]
thisform.wodemail.login = ALLTRIM(lcSmartUser)
thisform.wodemail.password = ALLTRIM(lcSmartPW)
thisform.wodemail.authentication= 8 && AuthPlain
thisform.wodemail.security = 1 && SecurityAllowed
[/code]

Everything works fine. Client and Server negotiate to use SSL when STARTTLS was offered.

But when Client sents AUTH-Infos, the Server disconnects without warning. Serverlog show this:

postfix/smtpd[5497]: connect from 87.234.207.154
postfix/smtpd[5497]: setting up TLS connection from 87.234.207.154

[code]
postfix/smtpd[5497]: TLS connection established from 87.234.207.154: TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)
postfix/smtpd[5497]: warning: SASL authentication failure: Got more data than we were expecting in the PLAIN plugin?
postfix/smtpd[5497]: warning: 87.234.207.154: SASL PLAIN authentication fail: bad protocol / cancel
postfix/smtpd[5497]: lost connection after AUTH from 87.234.207.154
postfix/smtpd[5497]: disconnect from 87.234.207.154 [/code]

Any ideas what i am missing here?

Thanks alot and best regards
Michael


Complete thread: