I have setup ISPC3 with Squirell mail and all works fine, eg. http://www.example.com/webmail As soon as I add a site for example.com I can't connect to to the /webmail I assume I need directives added, can someone help me here
Webmail is installed on the default vhost of the server. If you add a website that overrides the default vhost, you van not access webmail anymore. I recommend that you create a nwe website like webmail.example.com and install a webmail application of your choice into this new website.
What if I symlink webmail --> /usr/share/squirrelmail I tried this but get a permision denided how can I work arond that ?
The webmail package is installed via apt. so we don't have a choice on were it goes to. What is the reason I can't create a symlink out to the correct location of the webmail package ?
Ok I got it working, quite simple actually, vi /etc/apache2/conf.d/squirrelmail.conf Code: # Squirrelmail default Apache configuration Alias /webmail /usr/share/squirrelmail <Directory /usr/share/squirrelmail> Options Indexes FollowSymLinks DirectoryIndex index.php <IfModule mod_php5.c> AddType application/x-httpd-php .php php_flag magic_quotes_gpc Off php_flag track_vars On php_flag register_globals Off php_value include_path . </IfModule> </Directory> restart apache and this should now work for all sites http://www.example.com/webmail
The above mentioned works for any website you are trying to install globally, I have this for awstats, roundcube, Maia Mailguard just to mention a few.