I think I got the answer to this.  The socket specified in postfix's
master.cf is relative to postfix's home directory.  Hence, the dspam
socket's directory is going to be /postfix_home/tmp/dspam.sock or
/var/spool/postfix/tmp/dspam.sock.

On Wed, Jul 22, 2009 at 9:02 AM, Julien Valroff <[email protected]> wrote:

> Hi,
>
> On Wed, 22 Jul 2009 01:03:28 -0400, Roman Gelfand <[email protected]>
> wrote:
> > 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.
>
> Is Postfix chrooted? Check on Google for this, as many people have this
> issue I guess...
>
> Cheers,
> Julien
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to