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

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

  1. fikse

    fikse Well-Known Member

    Joined:
    May 10, 2003
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    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!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    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
     
  3. fikse

    fikse Well-Known Member

    Joined:
    May 10, 2003
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    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..
     
  4. JayLevine

    JayLevine Active Member

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

    Where does it go in the exim config editor??

    Thanks.

    Jay
     
Loading...

Share This Page