On Thu, 27 Jan 2000, Hans Morten Kind wrote:
> > This could not be allowed as is... anyone from anywhere could relay
> > mail with <> sender through your box
>
> Well, there is a test on allow_unqualified_sender, but any
> machine within the nets defined by sender_unqualified_hosts
> would be allowed to relay with originator <>.
Indeed, what you have implemented is "If the sending host is permitted
to send unqualified senders, then if the sender is <> allow relaying,
regardless of anything else."
While this may be helpful to you, I don't think it is something that
should be screwed into Exim's code.
I think you are in an unusual situation where you want to allow <> to
relay from your networks, but not any other sending address.
Is this the only relaying that you want to permit? If so, Exim can
handle it. Set
host_accept_relay = your networks
sender_address_relay = :
However, if you want also to allow full relaying from some hosts this
isn't going to work.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.