| Which file or script handles creating webmail.conf [message #94325] |
Wed, 18 January 2012 11:24  |
|
I would like to know which script handles creating webmail.conf I can manually edit the file but changing individual domain options under the global admin resets the changes. Basically all I want to do is write an additional ServerAlias into the file when it is changed and map that to the created by default mail.* subdomain. Taking this one step further it wouldn't be too terrible to simply remove the webmail subdomain all together. As for some reason apache will show a not properly configured message when you navigate to mail.domain.com. I would like basically just to make this portion look a bit more clean in execution. Not everyone will use the mail.domain.com but it should be available as it is basically the exact same thing and it's already open on port 80 anyway even though the mail service itself runs on different ports.
To make a long story short where do I change the default behavior of adding a virtual host for domain's when you change default mail program and add that secondary ServerAlias as well as making sure the default webmail.conf holds that additonal ServerAlias by default.
P.S. I would really like some sort of function reference or at least class reference for what each of the php files in /usr/local/lxlabs/kloxo/ handle. The naming conventions don't all make sense to me and some of it is very re-usable code. IE I cannot tell by looking which functions are called from templates which are called from sources. Or get an idea on how each individual file is related to each other.
I could eventually figure all this out but it would be a long process especially considering the only features I would like to change about kloxo mainly deal with minor behaviors like this. And adding a option to redirect certain default domains to SSL and disallow http access using mod_rewrite. Again just entries in the client creation scripts/modification scripts for apache configuration. Maybe add a nice checkbox for this sort of thing under default webmail program or something along those lines.
I do not intend to change major functionality or re-release code except to this project freely if others would like these features.
|
|
|
|
|
|
| Re: Which file or script handles creating webmail.conf [message #94409 is a reply to message #94388] |
Fri, 20 January 2012 21:30   |
|
|
Ok so I have a checkbox under General Settings main admin panel for some reason or another it doesn't post a checked unchecked value so I noticed the install app checkbox in that same panel sets a flag file. Where do I need to define a definition for the file so I can call ->isOn against it.
|
|
|
|