[Exim] relaying : missing something.

Top Page
Delete this message
Reply to this message
Author: Thomas Kinghorn
Date:  
To: exim-users
Subject: [Exim] relaying : missing something.
Hi again.

I have tried to control the relaying from my server but I am missing
something.

How do you stop open relay.
I have to be secondary to 2000+ domains but seem to be able to relay
to hotmail even though its not one of the domain in my relay_to_domains
list.

Here is what I have:

domainlist local_domains = @
domainlist relay_to_domains = lsearch;/usr/exim/virtual/rtdomains
hostlist relay_from_hosts = 127.0.0.1

acl_check_rcpt:
  accept  hosts = +relay_from_hosts
  deny    local_parts   = ^.*[@%!/|] : ^\\.
  accept  local_parts   = postmaster
          domains       = +local_domains



  # Deny unless the sender address can be verified.
  require verify        = sender