Autor: Steffen Heil Datum: To: 'Hancock, Scott', exim-users CC: Betreff: RE: [exim] relay and final rejection for exchange org.
Hi
> Incoming SMTP => sends to =>
> => Exim1 (clean email then relay, no local users) => send to
> => => Exch1 (user not here send to Exch2) => send to => =>
> Exch2 (user not here either send to final exim) => send to =>
> => FinalExim (exim accepts mail but no local users for shared
> smtp domain, reject mail)
This is obviously not possible.
To forward mail to the Exchange server, you need to accept them in the first
place.
However, once accepted, you cannot reject a mail.
Exspecially the FinalExim instance cannot reject that mail (the way you
propably want it to).
If the mail is passed to the FinalExim instance by Exch2, and FinalExim
rejects, Exch2 needs to decide what to do with it.
As others pointed out, try to get the correct Exchange server location by
querying AD and if none exists, reject at Exim1.