The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Blocking an email address or ip

Discussion in 'E-mail Discussions' started by petfut, Mar 29, 2005.

  1. petfut

    petfut Well-Known Member

    Joined:
    Feb 14, 2005
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
    #1 petfut, Mar 29, 2005
    Last edited: Mar 29, 2005
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    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.
     
  3. petfut

    petfut Well-Known Member

    Joined:
    Feb 14, 2005
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    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. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'll contact you off-board to help out.
     
  5. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    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. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    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 :)
     
Loading...

Share This Page