Postfix mail queue monitoring

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
ThomasPartnerAsked:
Who is Participating?
 
Dan CraciunIT ConsultantCommented:
You can try a policy add-on: http://www.policyd.org/content/features .

HTH,
Dan
0
 
ThomasPartnerAuthor Commented:
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
 
ThomasPartnerAuthor Commented:
thanks, I think it is a good program to have.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.