Dear. Often my server raises more than 10,000 emails in the outgoing queue in a matter of a few minutes. It turns out that when this happens during the day it becomes easier to monitor and prevent emails from being sent. I can stop Exim, clear the spammer's queue and change his password.
However, the problem is when this occurs at dawn. Then when dawn is already over 10,000 emails sent and we ended up listed in blacklists and poor reputation in the senderbase.
My question is: is there any way to prevent the queue from increasing more than 100 emails.
For example, some script that when the queue reaches 100 emails it sends a notification to the server administrator and soon it will stop the exim.
Is this possible or is there any better way?
However, the problem is when this occurs at dawn. Then when dawn is already over 10,000 emails sent and we ended up listed in blacklists and poor reputation in the senderbase.
My question is: is there any way to prevent the queue from increasing more than 100 emails.
For example, some script that when the queue reaches 100 emails it sends a notification to the server administrator and soon it will stop the exim.
Is this possible or is there any better way?