Block certain domains from relaying in Exim MTA on Linux

I need to either only allow domains that I specify to relay, or to block certain domains.  The first way would be my choice, but I have no clue on how to tweak my Exim configure file to do this.  I'm using Exim v4.69 and just don't get how to setup an ACL to do this.

Thanks for any help!!
kevandjuAsked:
Who is Participating?
 
nociSoftware EngineerCommented:
relay would be configured in the exim.conf file, add the allowed domain to the line:

domainlist relay_to_domains = example.com : example.net

In the default configuration this is documented.
these (there a more, what systems may relay to any thing etc.) are used throughout the configuration.

So you wouldn;t need to setup an ACL specificaly...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.