Control Web Panel
WebPanel => Postfix => Topic started by: Gianni Marinho 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
-
this issue is resolved with this article: https://www.uxlinux.com/how-to-flush-clear-delete-postfix-mail-queue/
many thanks to Sandeep B.
-
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
-
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:
php_admin_value[max_execution_time] = 3000
3. kill php-fpm processes:
killall php-fpm
to 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.
-
It is better to replace the step 3 with:
service cwpsrv-phpfpm restart