On Thu, 21 Jan 1999, Jared Proudfoot wrote:
> 1. Allow relay for anyone/anything on our local networks.
> 2. Allow relay for external networks ONLY if their sending address is a
> vaild address on our network (sender_address_relay).
> 3. Deny relay on all other cases.
>
> I've tried using sender_address_relay, but the problem is I can't figure
> out a way to disable it only for users on our local networks.
sender_net_accept_relay = 1.2.3.4/16 etc.
sender_address_relay = *@your.domain
relay_match_host_or_sender
In other words, relay is permitted if *either* the sending host is on
your network *or* the sender address matches some pattern.
This does, of course, open you up to spam relaying if anybody discovers
that you permit the second case.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***