Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: bdsit on April 08, 2019, 10:23:31 PM

Title: Roudcube webmail redirect problem
Post by: bdsit on April 08, 2019, 10:23:31 PM
Hi all! Since yesterday's update I encounter a strange problem. All the domain/webmail redirects are now triggering https://localhost:2096/ instead of roundcube interface, resulting (obviously) in an error. I checked all the config and everything seems fine ... :( Can you please help me? Thanks!
Title: Re: Roudcube webmail redirect problem
Post by: josemnunez on April 08, 2019, 10:30:38 PM
Please execute this

Code: [Select]
yum update cwpsrv

And then restart the apache / Nginx services
Title: Re: Roudcube webmail redirect problem
Post by: bdsit on April 09, 2019, 05:00:47 AM
Thanks, but the problem persists. cwpsrv was up to date :(
Title: Re: Roudcube webmail redirect problem
Post by: studio4host on April 09, 2019, 11:13:53 AM
the latest version has this fixed to correct https redirection location
yum update cwpsrv
Title: Re: Roudcube webmail redirect problem
Post by: bolado on April 09, 2019, 02:39:35 PM
Hi, I'm having the same problem, I ran all updates and restart services, but it's still redirecting to localhost:2096

A temporary "solution" that is working for me it's to add "/?" at the end of the url... for example: http://domain.com/webmail/?
Title: Re: Roudcube webmail redirect problem
Post by: bdsit on April 09, 2019, 02:52:23 PM
I'm running the latest version (0.9.8.594) ... "No Packages marked for update". Thank you bolado, your workaround works very well!! :)
Title: Re: Roudcube webmail redirect problem
Post by: bdsit on April 09, 2019, 04:00:34 PM
Strange thing, the webmail redirect started working correctly "out of the blue". No updates / restart in the meanwhile. All the previous tests were done in incognito mode in browser in order to avoid cache. Hmm...
Title: Re: Roudcube webmail redirect problem
Post by: cfan2018 on April 09, 2019, 04:57:38 PM
I'm facing similar issue with CentOS 7 + CWP. It still doesn't work for me even after yum updates, reboot and clearing browser cache.

Applied a temporary workaround for now: http://forum.centos-webpanel.com/updates/so-much-update-errors-last-days-last-one-i-lost-webmail/msg22519/#msg22519
Title: Re: Roudcube webmail redirect problem
Post by: davidjo on April 20, 2020, 12:19:54 PM
Hello,

The error with the webmail / mail redirection; has appeared again. I have noticed yesterday; the problem now is that it redirects through port 2096 but it gives a certificate error; Basically the redirection rules are loaded using the ssl certificate of the admin panel and not of the domain of the user itself.
View image

(https://drive.vcloud.es/index.php/apps/files_sharing/publicpreview/ZpJFZSQL8Je3iPx?x=1920&y=587&a=true&file=error_webmail_redirect_CWP.jpg&scalingup=0)