SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
Revision of Roundcube from Tue, 10/13/2015 - 15:58
Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.
Installation
Download the source for Roundcube:
cd /extra/src
mkdir -p /var/websites/mail/htdocs /var/websites/mail/logs
wget https://downloads.sourceforge.net/project/roundcubemail/roundcubemail/1.1.3/roundcubemail-1.1.3-complete.tar.gz
tar zxf roundcubemail-1.1.3-complete.tar.gz
mv roundcubemail-1.1.3 /var/websites/mail/htdocs/roundcube
chown -R nobody:nobody /var/websites/mail/htdocs/roundcube
Create the MySQL database:
/usr/local/mysql/bin/mysql -u root -p
CREATE DATABASE roundcubemail /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;
GRANT ALL PRIVILEGES ON roundcubemail.* TO username@localhost IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
Import the table layout:
cd /var/websites/mail/htdocs/roundcube
/usr/local/mysql/bin/mysql -u root -p roundcubemail < SQL/mysql.initial.sql
Point your web browser at http://example.com/roundcube/installer/.
Set the username_domain
to your default domain so that the user's Roundcube preferences will be the same whether they login with their full email address or just the username portion.
Once you've used the installer to create main.inc.php
and db.inc.php
, save them in /var/websites/mail/htdocs/roundcube/config
After completing the installation and the final tests please remove the whole installer folder from the document root of the webserver.
rm -rf /var/websites/mail/htdocs/roundcube/installer
To make sure that the SSL redirection from your Apache config file is applied to Roundcube, edit /var/websites/mail/htdocs/roundcube/.htaccess
and edit the mod_rewrite section to include:
RewriteOptions inherit
Updating
Based on the upgrading instructions from roundcube.net.
- Backup the RoundCube directory:
cd /var/websites/mail/htdocs
cp -R roundcube /extra/roundcube.old - Backup the Roundcube MySQL database:
/usr/local/mysql/bin/mysqldump -u username -p roundcubemail | gzip -9 > /extra/roundcubemail.sql
- Download the new version and decompress it:
cd /extra/src
wget http://iweb.dl.sourceforge.net/project/roundcubemail/roundcubemail/0.9.5/roundcubemail-0.9.5.tar.gz
tar zxf roundcubemail-0.9.5.tar.gz
cd roundcubemail-0.9.5 - Use the upgrade script to update your existing install:
bin/installto.sh /var/websites/mail/htdocs/roundcube
- Log in to post comments