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!

Problem using this Exim ACL

Discussion in 'General Discussion' started by bsasninja, Nov 23, 2006.

  1. bsasninja

    bsasninja Well-Known Member

    Sep 2, 2004
    Likes Received:
    Trophy Points:
    There is a ACL for blocking hostnames with "localhost" in it posted in several sites, but the problem is that if the machine of the person sending the email is called "localhost" the mail will not arrive.

    For example, if you use WinXP try setting your machine name to localhost then send an email with this rule in your server... it will be filtered.

    deny message = You are hardly local, fool
    log_message = HELO/EHLO localhost
    condition = ${if match {$sender_helo_name}{localhost}{yes}{no}

    Is there a way to filter the sender "server" host if its called localhost instead of the name of the sender´s machine?


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