Page 1 of 1

Remove mailqueue counter

Posted: 14 Nov 2017 11:27
by ivotonev
Please, remove the "Mail Queues" counter. On systems with large queue ( > 20000 msgs ) page load is very slow ...

Re: Remove mailqueue counter

Posted: 15 Nov 2017 05:27
by pdwalker
If your mailq is very very large, then that is a sign you are having a problem. You're mailq should never be that large unless your system is under attack, or being swamped by spam.

You really need to fix this problem first. Don't hide the symptoms of the real problem.

However, if you really do want to disable this temporarily, edit /var/www/html/mailscanner/functions.php. Search for "printMTAQueue();" and comment that line out.