= Squirrelmail = Webs with squirrelmail: {{{ web1 }}} Emerge the packages {{{ echo mail-client/squirrelmail vhosts spell filter -ldap >> /etc/portage/package.use emerge squirrelmail }}} To install squirrelmail-1.4.16 into a virtual host, run the following command: {{{ webapp-config -I -h www.thinkthinkdo.com -d squirrelmail squirrelmail 1.4.16 }}} Post installation instructione by webapp-config: {{{ ================================================================= POST-INSTALL INSTRUCTIONS ================================================================= * You must edit the following configuration files to setup your server. * Note that not all of them may be present depending on USE flags. * * config/config.php * plugins/retrieveuserdata/config.php * plugins/virus_scan/config.php * plugins/gpg/gpg_local_prefs.txt * plugins/ldapuserdata/config.php * plugins/show_ssl_link/config.php * plugins/secure_login/config.php * * You should also create the file 'config/admins' * containing the users who should have access to administrative options. * Put each login on its own line, and be sure to leave a newline at the * end of the file. * * You can use the console based configuration tool by executing: * cd config; perl conf.pl ================================================================= }}} I used the console based configuration tool {{{ cd /var/www/www.thinkthinkdo.com/web/squirrelmail/config perl conf.pl }}} 1. Organization Preferences: {{{ Organization Preferences 1. Organization Name : Thinkthinkdo 2. Organization Logo : ../images/sm_logo.png 3. Org. Logo Width/Height : (308/111) 4. Organization Title : Thinkthinkdo $version 5. Signout Page : 6. Top Frame : _top 7. Provider link : http://www.thinkthinkdo.com 8. Provider name : Thinkthinkdo }}} 2. Server Settings {{{ Server Settings General ------- 1. Domain : thinkthinkdo.com 2. Invert Time : false 3. Sendmail or SMTP : SMTP A. Update IMAP Settings : localhost:143 B. Update SMTP Settings : localhost:25 }}} 3. Folder Defaults -> nothing changed 4. General Options (changes only) {{{ 2. Attachment Directory : ../attach/ }}} 5. Themes -> nothing changed[[BR]] 6. Address Books -> nothing changed[[BR]] 7. Message of the Day (MOTD) -> nothing changed[[BR]] 8. Plugins -> (only changes) {{{ Plugins Installed Plugins 1. administrator 2. calendar }}} 9. Database -> nothing changed (yet)[[BR]] 10. Languages (only changes) {{{ 1. Default Language : de_DE }}} D. Set pre-defined settings for specific IMAP servers {{{ Command >> courier imap_server_type = courier default_folder_prefix = INBOX. trash_folder = Trash sent_folder = Sent draft_folder = Drafts show_prefix_option = false default_sub_of_inbox = false show_contain_subfolders_option = false optional_delimiter = . delete_folder = true }}} Save and exit.[[BR]] Create the attach directory: {{{ mkdir /var/www/www.thinkthinkdo.com/web/squirrelmail/attach chown apache:apache /var/www/www.thinkthinkdo.com/web/squirrelmail/attach }}} Test the installation using [http://www.thinkthinkdo.com/squirrelmail/src/configtest.php] complains about some php setting (that i ignore for now) ![[BR]] {{{ ERROR: You have enabled any one of magic_quotes_runtime, magic_quotes_gpc or magic_quotes_sybase in your PHP configuration. We recommend all those settings to be off. SquirrelMail may work with them on, but when experiencing stray backslashes in your mail or other strange behaviour, it may be advisable to turn them off. }}} To allow some user to access the admin options using the webmail (unter Optionen -> Administration): {{{ echo web1_admin >> /var/www/www.roegergasse22.at/web/squirrelmail/config/admins }}}