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: 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
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?
--On Dienstag, 10. September 2002 21:48 +0200 Joan Cirer <firstname.lastname@example.org>
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
# 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/
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?