Solved

Postfix mail queue monitoring

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
Resolve DNS query failed errors for Exchange
In this video we show how to create an Accepted Domain 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 >> Ac…
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…

856 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