Re: Can anyone explain localhost phenomenon?

2013-02-04 Thread Adam Tauno Williams
On Sun, 2013-02-03 at 15:42 +0100, Gabor Gombas wrote: IIRC MySQL tries to use an UNIX socket instead of TCP for connecting to the server when it sees the localhost string. If e.g. sendmail runs chrooted, then it won't see the MySQL server's socket, therefore it won't be able to connect. What

Re: Can anyone explain localhost phenomenon?

2013-02-04 Thread Charles Bradshaw
On: Mon, 04 Feb 2013 06:29:56 -0500, Adam wrote: On Sun, 2013-02-03 at 15:42 +0100, Gabor Gombas wrote: IIRC MySQL tries to use an UNIX socket instead of TCP for connecting to the server when it sees the localhost string. If e.g. sendmail runs chrooted, then it won't see the MySQL

Re: Can anyone explain localhost phenomenon?

2013-02-04 Thread Reko Turja
Yes 127.0.0.1 instead of localhost works... it's down to somebodies ghost in the machine then! IPv6 enabled, but daemon listening only in IPv4 port? -Reko Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe:

Re: Can anyone explain localhost phenomenon?

2013-02-04 Thread Adam Tauno Williams
On Mon, 2013-02-04 at 12:19 +, Charles Bradshaw wrote: On: Mon, 04 Feb 2013 06:29:56 -0500, Adam wrote: On Sun, 2013-02-03 at 15:42 +0100, Gabor Gombas wrote: IIRC MySQL tries to use an UNIX socket instead of TCP for connecting to the server when it sees the localhost string. If e.g.

Can anyone explain localhost phenomenon?

2013-02-03 Thread Charles Bradshaw
If I specify localhost as the host name for both imapd and sendmail sql plugin authentication like this: eg /etc/imapd.conf contains: sasl_sql_hostnames:localhost:3306  changing localhost to mail-host here and /etc/sasl2/Sendmail.conf contains: sql_hostnames:localhost:3306 and

Re: Can anyone explain localhost phenomenon?

2013-02-03 Thread Gabor Gombas
IIRC MySQL tries to use an UNIX socket instead of TCP for connecting to the server when it sees the localhost string. If e.g. sendmail runs chrooted, then it won't see the MySQL server's socket, therefore it won't be able to connect. Gabor On Sun, Feb 03, 2013 at 11:50:46AM +, Charles