Squirrelmail got error after installation whm
        Posted  
        
            by 
                Pleerock
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Pleerock
        
        
        
        Published on 2012-06-09T10:34:24Z
        Indexed on 
            2012/06/09
            10:41 UTC
        
        
        Read the original article
        Hit count: 437
        
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..
© Server Fault or respective owner