Skip to content. | Skip to navigation

Sections
Personal tools

5. SquirrelMail

5. SquirrelMail

One speciality when installing SquirrelMail was that we needed to do a chown -R www /usr/local/squirrelmail before the login worked. Also, you must run config/conf.pl in order to get anything to appear in the browser at all!

In /usr/local/etc/php.ini enable file uploads (so that squirrel users can send attachments):

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
 
; Whether to allow HTTP file uploads.
file_uploads = On

Also, enable session.autostart:

; Initialize session on request startup.
session.auto_start = 1 

Note

To enable IMAPS for Squirrelmail you must compile PHP version 4.3.x or higher with OpenSSL support. Voila! You now can activate IMAPS in the conf.pl and use encrypted IMAP i.e. to poll IMAP servers not running on the same host as Squirrel.

5.1. Updating from 1.4.1 to 1.4.2

This update brings changes in the location of squirrel itself, as well as the data and preferences.

Note

The make process says, that making it with -DWITHOUTWWWDIR would enable installation/upgrade with the previous path (/usr/local/squirrelmail). I found this not to be true. Instead, I changed the location of my installation.

To do this, copy all prefs to the new location and make sure the permissions are right:

cp /usr/local/squirrelmail/data/*.* /var/spool/squirrelmail/prefs/
chown -R www:www /var/spool/squirrelmail
chmod -R 730 /var/spool/squirrelmail

Of course, you must now modify your VirtualHost entry in httpd.conf.

Outdated Information
Please note that most of the information contained in this section is several years old and while most of it is still useful, hardly none of it applies directly to current versions of the software discussed. Proceed with caution, your mileage may vary etc. pp. ;-)