Hi, I was wondering if anyone had a more comprehensive tutorial for install webmail with ISPConfig3 ***AFTER*** ISPConfig3 is installed. I find this one hard to follow and have now reformatted my server for the 6th time this week because I was mucking around with files / things I did not understand. I am using Ubuntu 8.10 and can't say I'm very linux savvy. I know the bare basics. This is a snippet off http://www.ispconfig.org/docs/INSTALL_UBUNTU_8.10.txt which I found hard to follow and ended up messing up big time. Code: 10.2) Horde (Webmail) - horde.org ******************************************************************************* First of all, install the horde3 and Imp4 packages (Ubuntu/Debian) ___ apt-get install horde3 imp4 gollem kronolith2 mnemo2 nag2 turba2 pear install --onlyreqdeps Log Mail Mail_Mime MDB2 File Date ___ It is then necessary to setup an Alias for Apache. If you want horde only on single pages, that are created with ispc3: Add the following line to ISPConfig->Sites->Web Domain->Options->Apache directives If you want to access webmail on all pages add the following line to /etc/apache2/apache2.conf ### Alias /horde3 /usr/share/horde3 ### Allow Apache to write horde configuration files : ___ chown -R www-data:www-data /etc/horde ___ Important parameters to change are (in Horde setup) : ### Horde URL (change it to /horde3) Enable Database Access. Do Not use MySQL Improved (4+), my attempts at using it failed. MySQL Standard runs fine however Enable Authentication. I recommend IMAP authentication (something like {localhost:143/imap/notls}. Do not forget the /notls, not specifying failed on my setup). Also make sure to add your username to the list of Administrators, otherwise, you won’t have access to horde/imp4 parameters. Using anything else than IMAP seeemed to fail on my setup Generate the configuration Horde should now be setup. You now have to configure imp4 generate a configuration using the horde administration panel modify the /etc/horde/imp4/servers.php file. Instruction are given inside the file concerning the syntax. If you run Courier-IMAP, and want Imp to automatically authenticate using horde credentials : $servers[’imap’] = array( ‘name’ => ‘IMAP Server’, ’server’ => ‘localhost’, ‘hordeauth’ => true, ‘protocol’ => ‘imap/notls’, ‘port’ => 143, ‘folders’ => ‘INBOX.’, ‘namespace’ => ‘’, ‘maildomain’ => ‘domain.com’, ’smtphost’ => ‘localhost’, ’smtpport’ => 25, ‘realm’ => ‘’, ‘preferred’ => ‘’, ‘dotfiles’ => false, ‘hierarchies’ => array() ); ###
I really can not recommend horde, its a mess to install and will be removed from the installation instructions therfor. Better use e.g. squirrelmail, just install it as described here: http://www.howtoforge.com/perfect-server-debian-lenny-ispconfig3-p5
Thanks till, I already went ahead with it and it installed no problems. I have one more question regarding this though. I currently have to use the server domain to access webmail, if I host more than one site, can they access webmail from their own domain and how do I set this up ie. current setup. domain1.net => domain1.net/webmail domain2.net => domain1.net/webmail desired setup domain1.net => domain1.net/webmail domain2.net => domain2.net/webmail ---- I have installed squirrelmail on my server and everything is currently working fine. I would love to get this working if possible though
To do this you would have to create a symlink named "webmail" in every website directory that points to the squirrelmail directory or you add a global alis for webmail in apache2.conf for "webmail" pointing to the squirrelmail installation. But this only works as long as you have mod_php or suphp enabled in the website. As soon as you enable suexec it will fail with permission problems.
ok, I have devised a workaround for this now. I now have yet another question about the mailserver. When I am sending mail from outside servers towards my mailserver I get errors - ERR: authdaemon: s_connect() failed: Permission denied Invalid user specified. Once I encounter this error this command fixes it chmod 4755 /var/run/courier/authdaemon is there any way to make it so I don't recieve this error anymore
I think Squirrelmail is disserving itself by not including some themes that can actually be looked at. This page isn't of any help either: http://squirrelmail.org/themes.php A little color is not enough to remove this "feeling of the nineties"
You may use any webmail application together with ispconfig that supports either pop3 or imap. If you dont like squirrelmail, then take a look at e.g. roundcube.