Squirrelmail got error after installation whm
- by Pleerock
Just now installed whm/cpanel, created some accounts, created mail account in one of them and entered squirrelmail to check the mail.
Unfortunately it gives me an error:
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/login_auth/functions.php on line 129
Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:143 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/login_auth/functions.php on line 129
How do I fix it?
I don't know exactly, but I read some sites and maybe the problem in dns?
I changed ns1.com to ns1.myhost.com in a Basic cPanel & WHM Setup
P.S. Im sure that it server configuration problem, not squirrelmail, other mail clients are not working too..