Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Feb 2005
    Posts
    60

    Default Blocking an email address or ip

    How can I block an IP or email address, that I could stop it sending emails to my server.
    Currently I am getting thousands of messages per hour from a single address.

    Messages are sent to my root-email.
    Last edited by petfut; 03-29-2005 at 04:46 AM.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You could add the following ACL into WHM > Exim Configuration Editor > Advanced Mode > scroll to the first set of 3 textboxes, in the middle of the 3 boxes add the following with clear lines above and below it after:

    accept hosts = :

    add:

    Code:
      drop senders = annoying@domain.com
             message = Spam or Mail Bombing activity
    Replacing annoying@domain.com with the source email address.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Feb 2005
    Posts
    60

    Default

    Quote Originally Posted by chirpy
    You could add the following ACL into WHM > Exim Configuration Editor > Advanced Mode > scroll to the first set of 3 textboxes, in the middle of the 3 boxes add the following with clear lines above and below it after:

    accept hosts = :

    add:

    Code:
      drop senders = annoying@domain.com
             message = Spam or Mail Bombing activity
    Replacing annoying@domain.com with the source email address.
    I tried that, typed the texts to second box. It didn't work out really well, I got an error message:

    2005-03-29 13:49:11 Exim configuration error in line 231 of /etc/exim.conf.buildtest:
    missing ACL name
    Exim version 4.50 #1 built 14-Mar-2005 10:32:24
    Copyright (c) University of Cambridge 2004
    Berkeley DB: Sleepycat Software: Berkeley DB 4.1.25: (October 24, 2003)
    Support for: iconv() PAM Perl OpenSSL Content_Scanning Old_Demime
    Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz
    Authenticators: cram_md5 plaintext spa
    Routers: accept dnslookup ipliteral manualroute queryprogram redirect
    Transports: appendfile autoreply pipe smtp
    Configuration file has an invalid syntax. Please try again.

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    I'll contact you off-board to help out.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    I'd like to know how the resolution of this issue goes as it would be good to know how to do this. Any updates would be much appreciated!

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    The problem had resolved itself by the time I got ot it My suggestion, if implemented as stated, will work. It's possible the OP had a typo or mis-placed it
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Blocking IP address or Domain
    By Janak in forum New User Questions
    Replies: 6
    Last Post: 07-24-2009, 01:30 PM
  2. CPL blocking my IP address
    By eville in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 04-14-2006, 02:48 PM
  3. Blocking IP address
    By fashezee in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-06-2005, 05:08 PM
  4. Exim is blocking an ip address
    By elleryjh in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-06-2004, 05:14 AM
  5. Blocking and IP address
    By cbingham in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-20-2002, 02:32 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube