Jim Douglas wrote:
> I have MySQL up and running.
>
> I can login with
> mysql -u dbuser -p

manualy you use user=dbmail in connection to mysql base

> Mar 13 11:32:15 cpe-66-65-161-178 postfix/postfix-script: starting the
> Postfix mail system
> Mar 13 11:32:15 cpe-66-65-161-178 postfix/master[23673]: daemon started --
> version 2.2.2, configuration /etc/postfix
> Mar 13 11:32:31 cpe-66-65-161-178 dbmail/adduser[23677]:
> dbmysql.c,db_connect: mysql_real_connect failed: Access denied for user
> 'root'@'localhost' (using password: NO)

But this reports connection with user=root

From your other message:
Jim Douglas wrote (11.03.2006):
> user=dbmail             # user to connect as to database

My question:
what is your configuration?

Try strace, this helps a lot.

Like this:

$ strace /usr/local/sbin/dbmail-users -l user 2>&1 | grep dbmail.conf
open("/etc/dbmail.conf", O_RDONLY|O_LARGEFILE) = 3
read(3, "# $Id: dbmail.conf,v 1.102 2004/"..., 4096) = 4096


-- 
Oleg Lapshin

Reply via email to