Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Exim and blocking a sender domain (wildcard)

Discussion in 'General Discussion' started by lhassing, Feb 7, 2007.

  1. lhassing

    lhassing Registered

    Feb 23, 2006
    Likes Received:
    Trophy Points:
    I've searched the forums but not seen anything specific of this nature..

    Say we have a fictional TLD .herro . I'm trying to block anything coming into the server from that domain..

    deny message = Rejected because $sender_host_address is in an internal blacklist
    senders = lsearch;/etc/exim/blacklist.cfg

    So in /etc/exim/blacklist.cfg I should have *.herro . That still let mail through .. I tried using sender_domains instead of senders, as well as lsearch*; hoping that would wildcard search. Is there something I am missing or maybe this is just in the wrong part of exim.conf?

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice