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 only accept email from certain IP's per domain?

Discussion in 'E-mail Discussion' started by fikse, Jun 29, 2006.

  1. fikse

    fikse Well-Known Member

    Joined:
    May 10, 2003
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    166
    We have a Barracuda spam firewall that we only use for a few domains on our cpanel server. It's been working great except when the spammers use the A record instead of the MX record for a domain, and are able to send email to the domain by connecting directly to the cpanel server instead of going through the Barracuda.

    Is there a way to tell exim to only accept email from a certain IP for a certain domain?

    thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    More than likely, yes. You'll probably want to do it as an ACL. Have a trawl through the exim FAQ and documentation at www.exim.org
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. fikse

    fikse Well-Known Member

    Joined:
    May 10, 2003
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    166
    thanks Jonathan... yea, been looking over it..... does this look right? my exim ACL work is VERY limited:


    defer domains = somedomain.com
    ! hosts = 12.12.12.12

    where in the exim config editor would it go?


    thanks..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. JayLevine

    JayLevine Active Member

    Joined:
    Nov 25, 2002
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    New Mexico
    Did this work for you?

    Where does it go in the exim config editor??

    Thanks.

    Jay
     
Loading...

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