> Hello. > I'm running Ubuntu 7.04 (Feisty Fawn) Server Edition as a mail server > with Postifix 2.3.8 and i'm trying to setup SASL in Postifx for smtp > authentication (authenticate system users, using pam mechanism in > sasl). > After a while i could find some decent howtos about configuring sasl. > I followed this two (ommiting the initial setup of postfix becuase i > have that running already): > http://www.jimmy.co.at/weblog/?p=52 > https://help.ubuntu.com/7.04/server/C/postfix.html > > I think i have correctly configured the saslauth deamon, at least > that's what testsaslauthd says: > testsaslauthd -u pruebarelay -p 1234 -f > /var/spool/postfix/var/run/saslauthd/mux > 0: OK "Success."
Show smtpd.conf > The problem comes when i try to test AUTH PLAIN through telnet (using > the base64 encode of the username and password showed above). This is > what i get: > $telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 mail.mydomain.com ESMTP Postfix (Ubuntu) > EHLO localhost > 250-mail.mydomain.com > 250-PIPELINING > 250-SIZE 10240000 > 250-VRFY > 250-ETRN > 250-STARTTLS > 250-AUTH LOGIN PLAIN > 250-AUTH=LOGIN PLAIN > 250-ENHANCEDSTATUSCODES > 250-8BITMIME > 250 DSN > AUTH PLAIN AHBydWViYXJlbGF5CjM0 > 535 5.7.0 Error: authentication failed: bad protocol / cancel How did you got string AHBydWViYXJlbGF5CjM0?