Posts: 12

Topic: Setting iredmail as a virtual host

Hello,

I'm trying to set all the iredmail components (Rouncube, iredamin and awstats) to run under a name based virtual host in apache instead of the default one (as apache will also host my website). Am I correct in assuming that all the apache settings that iredmail needs are in the rouncube.conf, iredadmin.conf awstats.conf and ssl.conf files? In other words does the iredadmin installer modify the htppd.conf file?

Re: Setting iredmail as a virtual host

arthurfabre wrote:

Am I correct in assuming that all the apache settings that iredmail needs are in the rouncube.conf, iredadmin.conf awstats.conf and ssl.conf files? In other words does the iredadmin installer modify the htppd.conf file?

You're right.iRedMail will modify httpd.conf and conf.d/ssl.conf, just a little changes.

Re: Setting iredmail as a virtual host

Ok so I've merged all the files into one to create 2 virtual hosts, one for http and another for https, but I'm having a couple of issues.Roundcube works fine, but I can't seem to access either dbmailadmin or iredadmin. Here's the file I created:

Re: Setting iredmail as a virtual host

Ok, that was it, thanks a lot!I am experiencing yet another problem though (I guess I must be particularly thick)I can now access both iredadmin and dbmailadmin via http, but an https request returns the source code of the login page and not the actual page itself..I've tried searching around, but I can't seem to find an actual answer..

(The only changes I've made to my config file were changing the / alias to /mail in both the virtual hosts)

Re: Setting iredmail as a virtual host

Re: Setting iredmail as a virtual host

Hi,

I think I have exactly the same problem as arthurfabre.

But unfortunately I have two problems:1. His vhost file, doesn't work in my Case because I have no ldap installed.2. I'm not shure which files I have to delete first before I could really start to test my configuration. Am I right, that it's just the files in /etc/apache2/conf.d and the /etc/apache2/sites-availibile/default-ssl ?

Re: Setting iredmail as a virtual host

der_mythos wrote:

Hi,

I think I have exactly the same problem as arthurfabre.

But unfortunately I have two problems:1. His vhost file, doesn't work in my Case because I have no ldap installed.2. I'm not shure which files I have to delete first before I could really start to test my configuration. Am I right, that it's just the files in /etc/apache2/conf.d and the /etc/apache2/sites-availibile/default-ssl ?

Re: Setting iredmail as a virtual host

Hi Robin,

1) You don't need LDAP related settings if you're not running OpenLDAP.2) Please create a new forum topic and clearly explain what you want, what you did/tried, what (error) message you got. So that others can help you.