> I made that change and this is the error message i get,
>
> server localhost: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
>
> This is my dbmail.conf,
>
>
> [DBMAIL]
> # Database settings
> # host for database, set to localhost if database is om
> # the same host as dbmail and you want to use a local socket
> # for connecting.
> host=localhost
>
> # if you want to use TCP/IP for connecting to the database,
> sqlport=3306
>
> # and have the database running on a non-standard port.
> # when using a local socket connection to the database, fill
> # in the path to the socket here (e.g. /var/run/mysql.sock)
> #sqlsocket=/var/lib/mysql/mysql.sock
> sqlsocket=/tmp/mysql.sock
>
> I had to uninstall MySQL  5.0.18 and re-install 4.1.16 and now mysock is in
> tmp.  Why can't dbmail.conf find it?
>
> Jim

This isn't dbmail complaining it can't find the .sock file, it's Postfix. 
Configure that, and you'll be okay. 

-Micah 

Reply via email to