Steve wrote: > -------- Original-Nachricht -------- > >> Datum: Wed, 22 Jul 2009 01:03:28 -0400 >> Von: Roman Gelfand <[email protected]> >> An: Julien Valroff <[email protected]> >> CC: [email protected] >> Betreff: [Dspam-user] dspam + postfix + mysql >> > > >> H Julien, >> >> I decided to work with debian lenny. I have installed all the necessary >> components dspam deployment. I have configured and successfully setup >> standalone postfix to work as gateway, ie route messages to my internal >> server. Then I reconfigured this postfix server to work with mysql and >> dspam. >> >> When rereceiveing an external mail, I get the message: >> >> Jul 22 00:15:58 mail postfix/smtpd[2430]: warning: connect to mysql server >> unix:/tmp/mysqld.sock: Can't connect to local MySQL server through socket >> '/tmp/mysqld.sock' (2) >> However, when I enter the following command it workds >> >> mysql -u abc -pdef --socket=/tmp/mysqld.sock >> >> I can not figure out what is going on. Any help is appreciated. >> >> > - Does the socket have any special permission not allowing Postfix to access > it? > - Do you run Postfix in chroot and /tmp/mysqld.sock is not available in the > chroot? > > >
Not so long ago, Debian's Postfix packages default install were chrooted. Remove it from master.cf, or set up MySQL to accept TCP connections and configure DSPAM to use the network connection instead of the socket. R's, Hugo Monteiro. -- ci.fct.unl.pt:~# cat .signature Hugo Monteiro Email : [email protected] Telefone : +351 212948300 Ext.15307 Web : http://hmonteiro.net Centro de Informática Faculdade de Ciências e Tecnologia da Universidade Nova de Lisboa Quinta da Torre 2829-516 Caparica Portugal Telefone: +351 212948596 Fax: +351 212948548 www.ci.fct.unl.pt [email protected] ci.fct.unl.pt:~# _ ------------------------------------------------------------------------------ _______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user
