Author: Vladimir Litovka Date: To: exim-users Subject: Re: [Exim] Rewriting and open relay
Nigel Metheringham <Nigel.Metheringham@???> wrote:
> I would say that is a configuration bug - if you are allowing relaying
> based on the source domain then you are wide open.
Why? Exim receives mail for 'some.domain!user@???' and
thinks it is local. This is right, but rewrite rule changes destination
address to user@??? and so Exim must do further processing
depending on this _new_ address. I think, that rewriting must be very
first action, _before_ any processing of message, even before security
checks, because rewriting able to change addresses in any way.