From: Derek T. <de...@bb...> - 2004-05-27 15:12:08
|
I wrote these instructions on installing SquirrelMail with EIMS Server (http://www.eudora.co.nz/) on Mac OS X Server 10.3.x. I basically just followed the instructions in the INSTALL document that came with the download but I'm hoping this will be helpful for other EIMS and Mac OS X Server users. My setup: Mac OS X Server 10.3.4 SquirrelMail 1.4.3-RC1 EIMS X 3.2.4 mail server (http://www.eudora.co.nz/) PHP 4.3.2 / Apache 1.3.29 <= preinstalled with OS X Server Be sure to install these OS updates otherwise you'll have a problem whereby there will be no feedback after hitting the Send button (messages get sent but you'll be stuck at the Compose page): 1. Mac OS X Server 10.3.4 Update (was running 10.3.3) 2. Security Update 2004-05-24 Here's what I did: NOTE my directory choices (change if you like): web root directory = /Library/WebServer/Documents <= default for Mac OS X installation webmail = SquirrelMail home directory /var/squirrelmail/data = SquirrelMail "data" directory /var/squirrelmail/attachments = SquirrelMail "attachments" directory ===== 1. Open Terminal and gain root privileges $ su root 2. In Finder, I renamed "squirrelmail-1.4.3-RC1" to "webmail" 3. In Terminal, I moved "webmail" folder to /Library/WebServer/Documents # mv webmail /Library/WebServer/Documents 4. I created a squirrelmail directory in /var # mkdir /var/squirrelmail 5. I moved the "data" folder from the "webmail" folder to /var/squirrelmail (NOTE: to make things clearer, I'm using all absolute paths) # cd /Library/WebServer/Documents/webmail # mv data /var/squirrelmail 6. I made the "data" folder writeable by the webserver, "www" (as per INSTALL file) # cd /var/squirrelmail # chown -R www data # chgrp -R www data 7. I created an "attachments" folder in /var/squirrelmail # mkdir /var/squirrelmail/attachments 8. I changed permissions on "attachments" folder (as per INSTALL file) # cd /var/squirrelmail # chgrp -R www attachments # chmod 730 attachments 9. I started the config utility # cd /Library/WebServer/Documents/webmail/config # perl conf.pl 10. Use the menu-driven utility and be sure to change these variables: Server Settings > Domain = <your domain> Server Settings > IMAP Server = <your server's hostname> Server Settings > SMTP Server = <your server's hostname> Folder Defaults > Trash Folder = Trash Folder Defaults > Sent Folder = Sent Items Folder Defaults > Drafts Folder = Drafts General Options > Data Directory = /var/squirrelmail/data/ General Options > Attachment Directory = /var/squirrelmail/attachments/ General Options > Enable UID support = false Be sure to save data after making changes. 11. Then to login, just go to http://<your hostname>/webmail Corrections/comments welcome, of course. Cheers, Derek |