Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-19, 21:52:33

Author Topic: Choosing custom webmail does not work - shows chooser  (Read 13291 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
I was always forcing Afterlogic and now it shows me chooser page. Changed back and forth, runned /script/fixweb and not working :/
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Choosing custom webmail does not work - shows chooser
« Reply #1 on: 2013-10-04, 01:40:44 »
Using 6.5.0.f or 6.5.1.a?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Choosing custom webmail does not work - shows chooser
« Reply #2 on: 2013-10-04, 01:43:44 »
Quote from: "MRatWork"
Using 6.5.0.f or 6.5.1.a?

Kloxo-MR 6.5.1.a-2013100302 with latest Apache/nginx configs:

Code: [Select]
A. Kloxo-MR: 6.5.1.a-2013100302

B. OS: CentOS release 6.4 (Final) x86_64

C. Apps:
   1. MySQL: MariaDB-server-10.0.4-1.x86_64
   2. PHP: php-5.4.20-1.el6.remi.x86_64
   3. Httpd: httpd-2.2.25-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.5.6-1.el6.x86_64
   6. Cache: --uninstalled--
   7. Qmail: qmail-toaster-1.03-1.3.27.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64
   7. Dns: pdns-3.3-1.el6.x86_64

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:         32166      31839        326          0        466       9825
   -/+ buffers/cache:      21547      10618
   Swap:         2047        121       1926

Also port 30080 is not responding from outside so our monitoring system is telling us it doesn't work while it actually works fine.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Choosing custom webmail does not work - shows chooser
« Reply #3 on: 2013-10-04, 01:46:05 »
Please inform Kloxo-MR version when ask or talk something.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Choosing custom webmail does not work - shows chooser
« Reply #4 on: 2013-10-04, 01:47:14 »
Quote from: "MRatWork"
Please inform Kloxo-MR version when ask or talk something.

Sure. I just forgot - all details above ;)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Choosing custom webmail does not work - shows chooser
« Reply #5 on: 2013-10-04, 01:47:39 »
Inform here config of domain config for nginx and apache with have a problem.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Choosing custom webmail does not work - shows chooser
« Reply #6 on: 2013-10-04, 01:52:10 »
Better posting to 'Kloxo-MR Development' for 'dev' (a, b or c) version.

FYI, different with 6.5.0, only have 2 directory (defaults and domains) in /home/<webserver>/conf and in defaults only have 1 file (init.conf).
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Choosing custom webmail does not work - shows chooser
« Reply #7 on: 2013-10-04, 01:55:43 »
I know. These config run very well even wildcard + www redirect works fine for webmail, but it always shows chooser.

Here are my configs:

Apache:

Code: [Select]
### begin - web of 'bitu.pl' - do not remove/modify this line


## webmail for 'bitu.pl'
<VirtualHost 127.0.0.1:30080>

    ServerName webmail.bitu.pl

    DocumentRoot "/home/kloxo/httpd/webmail"

    DirectoryIndex index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl

    <IfModule mod_fastcgi.c>
        Alias /webmail.bitu.pl.0fake "/home/kloxo/httpd/webmail/webmail.bitu.pl.0fake"
        #FastCGIExternalServer "/home/kloxo/httpd/webmail/webmail.bitu.pl.0fake" -host 127.0.0.1:50000 -idle-timeout 90

        FastCGIExternalServer "/home/kloxo/httpd/webmail/webmail.bitu.pl.0fake" -socket /home/php-fpm/sock/apache.sock -idle-timeout 90
        AddType application/x-httpd-fastphp .php
        Action application/x-httpd-fastphp /webmail.bitu.pl.0fake
        <Files "webmail.bitu.pl.0fake">
            RewriteCond %{REQUEST_URI} !webmail.bitu.pl.0fake
        </Files>
    </IfModule>

    <Location />
        Allow from all
        Options +Indexes +FollowSymlinks
    </Location>

</VirtualHost>


