Thread: Limit outgoing messages (QMail)
11-09-2009, 12:18 PM #1Newbie
- Join Date
- Nov 2002
Limit outgoing messages (QMail)
We've got a dedicated server at our company that hosts several sites and email accounts. Today I noticed that in the mail queue (from Plesk) we have like 5 or 6 messages from the same customer with around 400 destination addresses for EACH one. This would be like 2000-3000 emails to be sent. It isn't spam as it's some kind of newsletter.
I don't really know how the QMail server handles this, but it's been 5 hours since some of those messages entered the queue, and they are still there, so it seems that is having some difficulty.
I don't pretend to limit the amount of emails an user can send per minute or per hour, but I would like to know if there is any way of managing the queue like, lets say, send 50 message per minute. As far as I know, the mail queue right now (by default) starts sending the messages as they come, which means it could send 1000 in a few seconds if it can handle it.
I don't even know if this would be better or worse, meaning that maybe messages could get queued when the server could handle them, so some customers would see that emails are not working instantly as they do now. It also would be good if this tool (if exists) could report the current status of the queue, saturation, etc...
We're a bit worried because a couple of days ago we had some kind of attack and our server started sending hundreds of emails with fake sender and the CPU went overloaded and the mail queue was too big.
Thanks in advance for any help.
Regards.Everyday above ground is a good day.
11-09-2009, 05:36 PM #2Web Hosting Master
- Join Date
- Jul 2009
The files that can use to limit emails in Qmail are:
| Server Setup | Security | Optimization | Troubleshooting | Server Migration
| Monthly and Task basis services.
| MSN : madaboutlinux[at]hotmail.com | Skype : madaboutlinux
11-09-2009, 07:18 PM #3WHT Addict
- Join Date
- May 2009
Currently i am not aware of methods to limit messages per hour for each user. That definitely requires a custom patch.
echo "10" > /var/qmail/control/concurrencyremote limits remote queue to 10 messages per second, by default thatīs a 255.
Jeremy provides nice patches to Qmail and his "antiabuse.pl" which you may want to try out: http://jeremy.kister.net/
Last edited by GameFrame; 11-09-2009 at 07:30 PM.█ NiX API - A powerful Anti-Proxy/Anti-Fraud and IP Reputation Lookup API
By linktome in forum Hosting Security and TechnologyReplies: 2Last Post: 04-02-2007, 09:50 AM
By simscripts in forum Other Offers & RequestsReplies: 6Last Post: 07-05-2004, 11:48 AM
By JClawson in forum Hosting Software and Control PanelsReplies: 2Last Post: 04-15-2004, 12:14 PM
By clocker1996 in forum Hosting Security and TechnologyReplies: 4Last Post: 03-08-2002, 06:52 PM