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.

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