Solved

Postfix mail queue monitoring

Posted on 2013-11-13
3
739 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Fine Tune your automatic Updates for Ubuntu / Debian
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.
Suggested Courses

630 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