Upgrade Squirrelmail (fast way)

OLD_SM=/web/old_webmail
SM=/web/webmail

mv $SM $OLD_SM
mkdir $SM
cp -r /usr/local/www/squirrelmail/* $SM

Copy configuration files and preferences dir (if u have config.php_local.php copy that too):
cp $OLD_SM/config/config.php $SM/config/
cp $OLD_SM/config/config.php_local.php $SM/config/
cp $OLD_SM/data/* $SM/data/

Test if new version work… et volia’.

If i forgot something tell me, i’ve used this method many times, it works :).

Mailgraph on FreeBSD

Have you just installed mailgraph and are you asking yourself “and now???”
Let’s see how to get it running on FreeBSD.
After installation copy your /usr/local/www/cgi-bin/mailgraph.cgi to your cgi-bin directory, default is /usr/local/www/apache24/cgi-bin/ and change the owner to www:www :

cp /usr/local/www/cgi-bin/mailgraph.cgi /usr/local/www/apache24/cgi-bin/
chown www:www /usr/local/www/apache24/cgi-bin/mailgraph.cgi

Be sure to have this line: Continue reading “Mailgraph on FreeBSD”