Skip to main content

Webmail IMAP server issues

Comments

10 comments

  • cPRex Jurassic Moderator
    Hey there! A couple thoughts: -do you get any odd output when running "/scripts/restartsrv_dovecot" -have you tried disabling the firewall on the server just in case that is somehow related?
    0
  • Atomoyo
    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
    0
  • quietFinn
    I'd suggest you run: /scripts/upcp -- force
    0
  • cPRex Jurassic Moderator
    Running a forced update is never a bad idea!
    0
  • Atomoyo
    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?
    0
  • cPRex Jurassic Moderator
    I'd recommend creating a ticket with our team at this point so we can check it out!
    0
  • Atomoyo
    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 );".
    0
  • cPRex Jurassic Moderator
    Hey, that's something! So, a timeout. Do you see any failed login attempts in /var/log/maillog that have similar timestamps?
    0
  • Atomoyo
    So " tail -n 50 /var/log/mail.log" just seems to have logins then instant disconnections. I ran " tail -n 50 /var/log/mail.err", not sure if it is of interest
    0
  • cPRex Jurassic Moderator
    That all looks normal to me. Have you tried running "/scripts/upcp --force" on the system to ensure all the cPanel files are present?
    0

Please sign in to leave a comment.