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

alternative login names

2013-02-03 Thread Wolfgang Rosenauer
Hi, I'm running Cyrus imapd 2.3.x since quite some time for a group of users. My setup is LDAP based using saslauthd to pam_ldap currently and works just fine. But now I want to allow access to the mailboxes using the email address as an alternative to the system username. I have no real idea