Submitted by yngens on Tue, 12/02/2014 - 20:59
We receive lots of automatic notifications from Webmin on various aspects of services running on our servers. Would be very nice if Webmin could also notify when Postfix mail queue gets too big - good sign of some malicious script sending massive e-mail messages - so that admin could take measures.
Thanks for consideration!
Status:
Active
Comments
Submitted by andreychek on Tue, 12/02/2014 - 21:05 Comment #1
Howdy -- that feature is supported today, actually.
To configure that, you can go into Webmin -> Others -> System and Server Status, and there, setup a new monitor of type "Mail Queue Size".
Then, you can choose how large it needs to be before you are notified of the issue.
Submitted by yngens on Thu, 12/04/2014 - 19:57 Comment #2
Eric, thanks for the input. I knew about that setting, but the problem with that option is that e-mail messages can have different sizes and the idea was to rely on number of messages in the queue that Virtlamin seems to be already able to calculate. Would be nice to se threshold to let's say 500 messages regardless of what sizes of each of them has.
Submitted by andreychek on Thu, 12/04/2014 - 20:11 Comment #3
The "Mail Queue Size" monitor should actually be based on number of messages in the queue, rather than file size.
That is, if you set "Maximum mail queue size" to "500", it should notify you if the queue reaches 500 email messages.
Were you seeing something different in your testing though?
Submitted by yngens on Fri, 12/05/2014 - 15:24 Comment #4
Excellent. I was mistaken by wording of the setting "Mail Queue Size", but never tested this. Maybe you can change this to "Mail Queue Quantity" to make it more clear?