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.

Acl rule to block domains .TLD extension ??

Discussion in 'General Discussion' started by bsasninja, Sep 14, 2007.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    I´m receiving lot of spam from .pl domains. I´ve blocked poland ip blocks from my server anyways Im receiving lot of .pl emails from other Ip.

    So I want to block al domains containing .pl extension in the domain with a Exim ACL rule. I dont have customers on that country so it doesnt matters.

    Should be like this?

    deny message = .pl domains are no longer accepted in this server.
    senders = *@*.pl

    I would like that someone correct me if Im wrong.

    Thanks
     
  2. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    I tested and works fine :)
     
  3. jameshsi

    jameshsi Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Can you tell me where did u put these lines to ? and how did u know that it is works find ?

    I copy these 2 lines to my Exim Configuration Editor on the top of ACL config and save, and then I type :
    tail -f /var/log/exim_mainlog |grep 'domain are no longer'

    no result, means it didn't work. Why ?
     
Loading...

Share This Page