How to update my SquirrelMail to 1.4.4

manny2008

Verified User
Joined
Feb 9, 2004
Messages
74
Currently I am using SquirrelMail version 1.4.4-rc1 on CenOS with DA 1.241. How can I update to the latest version 1.4.4?
 
If squirrelmail is installed in the default location (/var/www/html) give this a try:

Code:
wget [url]http://www.mark87.com/directadmin/tools/upgrade.squirrelmail.sh[/url]
chmod 755 upgrade.squirrelmail.sh
./upgrade.squirrelmail.sh
Enter the version you want to upgrade to and hit enter.
 
Works great on FreeBSD 4.11! Thanks for the GREAT script!!!
 
After I upgraded squirrelmail from version 1.4.1 to 1.4.5, I was advised to run /var/www/html/squirrelmail-1.4.5/config/conf.pl

I don't know what happened after that, but at this moment I am facing DNS lookup problems.
1. entering the site by using SSh occurs after a Time Out.
2. I am not able to do a gethost in php.

What settings have been changed? Andhow can I restore them?

What did I do wrong?


Running http://www.theWebsite.nl/squirrelmail/src/configtest.php
is giving the following result:
This script will try to check some aspects of your SquirrelMail configuration and point you to errors whereever it can find them. You need to go run conf.pl in the config/ directory first before you run this script.

SquirrelMail version: 1.4.5
Config file version: 1.4.0
Config file last modified: 28 December 2005 17:28:50


Checking PHP configuration...
PHP version 4.3.11 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://www.deWebsite.nl/squirrelmail/src
Checking outgoing mail service....
SMTP server OK ()
Checking IMAP service....

Warning: fsockopen(): unable to connect to localhost:143 in /var/www/html/squirrelmail-1.4.5/src/configtest.php on line 255

ERROR: Error connecting to IMAP server "localhost:143".Server error: (61) Connection refused
 
Squirrelmail installs/updates do not mess with any DNS settings on your server so that problem is most likely unrelated beyond Squirrelmail not being able to connect to imap.

Make sure imap is running, the localhost loopback is working, and check the logs for any additional clues.
 
Thank you for the reply.

This part of the problem was solved after reebooting the server (it was 190 days online). It runs fine through the configtest.php with a using a quite lot of time (I think it is a Time Out) before passing the imap check.

After logging into aquirrelmail, which takes a long time, the following error occured when I tried to send a email:

Transaction failed
Server replied: 554 SMTP synchronization error

Other issue:
When I try to do a ping on the server, it it the following error:

bash-2.05b# ping <website>
ping: cannot resolve <website>: Host name lookup failure

This error shows aup after a Time-Out.

I guess that error 554 has been caused by the host name lookup. So far I know, these problems came up after updating squirrelmail. No other changes/updates hafe been made. So, I am quite curious what the cause can be.

What is the best way to sort it out.
 
Last edited:
Squirrelmail has nothing to do with your ability to ping.

I'd start looking at whether or not your named daemon is running, and at the contents of your /etc/resolv.conf file, to see if indeed your system is even using a working nameserver.

That last error is all about DNS not working.

Jeff
 
Jeff,

Thanks for the support. It seemed a nameserver was removed from the network. In same time, around those days, I was upgrading squirrelmail and (as it looks know) was not aware I couldn't receive/send mail at that time.

Regards,

Atlantis
 
Back
Top