Thank you Zhang I got the following from that file:
GRANT SELECT ON vmail.* TO vmail@localhost IDENTIFIED BY "password";
GRANT SELECT,INSERT,DELETE,UPDATE ON vmail.* TO vmailadmin@localhost IDENTIFIED BY "password";
FLUSH PRIVILEGES;
I edited:
/var/www/postfixadmin/config.local.php
Changed this
$CONF['database_password'] = "password";
And that dit it, I now have access to postfixadmin.
Now I added a new domain and then a new mailbox under this new domain using "password" as my password
but I cannot login to roundcubemail nor squirrelmail, if I try to use the www@mydomain.com that was created
by default during installation where all root mail gets forwarded to, it doesn't work either.
postfixadmin does add the new mailbox because I can see it using phpmyadmin.
Do I have to restart a service after adding the new mailbox? I restarted postfix, dovecot and nothing works.
My firewall is not blocking these services all the ports are open
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:110
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:20
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:465
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:995
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:143
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:993
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:587
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:465
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:953
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:953
Trying with an email client I cannot login either, please help!!
Thank you.