Author Topic: How to fix roundcube mail server 403 forbidden error  (Read 2042 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to fix roundcube mail server 403 forbidden error
« on: April 05, 2023, 12:56:41 AM »
Hello , I hope that you are all fine !? Can anybody or admin can fix my problem when I try to access my roundcube mail server I get error 403 forbidden error I have fixed many time user permissions and mode security is disabled but I'm still getting 403 forbidden error please tell me it's solution for fix this issue ??? Most thanks in advance ☺️🤠

Offline
****

Offline
*
Re: How to fix roundcube mail server 403 forbidden error
« Reply #2 on: May 13, 2023, 09:44:59 PM »
I recommend you to following:

Go to the document root of Roundcube (webmail):
Code: [Select]
cd /usr/local/cwpsrv/var/services/roundcubecreate a simple php file:
Code: [Select]
echo "<?php phpinfo(); ?>"  > aa.php
chown cwpsvc.cwpsvc aa.php
then try to access it over the web (in your browser):

http://hostname.com/webmail/aa.php

if you get the error 403 again then most likely the problem is caused by wrong user/group, access permissions or .htaccess file.

Make sure the folder of roundcube belongs to
Code: [Select]
cwpsvc:cwpsvcAll folders have access permissions 755 (rwx-rx-rx) and files 644 (-rw-r--r--) except config/config.inc.php 640 (rw-r-----)

If the access permissions (ownger:group, etc) are correct then rename .htaccess to something like .htaccess_backup and try to access the file aa.php over the web again. In case it can be accessed then investigate your .htaccess.

Don't forget to remove the file aa.php when all test are finished.
« Last Edit: May 13, 2023, 09:48:27 PM by cyberspace »

Offline
***
Re: How to fix roundcube mail server 403 forbidden error
« Reply #3 on: November 16, 2023, 02:35:09 PM »
I have had onging issues with RC for years.   A recurring issue is in certain email accounts, can not save to send box.  This is true in thunderbird and webmail both.  I get permission error in webmail.  But just for certain email accounts.  Never did figure it out.
Listen to everything Pixelpadre says.

Offline
*
Re: How to fix roundcube mail server 403 forbidden error
« Reply #4 on: March 10, 2024, 12:06:47 PM »
ok sir thanks