On Mon, 23 Mar 1998, Dave C. wrote:
> # FAIL queryprogram cannot route to unseen.discworld.fict.book
>
> Hrm.. Why doesnt exim return the error text in the 550 code returned in
> an SMTP session for a recipient that is passed to queryprogram?
Because queryprogram might not be the last router in your list of
routers. The address could be passed to a subsequent router which is
successful (or not). Only if *all* routers fail is the whole thing
failed.
> Would this be hard to implement?
It would be hard to specify what message should be sent back if an
address was failed by n different routers.
> It seems that when verify fails on an inbound SMTP it is
> hardcoded to say "Cannot route to...." rather than returning a message
> determined at runtime.
Precisely because n different routers may have failed it.
--
Philip Hazel University Computing Service,
ph10@??? New Museums Site, Cambridge CB2 3QG,
P.Hazel@??? England. Phone: +44 1223 334714
--
*** Exim information can be found at
http://www.exim.org/ ***