Tuesday, March 23, 2010

Installing SquirrelMail 1.4.20 RC2

SquirrelMail is an application that provides web-based access to POP or IMAP email servers.

Prerequsites
Web server enabled to server php pages
PHP
Email server
Perl

Versions used
Apache 2.2.8
PHP 5.2.8
Hmailserver 5.3
Perl 2.6

Steps
  1. Download the zip package from the website, squirrelmail.org
  2. Extract the zip file to a temporary location e.g. C:\temp
  3. Create a new folder named squirrelmail in the webroot folder of the web server e.g. In c:\apache\htdocs
  4. Copy the contents of c:\temp\squirrelmail-1.4.20-RC2 to c:\apache\htdocs\squirrelmail
  5. Create the folders c:\squirrelmail\data and c:\squirrelmail\attachments
  6. Open a command prompt window and change directory to c:\apache\htdocs\squirrelmail\config
  7. Type perl conf.pl
  8. A menu driven command interface is displayed
  9. Review the different options. Modify the server settings [domain name, imap server, smtp server [use IP e.g. 127.0.0.1 for the last two]] and general settings [data directory, attachment directory. Set them to the directories created above]
  10. Save data when finished and quit
  11. This will create a new file, c:\apache\htdocs\squirrelmail\config\config.php with the appropriate config information
  12. Using a browser, navigate to localhost/squirrelmail
  13. To log in, use the credentials of an available email account on the configured mail server

No comments:

Post a Comment