[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postfix, cyrus, mysql and web-cyradm

You're right, that was one of the problems.

Another was that Postfix is running chrooted  and therefor
could not connect to mysql. Error was:
postfix/cleanup[12345]: warning: connect to mysql server
inet:localhost: Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (111)
Although I have "hosts = inet:localhost" in all mysql* config
files (which should be the defautl anyway) it still seems to use
the socket...

To make the socket accessible you could either disable
chrooting in the master.cf or, as I did it, set a hardlink:
ln /var/run/mysqld/mysqld.sock /var/spool/postfix/var/run/mysqld/mysqld.sock

Anyone knows if the link could be security problem?

Cheers, Marcel

--On Dienstag, 10. September 2002 21:48 +0200 Joan Cirer <joan@ev0.net> wrote:


I have it running with the stable distribution.

All the setup is the same as in the HOWTO. The only diference is in the
authentication, you have to use pwcheck_pam instead of pwcheck_standard

First do an /etc/init.d/pwcheck stop before changing to the pam version,
because pwcheck will refuse to start

pwcheck_pam has memory leaks and grows to insane memory size, I restart it
every hour.

# update-alternatives --display pwcheck
pwcheck - status is manual.
 link currently points to /usr/sbin/pwcheck_pam
/usr/sbin/pwcheck_standard - priority 30
/usr/sbin/pwcheck_pam - priority 20
Current `best' version is /usr/sbin/pwcheck_standard.

Now I'm evaluating to migrate this setup to a  courier imap and the
postfix's virtual transport using the JAMM http://jamm.sourceforge.net/


Hi folks

I'm trying to get web-cyradm running with postfix, cyrus and mysql. Luc
de Louw' pretty detailed Postfix-Cyrus-Web-cyradm-HOWTO on
is unfortunaetlly very redhat centered. Since there's also the
PAM and sasl stuff involved, debugging is somewhat difficult

Has anyone managed to get this combo running under Debian and
could shed some light on it?


Reply to: