squirrelmail and webmail error

.::Gsmdenis::.

Verified User
Joined
Jun 15, 2007
Messages
94
squirrelmail and webmail error:

squirrelmail :

ERROR
Error connecting to IMAP server: localhost.
0 : Success

Go to the login page

webmail :

ERROR (2): fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known (/webmail/inc/class.uebimiau_mail.php:78)

what's this ??????????????????
 
[root@host ~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK Dovecot DA ready.
* BYE Disconnected for inactivity.
Connection closed by foreign host.
 
I guess he's talking about:
Code:
cd /usr/local/directadmin/customapache
./build update
./build clean
./build update_dovecot
./build dovecot
service dovecot restart
 
padonaque, did you run the update as outlined by smtalk?

If so, exactly what symptom are you seeing? Please be specific.

Jeff
 
i have the same that padonaque

squirrelmail and webmail error:

squirrelmail :

Quote:
ERROR
Error connecting to IMAP server: localhost.
0 : Success

Go to the login page
webmail :

Quote:
ERROR (2): fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known (/webmail/inc/class.uebimiau_mail.php:78)


padonaque, did you run the update as outlined by smtalk?

If so, exactly what symptom are you seeing? Please be specific.

Jeff
 
I'm glad you found it. It took a while that time too; perhaps we should all try to remember this one ;) .

Jeff
 
We had the exact same problem. Clean install of DA on CentOS 5-64bit. Did the Dovecot upgrade and then got the Connection refused on Webmail and errors on all other mail connections (Outlook, etc)

Corrected etc/hosts and voila, it works

CHANGE THIS:
::1 localhost.localdomain localhost

TO THIS:
127.0.0.1 localhost localhost.localdomain

Thanks for the link sbdsm, too many times people just say I fixed it instead of saying how.
 
I think we're all curious as to why/how CentOS5 64-bit version uses IP6 notation in the /etc/hosts file. Does everyone installing it have the same problem?

Jeff
 
I have a clean install of DA on CentOS 5.1 i386 and I had the same issue. Adding the ipv4 stuff to my /etc/hosts fixed it.
 
I would like to confirm that adding this line to my hosts file and restarting apache solved my issue too - great forum!
I have centos 5 installed a few days ago with all the latest updates :)
 
Back
Top