Re: [Exim] receiver_verify

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Oliver Cook
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] receiver_verify
On Mon, 26 Feb 2001, Oliver Cook wrote:

> I am wondering whether receiver_verify would be run in this situation:
>
> A message is received,


Once a message has been received, receiver_verify is no longer relevant.
Or do you mean "an address is received for verification"?

> and is passed to the routers because the domain is not
> in local_domains. One of the routers however deems the message to be local and
> passes it back to the directors, which then deliver the message by means of a
> pipe to a binary "deliver".


No, you obviously don't, if you are talking about the pipe running.

> "deliver" returns error code 67 if the account
> does not exist, or delivers the message normally otherwise. (deliver verifies
> accounts by various database lookups etc.)
>
> >From my testing, it seems that Exim doesn't run receiver_verify in this case.
> Is it because the message was not accepted as local, and so Exim thinks it's
> not worth verifying it?


Verification runs the directors and routers. It does not run the
transports, which are actual deliveries that happen much later.

If you want to do verification by running a program, take a look at the
queryprogram router and the verify_only option.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.