Re: [EXIM] queryprogram error message

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dave C.
Dátum:  
Címzett: Philip Hazel
CC: exim-users
Tárgy: Re: [EXIM] queryprogram error message

On Tue, 24 Mar 1998, Philip Hazel wrote:

> Date: Tue, 24 Mar 1998 09:16:04 +0000 (GMT)
> From: Philip Hazel <ph10@???>
> To: djc@???
> Cc: exim-users@???
> Subject: Re: [EXIM] queryprogram error message
>
> 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.


Point noted. but when queryprogram says "FORCEFAIL" (for instance when
I have queryprogram handling mail address to a domain, and there are
specific addresses in that domain that only spammers would send mail
to), it would be nice if its reject message could be passed back ;)


> > 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/ ***