[Bulk] Re: postfix+cyrus sasl problem

Manuel Arostegui Ramirez manuel at todo-linux.com
Thu Oct 20 18:07:35 UTC 2005


Hi.

I get the same error, i also get this one:

Oct 20 20:00:55 desastre postfix/smtpd[2862]: connect from 
unknown[192.168.1.2]
Oct 20 20:00:55 desastre postfix/smtpd[2862]: watchdog_pat: 0x8082e28
Oct 20 20:00:55 desastre postfix/smtpd[2862]: < unknown[192.168.1.2]: EHLO 
Mind
Oct 20 20:00:55 desastre postfix/smtpd[2862]: > unknown[192.168.1.2]: 
250-desastre.manuelarostegui.com
Oct 20 20:00:55 desastre postfix/smtpd[2862]: > unknown[192.168.1.2]: 
250-PIPELINING
Oct 20 20:00:55 desastre postfix/smtpd[2862]: > unknown[192.168.1.2]: 250-SIZE 
10240000
Oct 20 20:00:55 desastre postfix/smtpd[2862]: > unknown[192.168.1.2]: 250-VRFY
Oct 20 20:00:55 desastre postfix/smtpd[2862]: > unknown[192.168.1.2]: 250-ETRN
Oct 20 20:00:55 desastre postfix/smtpd[2862]: > unknown[192.168.1.2]: 250-AUTH 
GSSAPI PLAIN LOGIN DIGEST-MD5 CRAM-MD5
Oct 20 20:00:55 desastre postfix/smtpd[2862]: > unknown[192.168.1.2]: 
250-AUTH=GSSAPI PLAIN LOGIN DIGEST-MD5 CRAM-MD5
Oct 20 20:00:55 desastre postfix/smtpd[2862]: > unknown[192.168.1.2]: 
250-XVERP
Oct 20 20:00:55 desastre postfix/smtpd[2862]: > unknown[192.168.1.2]: 250 
8BITMIME
Oct 20 20:00:55 desastre postfix/smtpd[2862]: watchdog_pat: 0x8082e28
Oct 20 20:00:55 desastre postfix/smtpd[2862]: < unknown[192.168.1.2]: AUTH 
LOGIN
Oct 20 20:00:55 desastre postfix/smtpd[2862]: smtpd_sasl_authenticate: 
sasl_method LOGIN
Oct 20 20:00:55 desastre postfix/smtpd[2862]: smtpd_sasl_authenticate: uncoded 
challenge: Username:
Oct 20 20:00:55 desastre postfix/smtpd[2862]: > unknown[192.168.1.2]: 334 
VXNlcm5hbWU6
Oct 20 20:00:55 desastre postfix/smtpd[2862]: < unknown[192.168.1.2]: 
bWFpbDAwMDFAZGVzYXN0cmU=

Oct 20 20:00:55 desastre postfix/smtpd[2862]: smtpd_sasl_authenticate: decoded 
response: XXXX -> This is the right user

Oct 20 20:00:55 desastre postfix/smtpd[2862]: smtpd_sasl_authenticate: uncoded 
challenge: Password:
Oct 20 20:00:55 desastre postfix/smtpd[2862]: > unknown[192.168.1.2]: 334 
UGFzc3dvcmQ6
Oct 20 20:00:56 desastre postfix/smtpd[2862]: < unknown[192.168.1.2]: 
cm9ib3RpY2E=

 Oct 20 20:00:56 desastre postfix/smtpd[2862]: smtpd_sasl_authenticate: 
decoded response: XXXX -> This is the righ password

Oct 20 20:00:56 desastre postfix/smtpd[2862]: warning: SASL authentication 
problem: unrecognized plaintext verifier saslauthd
Oct 20 20:00:56 desastre postfix/smtpd[2862]: warning: unknown[192.168.1.2]: 
SASL LOGIN authentication failed
Oct 20 20:00:56 desastre postfix/smtpd[2862]: > unknown[192.168.1.2]: 535 
Error: authentication failed



The user and password that sasl decoded is the ones who i created using 
cyradm, so it's ok, i don't know why it said authentication failed.

Do you need the output of some configuration file?

Thank you in advance

Manuel




El Jueves 20 Octubre 2005 06:27, Anmol Bedi escribió:
> Hi,
>  You need to choose the appropriate authentication plugin, you can chose
> auxprop, sql, ldap, saslauthd.
>  And you have selected saslauthd here.
>  So you need to change your smtpd.conf which can be found in sasl2
> directory.
>  E.g.
>  # smtpd.conf
> pwcheck_method: auxprop
> auxprop_plugin: sql
> mech_list: plain login
>
> sql_engine: mysql
> sql_hostnames: localhost
> sql_user: vmailuser
> sql_passwd: password123
> sql_database: mail
> sql_select: select clear from postfix_users where email='%u@%r' and
> smtpaccess='Y'
>   You need to alter your query lines as per your database structure.
>  for any more probs do contact me.
>   Regards,
> Anmol Bedi
> RHCT, CCNA
>
>  On 10/20/05, Manuel Arostegui Ramirez <manuel at todo-linux.com> wrote:
> > El Martes 18 Octubre 2005 17:56, Manuel Arostegui Ramirez escribió:
> > > Hi all.
> > > I've installed postfix, which is running nice (i'm able to send a mail
> > > using telnet), i've also installed cyrus-imapd and cyrus-sasl.
> > > I want my users to be autenticaded using mysql, with pam_mysq, i've
> > > also installed saslauthd.
> > >
> > > I've got a problem when my users try to connect my smtp server, i get
> >
> > this:
> > > Oct 18 15:38:01 desastre postfix/smtpd[4522]: connect from
> > > unknown[192.168.1.2 <http://192.168.1.2>]
> > > Oct 18 15:38:01 desastre postfix/smtpd[4522]: warning:
> > > unknown[192.168.1.2 <http://192.168.1.2>]: SASL LOGIN authentication
> >
> > failed
> >
> > > Oct 18 15:38:06 desastre postfix/smtpd[4522]: disconnect from
> > > unknown[192.168.1.2 <http://192.168.1.2>]
> > >
> > >
> > > I'm sure that user and password (create with web-cyradm) is ok.
> > > I don't know where to search for the problem :(
> > > If you need the output of some file, i will be pleased to send you
> > > Thank you in advance
> > >
> > > Manuel
> >
> > Hi all, i've done some improvements in my installation, i got this error
> > in
> > logs, any help will be apreciate:
> >
> > warning: SASL authentication problem: unrecognized plaintext verifier
> > saslauthd
> >
> > Manuel
> >
> > --
> > Manuel Arostegui Ramirez #Linux Registered User 295750
> > Socio de Hispalinux 1813
> > Red Hat Linux 9, Kernel 2.6.2 ReiserFS
> > Firma cifrada
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.0.6 (GNU/Linux)
> > Comment: For info see http://www.gnupg.org
> > iD8DBQE+3O1MqfmPcHTj+twRAm
> > yDAJ9P6ezepIMg06vOet/YPKxVoB+Z/ACfWVhh
> > ---END PGP SIGNATURE-----
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> With warm regards,
>
> Anmol Bedi

-- 
Manuel Arostegui Ramirez #Linux Registered User 295750
Socio de Hispalinux 1813
Red Hat Linux 9, Kernel 2.6.2 ReiserFS
Firma  cifrada
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+3O1MqfmPcHTj+twRAm
yDAJ9P6ezepIMg06vOet/YPKxVoB+Z/ACfWVhh
---END PGP SIGNATURE-----




More information about the redhat-list mailing list