X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=INSTALL;h=84d3a794157b7499982a80d3478748597aa607db;hb=d72dedd211478161a4f69d38b846a85aeb6be34e;hp=4938d6927113c30b80acb1be0c14f0b7b277dc23;hpb=46f335213371e5f329ed248a2163b688d3d2f00c;p=squirrelmail.git diff --git a/INSTALL b/INSTALL index 4938d692..84d3a794 100644 --- a/INSTALL +++ b/INSTALL @@ -38,7 +38,7 @@ Each of these steps is covered in detail below. If your webserver does not already have PHP you must configure it to work with PHP. You need at least PHP v4.1.0. SquirrelMail uses the standard suffix .php for all PHP4 files. - + You can find PHP at http://www.php.net. See the documentation that comes with PHP for instructions how to set it up. @@ -49,7 +49,7 @@ Each of these steps is covered in detail below. --with-mhash Will improve charset decoding if present --with-mysql For MySQL storage of preferences or addressbooks --with-openssl When you want to use encrypted IMAP connections (TLS) - + If you're going to use LDAP in the addressbook, you must compile PHP with the LDAP extension. Include the MHASH extension to improve performance in character set decoding. @@ -63,7 +63,7 @@ Each of these steps is covered in detail below. This depends a lot on the server your choose. See the documentation that comes with your server. - + If you're concerned about people accessing it directly, you can limit access to only the IP of the webserver. @@ -100,8 +100,8 @@ b. Setting up directories $ chgrp -R nobody data Keep in mind that with different installations, the web server could - typically run as userid/groupid of nobody/nobody, nobody/nogroup, - apache/apache or www-data/www-data. The best way to find out is to read + typically run as userid/groupid of nobody/nobody, nobody/nogroup, + apache/apache or www-data/www-data. The best way to find out is to read the web server's configuration file. There also needs to be a directory where attachments are stored @@ -120,30 +120,30 @@ b. Setting up directories If you trust all the users on you system not to read mail they are not supposed to read change the last line to chmod 777 SomeDirectory - or simply use /tmp as you attachments directory. - - If a user is aborting a mail but has uploaded some attachments to it - the files will be lying around in this directory forever if you do not + or simply use /tmp as you attachments directory. + + If a user is aborting a mail but has uploaded some attachments to it + the files will be lying around in this directory forever if you do not remove them. To fix this, it is recommended to create a cron job that deletes everything in the attachment directory. Something similar to the following will be good enough: $ cd /var/attach/directory $ rm -f * - + However, this will delete attachments that are currently in use by people sending email when the cron job runs. You can either (1) make sure that the cron job runs at an obscure hour and hope that nobody gets upset, or (2) you can run a modified version of the commands above. Check out the man pages for other commands such as 'find' or 'tmpreaper'. - + One sample script you could set up that would erase all attachments, but wouldn't erase preferences, address books, or the like (just in case your - attachment directory is the same as your data directory) might look like + attachment directory is the same as your data directory) might look like this: - + $ rm `find /var/attach/directory -atime +2 | grep -v "\." | grep -v _` - + Remember to be careful with whatever method you do use, and to test out the command before it potentially wipes out everyone's preferences. @@ -167,9 +167,9 @@ c. Setting up SquirrelMail ----------------------- Point your browser at the URL at which SquirrelMail is installed. A - possible example of this is: + possible example of this is: http://www.yourdomain.com/squirrelmail - + It should be pretty straight forward to use. Some more documentation might show up one day or another. @@ -184,22 +184,22 @@ c. Setting up SquirrelMail 6. TRANSLATIONS --------------- - In order to use translated versions of SquirrelMail, you need + In order to use translated versions of SquirrelMail, you need to download and install locale packages that contain translations - that you want to use with squirrelmail. - + that you want to use with SquirrelMail. + Locale packages can be downloaded from SquirrelMail SourceForge project page. - + http://sourceforge.net/project/showfiles.php?group_id=311&package_id=110388 - + Each translation contains install script that copies required files into appropriate locations. If you can't run that script, you can extract - contents of translation packages into your squirrelmail directory. - + contents of translation packages into your SquirrelMail directory. + NOTE No.1: *-src.tar.gz, *-src.tar.bz2 and *-src.zip archives does not contain compiled translation files. You will need to run compilelocales script in order to get all gettext binary translations. - + NOTE No.2: You might need to restart your webserver before using translations. If you can't do that, install your translations _before_ you use SquirrelMail.