-------- Original-Nachricht --------
> Datum: Wed, 22 Jul 2009 09:43:52 -0400
> Von: Roman Gelfand <[email protected]>
> An: Julien Valroff <[email protected]>
> CC: [email protected]
> Betreff: Re: [Dspam-user] dspam + postfix + mysql

> It is interesting.  Looking at the postfix startup script, it interrogates
> master.cf to determine if it is to be run in chroot.
> 
> This line determines that
> NEED_CHROOT=$(awk '/^[0-9a-z]/ && ($5 ~ "[-yY]") { print "y"; exit}'
> /etc/postfix/master.cf)
> 
> The result of the above statement is y.  Howver, looking at the master.cf,
> I
> don't see those that.
> 
> I have attached master.cf.  Perhaps, you could spot it.
> 
The regexp with AWK matches "y", "Y" and "-". While you don't have any "y" or 
"Y" you do have "-" in those services:
pickup
cleanup
tlsmgr
rewrite
bounce
defer
trace
verify
flush
smtp
relay
showq
error
retry
discard
lmtp
anvil
scache



> 
> 
> 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
> >

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser

------------------------------------------------------------------------------
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to