Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2004
    Posts
    1,007

    Qmail sent mail limitation

    Hello Everyone,

    Can anyone please let me know if there is a way in qmail to limit the number of emails that can x user sent per x time ?
    Best Regards,
    Namesniper

  2. #2
    Hi,
    I could be wrong but I'm fairly sure you can't do this without patching the code. How where you planning on getting user credentials? If by From or the reply-to I can't see it buying you much. Otherwise you would be using ssl or smtp-auth neither of which qmail supports out of the box. It should be fairly simple though to have a patched qmail-smtpd pass qmail-queue an environment var that contains the authenticated users name and then make the deciesion on that. There is a patch to allow a custom Qmail-queue to be used which is just a wrapper around DJB's qmail-queue. Something similar could then be done for local mail, though if they have sh access they could just use their own "mta" for sending mail.

    Pete

  3. #3
    Join Date
    May 2005
    Posts
    67
    http://spamthrottle.qmail.ca/

    I hope that is helpful

  4. #4
    Join Date
    Mar 2004
    Posts
    1,007

    Smile

    Thank you i will try it
    Best Regards,
    Namesniper

Posting Permissions

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