Vacation.pl tries to access mysql host via vmail user but with hostname of the server instead of localhost. That creates the problem and mysql refuses the connection, as the user vmail@localhost is accepted or vmail@127.0.0.1.
To fix this you need to add vmail user with same privileges for the IP and hostname of the server.
Vacation.pl tries to access mysql host via vmail user but with hostname of the server instead of localhost. That creates the problem and mysql refuses the connection, as the user vmail@localhost is accepted or vmail@127.0.0.1.
To fix this you need to add vmail user with same privileges for the IP and hostname of the server.