Find out what directory your webserver is serving. ( For Apache: search for DocumentRoot in httpd.conf )
Let's assume the served Directory is /var/www and you downloaded squirrelmail-1.2.6 and put it into /var/www for this example.
go there:
cd /var/www
Uncompress the package using:
gunzip squirrelmail-1.2.6.tar.gz
or:
bunzip2 squirrelmail-1.2.6.tar.bz2
Unpack the whole package:
tar xfv squirrelmail-1.2.6.tar !
go into the installation directory and create a directory for attachments:
cd squirrelmail-1.2.6
mkdir attachments
make sure everything goes for the quick and dirty solution:
chmod -R 777 attachments data
go into the config directory and configure the remaining steps with the included perl script:
cd config
perl conf.pl
When running conf.pl, follow the instructions.
tips:
ORGANIZATION PREFERENCES
Change name to whatever you'd like.
SERVER SETTINGS
Change Domain to your domain
Change IMAP server to your server.
Change SMTP server to your server.
GENERAL OPTIONS
Change Data Directory, (optional BUT preffered).
Change Attachment Directory
Point your browser to WWW.YOUR-WEBSERVER.COM/squirrelmail-1.2.6
--------------------------------------------------------------------------------
If you do not see squirrelmail on the above URL, check that your webserver has PHP support and that it takes index.php if present in the given directory. For Apache:
DirectoryIndex index.html index.htm index.shtml index.shtm index.php
More info about PHP is in the INSTALL file in your Installation directory.
See more information about solving problems at SquirrelMail.
--------------------------------------------------------------------------------
Since that was the quick and dirty version you are supposed to make your installation secure and smooth now. A few options:
Find out what user your webser is running as. For Apache: User webusername in httpd.conf. Give the data directory to the webserver user and make sure others do not write there:
chown -R webusername data
chmod go-w data
Find out what group your webser is running as.
Give the attachments directory to the webserver group. Give the webserver write but not read permissions. Give the directory to e.g. root:
chown -R root attachments
chgrp -R webgroup attachments
chmod -R 730 attachments
You could rename the squirrel-1.2.6 Directory to something easier:
mv squirrel-1.2.6 webmail
change the path in config/config.php (the old path was stored there)
Now you can browse to WWW.YOURS.DOM/webmail. See Virtual Hosting for your webserver for real ease of URL-use.
See how SquirrelMail works... and refine using "conf.pl" again until satisfied.
Finally... install all plugins... install one and test, install other and test... until satisfied.
2002-06-30 00:00:00 |
|