Basically, this little tutorial explains how to make it so when a visitor goes to a site on your domain through http://webmail.(ANY_SITE).com, they will be presented with a single install webmail package. I didn't want to use ISPConfig's package, nor did I want to have my users all log in to mydomain.com:81/webmail. This method allows you to create one site, and have all your clients use their own page to get their webmail. Step 1: Follow a tutorial to install a webmail package to your domain. I recommend RoundCube: http://www.howtoforge.com/roundcube_webmail_ispconfig Once you have this installed and have verified that RoundCube works, move on to the next step. Step 2: Log in as root to your server Choose an editor of your choice and edit: /etc/httpd/conf/httpd.conf Scroll down to the bottom and add BEFORE the "Include /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf" Be sure to change the specified fields. Type Give it a minute or two and now when a user visits: http://webmail.domain1.com or http://webmail.domain3.com or http://webmail.domain5.com They will all be presented with one webmail package that you installed in the beginning. Also (contributed by roadster). You will have to add in a new co-domain (Check the DNS box too) for each site you want this to work on, simply add the following to your co-domains area: Host: webmail domain: whatever.com
Excellent tip, Xinil. Always remembering to add webmail.(anysite).com to DNS, of course. I'd previously added the path to the preferred webmail package as an alias in Apache directives for each site, but this is much neater.
Thanks for reminding me of that roadster. I'd like to mention that this tutorial works on/off for me, lol. When I first wrote it, the redirection worked flawlessly for my domains. Now however, I seem to be having to create a Vhost for each domain. I'm still looking into that problem.
with apache 1.3.x /etc/apache/httpd.conf with apache 2.x /etc/apache2/apache2.conf and after you need to use the /etc/init.d/apache reload or /etc/init.d/apache2 reload command.
Hello all!! I've tryed this but no luck. it still shows the (welcome to bla bla .com) Page. I'm running isp on centOS 5. Thanks
I followed all the steps and after i created the webmail co domain it shows like if i have created a new domain but no webmail
You must not create the webmail Co-Domain in ISPConfig. You must do this manually, as shown in the first post.
not load languages Hi Xinil. I have installed squirrelmail following their instructions on your howto and everything works well. But before I installed squirrelmail in ispconfig and all the squirrelmail languages worked well. Now only recognizes two languages, English and Spanish. Can help me so that selects all the languages has squirrelmail package content? Thanks for your good work. J.F. Ruano.