I’ve been trying to set up a mail server on a rackspace CentOS 6 cloud server for the past several days. I’ve been following the howtoforge tutorial to a tee. Everything installed properly and seemed to go exactly as they have described except, I haven’t been able to send any mail.
After taking a look at the maillog I can see that postfix spits out an error saying:
“postfix/cleanup[28509]: warning: connect to mysql server 127.0.0.1: Access denied for user ‘root’@’localhost’ (using password: YES)”
So I’m guessing that postfix is not picking up on my settings for the correct user and password. I’ve set these up as per the howtoforge tutorial using the “mysql-virtual_*.cf” files and pointing the postfix config to these files. The permissions are set up properly.
So I’m just wondering why postfix continues to use the root user to try to access my mysql tables for the virtual mailbox configuration.
Several things ended up being wrong with my set up, so I thought I’d list them here for any other truth seekers.
access the files it needed to get the proper login name and
password like the aliases file.