Ok.. It looks like there is light at the end of the tunnel.  I turned off
chroot switch in postfix startup script.  No more problems and I already
received the email.

On Wed, Jul 22, 2009 at 9:43 AM, Roman Gelfand <[email protected]> wrote:

> 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.
>
>
>
> 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
>>
>
>
------------------------------------------------------------------------------
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to