Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Oct 2007
    Posts
    15

    Default Rate limiting outgoing email for users

    Hello,

    One of my clients is running a customized free e-mail service on his domain, which of course is a target for spammers to try to abuse. I need to know any ideas that would help to prevent this from happening, because it is causing problems when spammers are sending out spam from our server.

    So far, the only solution I could find was to enable rate limiting in Exim for local senders, which appears to work in my testing, but somehow these spammers are still managing to bypass it and send out as much as they want. The way I enabled the rate limiting was to create a file at /usr/local/cpanel/etc/exim/acls/ACL_RATELIMIT_BLOCK/1localsenders and put the following content in it:

    # Local senders rcpt rate limiting 25 per 2 hours (300 per day)
    deny ratelimit = 25 / 2h / leaky / per_rcpt / $authenticated_id
    log_message = Local senders rcpt rate limit ( $sender_address ) exceeds \
    $sender_rate per $sender_rate_period

    Like I said, this appears to work great in my testing, but somehow they still get past it, so if anyone has any ideas on how to fix this or if there are other methods that would help to control the spammers, please let me know. I wonder how all the other free e-mail services deal with this issue?

    Thanks in advance!

  2. #2
    Member
    Join Date
    Aug 2009
    Location
    Houston, Tx
    Posts
    275

    Default Custom ACL

    Hello,

    Unfortunately we do not support custom ACL's, however I have attached a link to some information that may help you with your issue.



    Exim - ACL

    Hope that helps, let me know if you have any other questions.

    Thanks

  3. #3
    Member
    Join Date
    Oct 2007
    Posts
    15

    Default

    Thanks for the info, ACLs always confuse me for some reason.. But, are you trying to say that my ACL is wrong? It seems like it is right to me, and even works when I test it, but obviously I'm doing something wrong if some of the spammers are able to bypass it.. I'll read this ACL document you sent a few more times, maybe I'll understand better..

    Thanks again for any advice you can offer.

  4. #4
    Member hostmedic's Avatar
    Join Date
    Apr 2003
    Location
    Ohio
    Posts
    556
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default config server is a plus

    have you looked @ config server?
    Also - might be good to take that client and put them on a different ip (that site) - set PTR for that site of course ...

    Force any email from that domain to go out over that other IP - thus helping a little in case the ip gets on a blacklist

    just a thought :-)

Similar Threads & Tags
Similar threads

  1. Limiting server resources to users
    By malvarez in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-05-2010, 07:35 AM
  2. Rate-limiting outgoing e-mail
    By danf in forum E-mail Discussions
    Replies: 3
    Last Post: 05-05-2009, 08:30 AM
  3. Email Limiting
    By txspaderz in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-23-2008, 04:50 PM
  4. Auto-limiting outgoing email via localhost/PHP
    By brianoz in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-19-2006, 09:50 AM
  5. Limiting new FTP users
    By outsidr in forum New User Questions
    Replies: 3
    Last Post: 09-05-2004, 01:03 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube