Author Topic: error when clicking on "manage mail queue" option  (Read 1600 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
error when clicking on "manage mail queue" option
« on: January 01, 2023, 07:52:55 AM »
I have a client who is unintentionally sending a lot of emails.

I need to see which account is sending the emails and cancel this queue.

but I am not able to access the option "manage mail queue" to do this.

it is showing the error below:

Erro fatal: Tempo máximo de execução de 30 segundos excedido em /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_queue.php na linha 2097152

Please, can anyone help me?

follow the screenshots:
https://i.imgur.com/sJlPHNV.png
https://i.imgur.com/qrg8SeI.png

Offline
*
Re: error when clicking on "manage mail queue" option
« Reply #1 on: January 01, 2023, 08:51:51 PM »
this issue is resolved with this article: https://www.uxlinux.com/how-to-flush-clear-delete-postfix-mail-queue/

many thanks to Sandeep B.

Offline
***
Re: error when clicking on "manage mail queue" option
« Reply #2 on: August 14, 2024, 06:24:58 AM »
this issue is resolved with this article: https://www.uxlinux.com/how-to-flush-clear-delete-postfix-mail-queue/

many thanks to Sandeep B.

Hi,
this link does not open or at least the content is not that ...

Please tell how you solved the problem and what caused it?

BR
Venty

Offline
**
Re: error when clicking on "manage mail queue" option
« Reply #3 on: September 07, 2024, 10:27:13 AM »
Try to do following:

1. Open file:
/usr/local/cwp/phpXX/etc/cwpsrv.conf
(replace phpXX with the php version used by your CWP)

2. Add the line:
Code: [Select]
php_admin_value[max_execution_time] = 3000

3. kill php-fpm processes:
Code: [Select]
killall php-fpmto restart PHP-FPM and apply the new value of  max_execution_time (not sure how to restart php-fpm in other way).

4.Then check the mail queue manager again.

Undo the changes and then perform the steps 2-3 to leave the default values.

Offline
**
Re: error when clicking on "manage mail queue" option
« Reply #4 on: September 07, 2024, 12:14:08 PM »
It is better to replace the step 3 with:

Code: [Select]
service cwpsrv-phpfpm restart