Paul Lesniewski wrote: > On Mon, Mar 24, 2008 at 9:20 AM, John Doe <jdoe@xxxxxxxxxxxxxx> wrote: > >> ... >> >> when i tried to access webmail, it began to show the error: >> >> Error connecting IMAP server: $host_name. >> 13: Permission denied >> > > Does it REALLY say "$host_name"???? > yes! it drew my attention because when searching the web, the same error messages i found always showed the IMAP server address >> ... >> i then checked the log file >> >> error_log >> --------- >> [client 88.8.32.27] PHP Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service unknown in /usr/share/squirrelmail/functions/imap_general.php on line 445, referer: http://mail.mydomain.com/src/login.php >> [client 88.8.32.27] PHP Warning: fsockopen(): unable to connect to $host_name:143 in /usr/share/squirrelmail/functions/imap_general.php on line 445, referer: http://mail.mydomain.com/src/login.php >> >> looking at imap_general.php, it seems the sqimap_login function is not >> receiving a valid $imap_server_address parameter. but i'm not sure how to >> solve the problem and why just installing the plugin could misconfigured >> SquirrelMail >> > > It would not, as long as there were no patches required. What is the > value for $imapServerAddress in config/config.php? $imapServerAddress = '$host_name'; //!!!??? > You can also check > using the configuration script and looking carefully at all your IMAP > server settings. =============================================================== SquirrelMail Configuration : Read: config.php (1.4.0) --------------------------------------------------------- Server Settings General ------- 1. Domain : $domain_name 2. Invert Time : false 3. Sendmail or SMTP : Sendmail IMAP Settings -------------- 4. IMAP Server : $host_name 5. IMAP Port : 143 6. Authentication type : login 7. Secure IMAP (TLS) : false 8. Server software : uw 9. Delimiter : / B. Change Sendmail Config : /usr/sbin/sendmail H. Hide IMAP Server Settings =============================================================== besides it's configured (misconfigured i'd say) as uw but the IMAP server is Cyrus!? > You could also reset them using option D if you > didn't make any special server settings in the first place. > well, unfortunately i didn't installed/configured the server. i think my only option is reseting to pre-defined settings for Cyrus, set host data and see what happens thanks for your time, jdoe >> ================================================================================= >> >> SquirrelMail: 1.4.3a-12.EL4 >> >> Installed Plugins >> 1. delete_move_next >> 2. squirrelspell >> 3. newmail >> >> PHP: 4.3.9-3.22.9 >> Web server: Apache/2.0.52 (Red Hat) >> IMAP server: Cyrus-imapd 2.2.12-3.RHEL4.1 >> OS: Linux 2.6.9-34.ELsmp >> Spam Assassin 3.1.8-2.el4 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users