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 - Restrict relay by domain

Discussion in 'General Discussion' started by sircodealot, Nov 21, 2006.

  1. sircodealot

    sircodealot Registered

    Joined:
    Feb 13, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    We use a centralized mail system in our setup, so the servers with Cpanel are really only used for outgoing e-mail generated by PHP, CGI, or other such scripts. What we are basically looking at doing is restricting the domains that are allowed to send out of the server to the ones listed in /etc/localdomains, or the hostname. For example, when someone tries to send out an e-mail using a PHP script, and they set the From: header to scam@paypal.com, it will get rejected, because the domain paypal.com does not exist in /etc/localdomains. I've tried messing with some ACL and transport changes that haven't worked as I expected them to work (I'm not too experienced with the exim configuration). I've also looked at using antivirus.exim, but it doesn't look like it accepts a file list of domains. Can someone please point me in the right direction?

    Thanks.
     
Loading...

Share This Page