[Postfix-es] table lookup problem

Anton Maria Rodriguez Yuste sceibe en r-yuste.com
Vie Ene 7 21:23:26 CET 2005


Parece que ya esta solucionado!

Recompile nuevamente postfix y como por arte de magia ya funciona perfectamente. 

No le veo mucho sentido (ya que recompilar mysql no deberia afectar a postfix) pero bueno, el caso es que ya tengo otra vez el servidor operativo.

Simon, me recorrí todo google y no encontré nada :(  El caso es que si funcionaba con el cliente de consola mysql, phpmyadmin o cualquier otro programa que usara mysql. Solo postfix daba error, y para eso solo en algún que otro caso (por ejemplo, si autentificaba).

Un saludo,

Antón

On Fri, 7 Jan 2005 20:18:06 +0100
Anton Rodriguez Yuste <sceibe en gmail.com> wrote:

> ---------- Forwarded message ----------
> From: Simon Mudd <sjmudd en pobox.com>
> Date: 07 Jan 2005 19:43:21 +0100
> Subject: Re: [Postfix-es] table lookup problem
> To: postfix-es en lists.wl0.org
> 
> 
> sceibe en gmail.com (Anton Rodriguez Yuste) writes:
> 
> > El caso es que ayer tuve que recompilar Mysql para añadir algunas
> > funcionalidades (LinuxTreathds). El tema se hizo rápido y ahora mi
> > servidor Mysql funciona a las mil maravillas, pero mi servidor de
> > correo ha dejado de enviar mails, aunque si puedo recibirlos.
> >
> > Os pongo un extracto del maillog a ver si sabeis decirme que puede ser:
> >
> > Jan  7 11:59:18 shareadictos postfix/smtpd[24050]: connect from
> > 21.Red-80-24-105.pooles.rima-tde.net[80.24.105.21]
> > Jan  7 11:59:34 shareadictos postfix/trivial-rewrite[24072]: warning:
> > connect to mysql server localhost: Bad handshake
> ...
> 
> > Obviamente me parecio un problema de Mysql, asï que he estado mirando.
> 
> ¿Quizá sea la versión de las librerías de mysql que usas en Postfix no
> son compatibles con las de el servidor?
> 
> Haría un "google" para Bad handshake
> 
> Me parece que algo así:
> 
> ==== snip ====
> http://www.jsw4.net/info/list-archives/mysql/04-wk05/msg00350.html
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I still have the problem with being unable to logon to a database
> > with a
> > password. When the password is entered - either on the command line
> > (-p???)
> > or on the following line (-p without a password), mysql returns a
> > "Bad
> > handshake" error message.
> >
> > I'm trying to connect on the machine running mysql
> > The server version is 4.1.1-1
> > The client software is 4.1.0-0 (which is, I believe, the latest for
> > download)
> > The user is not trying to log on remotely - and it happens with any
> > user (e.g.
> > I can't even put a password on the root account)
> > Things work fine as long as no password is involved.
> >
> > Can anyone offer any suggestions of how to fix this? I *CAN* convert
> > everything to PostgreSQL if I have to, but that is a last
> > resort. For what
> > we're doing, mysql is a better solution.
> >
> 
> The issue is that 4.1.0 used a different authentication handshake with
> a
> different form of password encoding.  Due to the fact that 4.1.0 was
> alpha, it was decided not to support the authentication that 4.1.0
> used
> for later releases as it was the only release that used it.  If you
> upgrade the client to 4.1.1 (which is available for download?  where
> didn't you see it?)  then you will no longer get that error message.
> 
> Regards,
> 
> Harrison
> ==== snip ====
> 
> Simon
> _______________________________________________
> List de correo Postfix-es
> Postfix-es en lists.wl0.org
> http://lists.wl0.org/mailman/listinfo/postfix-es


Más información sobre la lista de distribución Postfix-es