Holger -
In this case the error tells you everything you need to know.
Holger Seidenberg wrote:
Hi,
i have some problems with smtp_auth(), im using qmail-smtpd-auth-0.31
patch and get this error message
telnet localhost 25
Trying 127.0.0.1...
220 cronus.it-gurus.org ESMTP
ehlo
250-cronus.it-gurus.org
250-STARTTLS
250-AUTH LOGIN CRAM-MD5 PLAIN
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-PIPELINING
250 8BITMIME
Auth login
334 VXNlcm5hbWU6
This is a base 64 encoded string that says "Username:"
[EMAIL PROTECTED]
501 malformed auth input (#5.5.4)
You replied with plain text, which is wrong. You need to send the base64
encoded [EMAIL PROTECTED], then it'll send back a base64 encoded
string that says "Password:", to which you reply with the base64 encoded
password. Simply reading the smtp auth spec would tell you how each auth
method is expected to work.
Hope that helps,
Nick Harring
Webley Systems