## web for 'bitu.pl'
<VirtualHost 127.0.0.1:30080>

    ServerAdmin webmaster@bitu.pl

    ServerName bitu.pl

    ServerAlias www.bitu.pl

    DocumentRoot "/home/robomatik/bitu"

    DirectoryIndex index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl

    Alias /__kloxo "/home/robomatik/kloxoscript/"

    Redirect /kloxo "https://cp.bitu.pl:7777"
    Redirect /kloxononssl "http://cp.bitu.pl:7778"

    Redirect /webmail "http://webmail.bitu.pl"

    ScriptAlias /cgi-bin/ "/home/robomatik/bitu.pl/cgi-bin/"

    <IfModule mod_fastcgi.c>
        Alias /bitu.pl.0fake "/home/robomatik/bitu/bitu.pl.0fake"
        #FastCGIExternalServer "/home/robomatik/bitu/bitu.pl.0fake" -host 127.0.0.1:57836 -idle-timeout 90

        FastCGIExternalServer "/home/robomatik/bitu/bitu.pl.0fake" -socket /home/php-fpm/sock/robomatik.sock -idle-timeout 90
        AddType application/x-httpd-fastphp .php
        Action application/x-httpd-fastphp /bitu.pl.0fake
        <Files "bitu.pl.0fake">
            RewriteCond %{REQUEST_URI} !bitu.pl.0fake
        </Files>
    </IfModule>

    <IfModule mod_php5.c>
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i"
        php_admin_value sendmail_from "bitu.pl"
    </IfModule>

    <Directory "/home/robomatik/bitu/">
        AllowOverride All
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
        Options +Indexes +FollowSymlinks
    </Directory>

    <Location />
        Options +Includes +FollowSymlinks
    </Location>

    <Location />
        <IfModule mod_php5.c>
            php_admin_value open_basedir "/home/robomatik:/tmp:/usr/share/pear:/var/lib/php/session/:/home/kloxo/httpd/script:/home/kloxo/httpd/disable/:"
        </IfModule>
    </Location>

    CustomLog "/home/httpd/bitu.pl/stats/bitu.pl-custom_log" combined
    ErrorLog "/home/httpd/bitu.pl/stats/bitu.pl-error_log"

    Alias /stats "/home/httpd/bitu.pl/webstats/"

    <Location "/stats/">
        Options +Indexes
    </Location>

</VirtualHost>


## webmail for 'bitu.pl'
<VirtualHost 127.0.0.1:30443>

    ServerName webmail.bitu.pl

    DocumentRoot "/home/kloxo/httpd/webmail"

    DirectoryIndex index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl

    <IfModule mod_ssl.c>
        SSLEngine On
        SSLCertificateFile /home/kloxo/httpd/ssl/eth0___localhost.crt
        SSLCertificateKeyFile /home/kloxo/httpd/ssl/eth0___localhost.key
        SSLCACertificatefile /home/kloxo/httpd/ssl/eth0___localhost.ca
    </IfModule>

    <IfModule mod_fastcgi.c>
        Alias /webmail.bitu.pl.1fake "/home/kloxo/httpd/webmail/webmail.bitu.pl.1fake"
        #FastCGIExternalServer "/home/kloxo/httpd/webmail/webmail.bitu.pl.1fake" -host 127.0.0.1:50000 -idle-timeout 90

        FastCGIExternalServer "/home/kloxo/httpd/webmail/webmail.bitu.pl.1fake" -socket /home/php-fpm/sock/apache.sock -idle-timeout 90
        AddType application/x-httpd-fastphp .php
        Action application/x-httpd-fastphp /webmail.bitu.pl.1fake
        <Files "webmail.bitu.pl.1fake">
            RewriteCond %{REQUEST_URI} !webmail.bitu.pl.1fake
        </Files>
    </IfModule>

    <Location />
        Allow from all
        Options +Indexes +FollowSymlinks
    </Location>

</VirtualHost>


## web for 'bitu.pl'
<VirtualHost 127.0.0.1:30443>

    ServerAdmin webmaster@bitu.pl

    ServerName bitu.pl

    ServerAlias www.bitu.pl

    <IfModule mod_ssl.c>
        SSLEngine On
        SSLCertificateFile /home/kloxo/httpd/ssl/eth0___localhost.crt
        SSLCertificateKeyFile /home/kloxo/httpd/ssl/eth0___localhost.key
        SSLCACertificatefile /home/kloxo/httpd/ssl/eth0___localhost.ca
    </IfModule>

    DocumentRoot "/home/robomatik/bitu"

    DirectoryIndex index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl

    Alias /__kloxo "/home/robomatik/kloxoscript/"

    Redirect /kloxo "https://cp.bitu.pl:7777"
    Redirect /kloxononssl "http://cp.bitu.pl:7778"

    Redirect /webmail "https://webmail.bitu.pl"

    ScriptAlias /cgi-bin/ "/home/robomatik/bitu.pl/cgi-bin/"

    <IfModule mod_fastcgi.c>
        Alias /bitu.pl.1fake "/home/robomatik/bitu/bitu.pl.1fake"
        #FastCGIExternalServer "/home/robomatik/bitu/bitu.pl.1fake" -host 127.0.0.1:57836 -idle-timeout 90

        FastCGIExternalServer "/home/robomatik/bitu/bitu.pl.1fake" -socket /home/php-fpm/sock/robomatik.sock -idle-timeout 90
        AddType application/x-httpd-fastphp .php
        Action application/x-httpd-fastphp /bitu.pl.1fake
        <Files "bitu.pl.1fake">
            RewriteCond %{REQUEST_URI} !bitu.pl.1fake
        </Files>
    </IfModule>

    <IfModule mod_php5.c>
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i"
        php_admin_value sendmail_from "bitu.pl"
    </IfModule>

    <Directory "/home/robomatik/bitu/">
        AllowOverride All
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
        Options +Indexes +FollowSymlinks
    </Directory>

    <Location />
        Options +Includes +FollowSymlinks
    </Location>

    <Location />
        <IfModule mod_php5.c>
            php_admin_value open_basedir "/home/robomatik:/tmp:/usr/share/pear:/var/lib/php/session/:/home/kloxo/httpd/script:/home/kloxo/httpd/disable/:"
        </IfModule>
    </Location>

    CustomLog "/home/httpd/bitu.pl/stats/bitu.pl-custom_log" combined
    ErrorLog "/home/httpd/bitu.pl/stats/bitu.pl-error_log"

    Alias /stats "/home/httpd/bitu.pl/webstats/"

    <Location "/stats/">
        Options +Indexes
    </Location>

