* Ricardo Barbosa <spidersl...@yahoo.com.br>: > but smtp not worked with auth plain. but I also have a mysql server > by my understanding, the sasl uses to authenticate users from smtp dovecot so > the parameter "smtpd_sasl_type = dovecot", correct? funny that the dovecot is > working, as much as pop imap. > I did see the tests via smtp authentication > > perl -MMIME::Base64 -e 'print encode_base64("\000u...@domain.com\000123456");' > AHVzZXIuY29tADEyMzQ1Ng==
You don't send what you need to: $ gen-auth decode AHVzZXIuY29tADEyMzQ1Ng== user.com123456 I get a completely different string when I use gen-auth to generate the base64 identification string: $ gen-auth plain 000u...@domain.com 000123456 Auth String: ADAwMHVzZXJAZG9tYWluLmNvbQAwMDAxMjM0NTY= Use gen-auth when you generate your base64 strings. The SASL_README tells where to get it. p@rick -- [*] sys4 AG Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666 Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Joerg Heidrich