Webmail IMAP server issues

Operating System & Version
Ubuntu 20.04.6 LTS
cPanel & WHM Version
114.0.5

Atomoyo

Member
Sep 13, 2023
5
0
1
Ireland
cPanel Access Level
Root Administrator
I have spent a few hours trying to resolve an issue with logging in via cPanel to roundcube. When I or a customer attempts to login to an email account on roundcube through the email accounts page, the page will load for a long time before saying that IMAP is unavailable.

This issue has only occured since I updated to 114.0.5

I'm not quite sure where to go from here. I have attached a screenshot of the output of cat /var/log/mail.err which I assume is causing the issue.

If anyone has an ideas as to what may fix this, please let me know as I have customers unable to access their emails!

Many Thanks
Atomoyo
 

Attachments

Atomoyo

Member
Sep 13, 2023
5
0
1
Ireland
cPanel Access Level
Root Administrator
No, doesn't seem like there is anything odd when I run it.

I had assumed that cfw could be causing the issue, so I whitelisted all of the ports to do with mail according to documentation I found from cPanel. Then later completely disabled it which didn't seem to make a difference.

Earlier SpamAssasain seemed to be blocking stuff as well but I disabled that and haven't seen anything else from it since
 

Attachments

Atomoyo

Member
Sep 13, 2023
5
0
1
Ireland
cPanel Access Level
Root Administrator
Didn't seem to make a difference. Still seeing the same IMAP is not available message. I also did a quick restart after the command too, is there any logs I can export that may help?
 

Atomoyo

Member
Sep 13, 2023
5
0
1
Ireland
cPanel Access Level
Root Administrator
I just ran "tail -n 50 /usr/local/cpanel/logs/error_log" and got the following output:

[2023-09-15 22:20:17 +0200] warn [Internal Warning while parsing ./webmail/jupiter/index.html 20825] alarm() with negative argument at /usr/local/cpanel/Cpanel/Form.pm line 91.
at /usr/local/cpanel/Cpanel/Form.pm line 91.
Cpanel::Form::parseform() called at cpanel.pl line 883
cpanel::cpanel::script("cpanel::cpanel", "-webmail", "./webmail/jupiter/index.html") called at cpanel.pl line 324.

This shows up every time when someone tries to login. I believe this is the line "alarm( ( $end_time && ( $end_time - $current_time < $read_timeout ) ) ? ( $end_time - $current_time ) : $read_timeout );".