Sie sind auf Seite 1von 2

Installing Squirrelmail

#Installation using yum

yum install squirrelmail
rpm -e --nodeps exim-4.63-5.fc6
yum remove postgresql-libs

# Squirrelmail will be installed at /usr/share/squirrelmail/

# Add the requisite entries in the httpd.conf file.Here is the sample virtual host
entry.Plese cusomise it as per your needs.DO NOT COPY PASTE

<VirtualHost *:80>
DocumentRoot /usr/share/squirrelmail
ErrorLog /etc/httpd/logs/yourdomain.com_error_log
CustomLog /etc/httpd/logs/yourdomain.com_access_log common
ScriptAlias /cgi-bin/ /usr/share/squirrelmail/cgi-bin/
<Directory "/usr/share/squirrelmail/cgi-bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
# Block access: SLAC addition
RewriteEngine On
RewriteRule .* - [F]
# End block access rule

# Copy the relevant qmailadmin files to squirellmail directory

cp -a /var/www/html/images/qmailadmin/ /usr/share/squirrelmail/images/
cp -a /var/www/webmail/cgi-bin /usr/share/squirrelmail/

#Test Your installation by visiting this url

# Manual installation :Incomplete.Please read the references for installation

yum install php
yum install php-mysql

vi /etc/php.ini

#Here's the line you will want to check/edit:

file_uploads = On


tar -zxvf squirrelmail-1.4.8.tar.gz

mv squirrelmail-1.4.8 webmail

mkdir /var/sqattachements

chown -R apache:apache /var/sqattachements

cd webmail

chown -R apache:apache data

cd config