Solved

Postfix mail queue monitoring

Posted on 2013-11-13
3
720 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 35

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

679 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