</VirtualHost>


### end - web of 'bitu.pl' - do not remove/modify this line

nginx:

Code: [Select]
### begin - web of 'bitu.pl' - do not remove/modify this line


## webmail for 'bitu.pl'
server {
    listen 0.0.0.0:80;
    listen [::]:80;

    server_name webmail.bitu.pl;

    index index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl;

    set $rootdir '/home/kloxo/httpd/webmail';

    root $rootdir;

    include '/home/nginx/conf/globals/custom.proxy.conf';
}


## web for 'bitu.pl'
server {
    listen 0.0.0.0:80;
    listen [::]:80;

    server_name bitu.pl www.bitu.pl;

    index index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl;

    set $domain 'bitu.pl';

    set $rootdir '/home/robomatik/bitu';

    root $rootdir;

    set $user 'robomatik';

    set $fpmport '57836';

    include '/home/nginx/conf/globals/custom.proxy.conf';

    include '/home/nginx/conf/globals/generic.conf';
}


## webmail for 'bitu.pl'
server {
    listen 0.0.0.0:443;
    listen [::]:443;

    ssl on;
    ssl_certificate /home/kloxo/httpd/ssl/eth0___localhost.crt;
    ssl_certificate_key /home/kloxo/httpd/ssl/eth0___localhost.key;
    ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers HIGH:!aNULL:!MD5;

    server_name webmail.bitu.pl;

    index index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl;

    set $rootdir '/home/kloxo/httpd/webmail';

    root $rootdir;

    include '/home/nginx/conf/globals/custom.proxy.conf';
}


## web for 'bitu.pl'
server {
    listen 0.0.0.0:443;
    listen [::]:443;

    ssl on;
    ssl_certificate /home/kloxo/httpd/ssl/eth0___localhost.crt;
    ssl_certificate_key /home/kloxo/httpd/ssl/eth0___localhost.key;
    ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers HIGH:!aNULL:!MD5;

    server_name bitu.pl www.bitu.pl;

    index index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl;

    set $domain 'bitu.pl';

    set $rootdir '/home/robomatik/bitu';

    root $rootdir;

    set $user 'robomatik';

    set $fpmport '57836';

    include '/home/nginx/conf/globals/custom.proxy.conf';

    include '/home/nginx/conf/globals/generic.conf';
}


### end - web of 'bitu.pl' - do not remove/modify this line
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Choosing custom webmail does not work - shows chooser
« Reply #8 on: 2013-10-04, 01:58:03 »
It should redirect to onlinemail folder where my special Afterlogic version sits ;)

Currently I've fixed this with custom-index.php with contents of redirect-to-onlinemail.php, but maybe you can find a fix for this.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Choosing custom webmail does not work - shows chooser
« Reply #9 on: 2013-10-04, 02:13:03 »
OK, I will check tomorrow.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Choosing custom webmail does not work - shows chooser
« Reply #10 on: 2013-10-04, 02:26:45 »
FYI, Kloxo-MR think every dirs inside /home/kloxo/httpd/webmail (except images and img) as webmail apps. So, you can place your webmail and then run 'sh /script/fixmail-all' (or shortly with 'sh /script/fixwebmail'. After that you will see your webmail in webmail list in panel.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.047 seconds with 19 queries.

web stats analysis