From: Paul L. <pa...@sq...> - 2005-08-02 07:54:29
|
> Hi Paul, > > Thanks for the right direction. Looks like my imap has a problem. > >>netstat -ntlp > EN 2618/couriertcpd > tcp 0 0 :::143 :::* > LIST > (shows courier imap is running) > However, > >>telnet localhost 143 > localhost/143: Name or service not known Maybe localhost is not defined in /etc/hosts? - paul > > Configtest.php produces > SquirrelMail version:1.4.5Config file version:1.4.0Config file last > modified:28 July 2005 16:40:33Checking PHP configuration... > PHP version 5.0.4 OK. > PHP extensions OK. > Checking paths... > Data dir OK. > Attachment dir is the same as data dir. > Plugins are not enabled in config. > Themes OK. > Default language OK. > Base URL detected as: http://myexternalip/mail/src > Checking outgoing mail service.... > > Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: > getaddrinfo failed: Name or service not known in > /home/www/mail/src/configtest.php on line 211 > > Warning: fsockopen() [function.fsockopen]: unable to connect to > localhost:25 (Unknown error) in /home/www/mail/src/configtest.php on li= ne > 211 > > ERROR: Error connecting to SMTP server "localhost:25".Server error: (28= ) > > Pls advise thanks > > Paul Lesneiwski <pa...@sq...> wrote:Please don't top-post if > possible, thx. > >> Hi Paul, >> >> Checked the config, imapserveraddress is just localhost. > > Then the next step I would take is to look at your logs. What do you se= e > when you try to log in? I'd also take the EXACT server address and port > and telnet to it from the command line and try to log in and see what i= t > does. > > telnet localhost 143 > A01 login > > A02 logout > > Your reply doesn't mention the results of configtest either. > > - paul > > >> Paul Lesneiwski > wrote: >> >>> Hi Guys, >>> >>> I have the error msg after i login: >>> Error connecting to IMAP server: localhost.20 : >>> >>> I am using: >>> courier-imap >>> PHP 5.0.4-10 >>> Apache 2.0.54 >>> Fedora Core 4 >>> SquirrelMail 1.4.5 source w/ no plugins >>> >>> It used to work until i changed some postfix config on >>> proxy interfaces. My imap is using port 143 and is >>> running for sure(netstat). Port 143 is opened and >>> accessible from external. I do not know about this >>> port 20 (or error no 20?). Anyway there is no port 20 >>> running. Even using localhost has the same problem. >> >> Try running configtest. Show the value of $imapServerAddress in >> config/config.php. Looks to me like it thinks the whole address of the >> IMAP server is "localhost.20". >> >> - Paul >> > > > > > Send instant messages to your online friends http://uk.messenger.yahoo.= com |