Results 1 to 3 of 3
  1. #1

    Limit outgoing messages (QMail)

    Hi there,

    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.
    Everyday above ground is a good day.

  2. #2
    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] | Skype : madaboutlinux

  3. #3
    Join Date
    May 2009
    Quote Originally Posted by madaboutlinux View Post
    The files that can use to limit emails in Qmail are:

    Those are the limits for simultaneously allowed emails per second. Still that 10k spam messages will be send regardless of those settings.

    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 "" which you may want to try out:
    Last edited by GameFrame; 11-09-2009 at 07:30 PM.
    NiX API - A powerful Anti-Proxy/Anti-Fraud and IP Reputation Lookup API

Similar Threads

  1. filter outgoing messages
    By linktome in forum Hosting Security and Technology
    Replies: 2
    Last Post: 04-02-2007, 09:50 AM
  2. patch for Exim to use multiple interfaces/ips for outgoing messages
    By simscripts in forum Other Offers & Requests
    Replies: 6
    Last Post: 07-05-2004, 11:48 AM
  3. QMail and copying Outgoing email
    By JClawson in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 04-15-2004, 12:14 PM
  4. qmail + outgoing mail.
    By clocker1996 in forum Hosting Security and Technology
    Replies: 4
    Last Post: 03-08-2002, 06:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts