When you create the database, make sure that you...
GRANT ALL PRIVILEGES ON dbmail.* TO dbmail IDENTIFIED BY 'dbmail';
;-)
Aaron

On Mon, 18 Nov 2002, root wrote:

> Any idea where to look
>
>
> Result from dbmail-adduser
> ====================
> [EMAIL PROTECTED] dbmail]# ./dbmail-adduser john secret 0 25000000
> *** dbmail-adduser ***
> Opening connection to the database... Failed. Could not connect to
> database (check log)
>
> My /var/log/maillog  file
> =================
> Nov 18 15:58:35 mail1 dbmail/adduser[3757]: dbconnect():
> mysql_real_connect
> failed: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)
>
> My config.h file
> ===========
> /* $Id: config.h,v 1.24 2002/06/19 14:45:12 roel Exp $
>  * (c) 2000-2001 IC&S, The Netherlands */
>
> #ifndef  _CONFIG_H
> #define  _CONFIG_H
>
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> #include <strings.h>
> #include <unistd.h>
> #include <syslog.h>
>
> /* DATABASE SPECIFIC */
> #define MAIL_HOST "localhost"
> #define MAIL_USER "dbmail"
> #define MAIL_PASS "dbmail"
> #define MAILDATABASE "dbmail"
>
> #define AUTH_HOST "localhost"
> #define AUTH_USER "dbmail"
> #define AUTH_PASS "dbmail"
> #define USERDATABASE "dbmail"
>
> #define UID_SIZE 70
>
> #endif
>
>
>
>
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>

Reply via email to