Hans du Plooy writes:

On Sat, 2006-05-06 at 15:40 +0200, Hans du Plooy wrote:
But still, it doesn't seem to work.  I'm getting this in my log:

May  6 15:38:26 postbox courierpop3login: authdaemon: starting client
module
May  6 15:38:26 postbox authdaemond.mysql: failed to connect to mysql
server (server=127.0.0.1, userid=postfix)

Changed "127.0.0.1" to "localhost" and it worked.

Isn't this a bug?

authdaemon does not handle the server hostname parameter in any way. It merely passes it along to the MySQL library, to establish a connection.

The server hostname can be a randomly-generated string, for all I care. I just pass it along to the MySQL library, and expect to get a valid connection back. If this is a bug, it's a bug in libmysqlclient


Attachment: pgpHxo8VBAXww.pgp
Description: PGP signature

Reply via email to