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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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