View Single Post
  #17  
Old 27th May 2010, 18:19
astewart astewart is offline
Member
 
Join Date: Feb 2007
Posts: 95
Thanks: 1
Thanked 7 Times in 7 Posts
Default

After following the perfect Setup ispconfig 3 for your Linux distro, manually create an .vhost for your webmail.

Eg, I am running ubuntu and my squirrelmail.vhost looks like this:
Quote:
Alias /webmail /usr/share/squirrelmail

<Directory /usr/share/squirrelmail>
Options Indexes FollowSymLinks
<IfModule mod_php4.c>
php_flag register_globals off
</IfModule>
<IfModule mod_php5.c>
php_flag register_globals off
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>

# access to configtest is limited by default to prevent information leak
<Files configtest.php>
order deny,allow
deny from all
allow from 127.0.0.1
</Files>
</Directory>
This file resides in:
/etc/apache2/sites-available

But you will have to create a symlink to have it added to:
/etc/apache2/sites-enabled

(This is Ubuntu's Apache setup, unsure about other distros).

Then just restart apache.

All domains you host should be able to access webmail now:
domain1.com/webmail
domain2.com/webmail
etc.
Reply With Quote