Does the /var/run/mysqld/mysqld.sock exist?


At 04:07 PM 12/27/2004, you wrote:
I have recently installed the following debian woody packages:

Mysql-server: 4.x
Postfix: 2.1.4-5
Postfix-mysql: 2.1.4-5
Dbmail-mysql: 1.2.11-1

I inserted the following lines into /etc/postfix/main.cf
mailbox_transport = dbmail_smtp:
local_recipient_maps = mysql:/etc/postfix/sql-recipients.cf

sql_recipients.cf has the info for connected to the dbmail database via
host: localhost.  I also tried host: 127.0.0.1

I inserted the following line into /etc/postfix/master.cf
dbmail-smtp unix        -       n       n       -       -       pipe
  flags= user=dbmail:dbmail argv=/usr/sbin/dbmail-smtp -d ${recipient} -r
${sender}

NOTHING WORKS!!!!  $F*K

The dbmail database does exist.  It's tables exist.  I can connect from a
command line and phpMyAdmin.  I can add users using DBMA Administrator and
everything else, but postfix will not deliver mail and I cannot connect from
a client on POP3 e.g. Microsoft Outlook.

In mail.log I see the mail trying to come in and then I get:
postfix/smtpd: warning: connect to mysql server localhost: Can't connect to
local MySQL server through socket '/var/run/mysqld/mysqld.sock

And then... Temporary lookup failure

In mail.warn when attempting to connect to pop3d it says dbmail/pop3d:
PerformChildTask(): incoming connection from xxx.xxx.xxx.xxx

But I never can connect.

This shouldn't be that damn difficult.  PLEASE HELP.

Thanks,

Nate


_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to