Monday, April 5, 2010

Squirrelmail plugins

SkyHi @ Monday, April 05, 2010


Jump to: navigation, search



[edit] Downloading & Setting up Squirrelmail

mkdir -p /var/local/squirrelmail/data/
chown -R apache:apache /var/local/squirrelmail
cd /var/www/html/
svn checkout
chown -R apache:apache /var/www/html/squirrelmail

[edit] Configuring Squirrelmail

[edit] Setting SMTP Auth with Squirrelmail

When using the How-To "Installing Postfix on Fedora using MySQL" you will need to authenticate with Postfix before you will be able to send an email.

[edit] Squirrelmail Plugins

[edit] Compatibility Plugin

Allows plugins to remain compatible with all versions of SquirrelMail. This Plugin gets update often so download the latest copy
cd /usr/share/squirrelmail/plugins/
tar -xzf compatibility-2.0.11-1.0.tar.gz

[edit] Check Quota Plugin

Checks and display users' mail quota status.
cd check_quota
cp config.sample.php config.php
In config.php changing...
$settings['quota_type'] = 0;
$settings['quota_type'] = 1;
Will enable Imap Quota support.

[edit] SpamAssassin Plugin

cd plugins
tar -xzf SquirrelSAP105.tgz
cd SquirrelSAP105/spamassassin/
mv config.php config.php.old
mv index.php index.php.old
mv options.php options.php.old
mv setup.php setup.php.old
mv spamassassin.php spamassassin.php.old
cat config.php.old |sed 's/^M$//' > config.php
cat setup.php.old |sed 's/^M$//' > setup.php
cat index.php.old |sed 's/^M$//' > index.php
cat options.php.old |sed 's/^M$//' > options.php
cat spamassassin.php.old |sed 's/^M$//' > spamassassin.php
rm -rf *.old

[edit] Postfixadmin Plugin

[edit] Filters Plugin

[edit] RetrieveUserData Plugin

This plugin will update the user name and email address from the Postfix database.
cd /usr/share/squirrelmail/plugins/
tar -xzf retrieveuserdata.0.9-1.4.0.tar.gz
cd retrieveuserdata
vim config.php
Now change the database type to MySQL
//  $SQRUD_RETRIEVE_DATA_FROM = "ldap.php";
And update the MySQL setup
$SQRUD_MYSQL_SERVER = 'localhost';
$SQRUD_MYSQL_USER = 'postfix';
$SQRUD_MYSQL_PASS = 'postfix';
$SQRUD_MYSQL_DB = 'postfix';
$SQRUD_MYSQL_TABLE = 'mailbox';
Now you need to add the plugin to SquirrelMail's config.

[edit] Shared Calendars Plugins

First you need to install an backend app for the calendar.
And install it
tar -xzf calendar_file_backend-1.0-2.0.tar.gz
Option 8, then add "calendar_file_backend" and save it and quit.
Now we need to install the Shared Calendars Plugin, lets download and install the app.
tar -xzf shared_calendars-2.0.1-1.4.0.tar.gz
cd calendar/data
cp config.php.sample config.php
Option 8, then add "calendar" and save it and quit.

[edit] Spam Buttons


[edit] File Manager Plugins

cd /usr/share/squirrelmail/plugins
tar -xzf file_manager-2.0-1.2.7.tar.gz