Webmail and CpanelProxy resolution?

Gabbadude

Member
Sep 13, 2006
9
0
151
Hello,

I know this has been discussed in other threads before and I know that the cpanelproxy scripts are a third party addon, but I am dire need of help here as I believe are many others who use this addon.

I am finding it very hard to believe that everyone who is using the cpanelproxy scripts have settled for the fact that it no longer works with the webmail subdomains. For me at least, the cpanel and whm are working fine without problems so far. But as we know, the webmail is still redirecting to the port based urls.

Now before someone asks me whether I have sent an email to the original developer of the script, well yes,...I have, and have had no response. I have also searched these forums and found nothing of value unless I haven't search properly.

HAS NOBODY fixed this yet? I just cannot believe that everyone who are resellers has told all their clients:
Sorry, but webmail.hostname.com no longer works and you will just have to wait until you get to another PC that isn't behind a firewall to check your mail.

Regards
Your hosting Company
PLEASE can someone direct me to a fix or something.

I'm desperate.

-=G~D=-
 
Last edited:

graham_w

Well-Known Member
May 25, 2004
54
0
156
Comment out the following lines in your httpd.conf.

ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi

If you can't edit httpd.conf or your host won't do it, then you have to use a different subdomain.
 

Gabbadude

Member
Sep 13, 2006
9
0
151
Hi there,

are you 100% sure that this works though? Will this not break something else?

Sorry if it's a stupid question, I'm just not that familiar with the whole Apache thing.

Thanks for replying.

Gabbadude
 

graham_w

Well-Known Member
May 25, 2004
54
0
156
You are right, it kills all sites being able to access webmail through domain.com/webmail.

There has to be another way ..
 

Gabbadude

Member
Sep 13, 2006
9
0
151
Thanks Graham,

You know, I have no clue why cPanel can't just allow the access for the webmail via some other methods. How are their clients supposed to access their cPanels and webmail if they are behind a firewall.

I am astounded that cPanel has not addressed this issue. Whether it be for security reasons, I just feel that it is not an argument due to the fact that almost 100% of corporations today use firewalls and the clients are not able to convince the powers that be to open the necessary ports. Hence the cpanelproxy was born.

It makes my business look so bad now that when we were on cPanel v10 it was working and now it doesn't.

How can they ignore this?!!?

GabbaDude
 

katmai

Well-Known Member
Mar 13, 2006
564
4
168
Brno, Czech Republic
what is the url for the cpanelproxy page though ? it's still a 3'rd party app, and i guess you paid for it right? and if so, the developers should provide fixes, though i wish cpanel would do that kind of thing actually.
 

graham_w

Well-Known Member
May 25, 2004
54
0
156
Gabbadude

Looks like a resolution here :
http://forums.cpanel.net/showthread.php?t=66107&page=2&highlight=cpanelproxy

Just add the line
$data = preg_replace('_([^.]*)/webmail_', '$1/webmail_', $data);

Above this part
$data = str_replace(
array('localhost:2095', 'localhost:2082', 'localhost:2086'),
array($webmailhost, $cpanelhost, $whmhost),

In the cpanelproxy.php page and save!

ps what does gabbadude mean ? Are you from around the Gabba in Brisbane ? :)
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
what is the url for the cpanelproxy page though ? it's still a 3'rd party app, and i guess you paid for it right? and if so, the developers should provide fixes, though i wish cpanel would do that kind of thing actually.
It's one of many (abandoned) projects on Sourceforge.
 

Bud Spencer

Member
Jun 6, 2006
15
0
151
Frankfurt, Germany
I know...

But then "cpanelkenneth" why Cpanel can not fix this things and do not use ports any more?

Which reason have the use of the ports?

I think that Cpanel know the fact, that the most of the people sitting behind of a firewall and can not access Cpanel, WHM or Webmail!

Plesk does not use this and with Plesk this would work...

I hope that Cpanel fix this soon...
 

dbteq

Member
Aug 24, 2005
8
0
151
Gabbadude

Looks like a resolution here :
http://forums.cpanel.net/showthread.php?t=66107&page=2&highlight=cpanelproxy

Just add the line
$data = preg_replace('_([^.]*)/webmail_', '$1/webmail_', $data);

Above this part
$data = str_replace(
array('localhost:2095', 'localhost:2082', 'localhost:2086'),
array($webmailhost, $cpanelhost, $whmhost),

In the cpanelproxy.php page and save!

ps what does gabbadude mean ? Are you from around the Gabba in Brisbane ? :)
Well done Graham! You've fixed it indeed.. it works like a charm! :) Many thanks mate!
 

abubin

Well-Known Member
Dec 7, 2004
401
3
168
that still doesn't solve the question of "why doesn't cpanel just do a webmail that works on port 80?". I have been asking this question for years but cpanel just never reply.
 

wbrightfl

Registered
Oct 17, 2007
4
0
51
that still doesn't solve the question of "why doesn't cpanel just do a webmail that works on port 80?". I have been asking this question for years but cpanel just never reply.
Because cpanel does not listen to their customer's needs on this subject. Hundreds upon hundreds of complaints about this and not resolution other than, use a third panel proxy.
 

smksa

Member
Aug 1, 2006
21
0
151
Cpanel Proxy autoinstaller will helps

Using cpanel proxy script that have the autoinstaller as mentioned at http://www.cpanel-proxy.net will helps user to access cpanel and webmail on regular port 80 .

That should resolved your issue which not able to access cpanel on port 2082 or 2083 , probably due to your firewall blocking the port.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Last edited: