Solved

Postfix mail queue monitoring

Posted on 2013-11-13
3
705 Views
Last Modified: 2013-11-19
Hi,

I have encountered an issue where my Postfix was compromised or better misused. It resulted in having many thousands of messages in my mail queue waiting to be send. It took me 2 days to notice it.
So I wonder if any of you know if a good and reliable script or tool that can warn me if the queue grows fast or goes over a specified number of mails. Maybe also if the emails send per minute or hour goes over a specified rate so that i can see if something needs attention.

The attack I had now was that someone managed to upload a php script using magento shop that is installed on my server and then used this to send 50k messages. It actually managed to send more than 30K before I noticed.

Any advice and suggestions on usable scripts or software is very welcome.

Best wishes,
thomas
0
Comment
Question by:Thomanji
  • 2
3 Comments
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 39646996
You can try a policy add-on: http://www.policyd.org/content/features .

HTH,
Dan
0
 

Author Comment

by:Thomanji
ID: 39655503
Hi,

Thanks, this is not bad but I am actually satisfied with the setup. I am only looking for something that can send me a report if the queue gets bigger then x messages.

Best wishes,
thomas
0
 

Author Closing Comment

by:Thomanji
ID: 39661430
thanks, I think it is a good program to have.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question