Well, that looks like a MySQL 'Access Denied' error rather than a Dovecot 'Access Denied' error so my guess is that your MySQL setup is wrong somewhere. Either you're using the wrong password, most likely IMHO, or you didn't Grant permission to that user in MySQL perhaps. Either way, it looks like it connecting to MySQL but then MySQL kicks you out.
Timo Sirainen wrote:
On Tue, 2006-10-10 at 21:37 -0500, Craig Jackson wrote:
Hi, I compiled Dovecot and Mysql on two different servers each with the same options. Dovecot connects successfully on Server B. Server A has this error in Dovecot trying to connect to Mysql:
dovecot: auth-worker(default): mysql: Connect failed to /tmp/mysql.sock (exim_db): Access denied for user 'user'@'localhost' (using password: YES) - waiting for 5 seconds before
I guess you mean this: http://wiki.dovecot.org/MysqlProblems