Re: [Exim] Proposal for Exim 4

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Peter Radcliffe
Fecha:  
A: exim-users
Asunto: Re: [Exim] Proposal for Exim 4
Philip Hazel <ph10@???> probably said:
> In Exim 4, right at the end of receiving a message, but before sending
> the final acknowledgment, a specific C function is called. The default
> function supplied with Exim just returns an "OK" value, and the
> message is accepted. However, a site can supply its own function in
> the Local directory. The API to this function is well-defined. It can
> see the headers and read the body of the message. It has access to
> some of Exim's utility functions, and it can use Exim's string
> expander. It can accept or reject the message. It can mess around with
> the message's recipients (if accepting the message). It can give a
> specific error message if rejecting a message.
>
> Defining this as a C function means that all sorts of other things can
> be called if people want. It also means that high-volume sites can
> write their local code to be more efficient than, say, calling Perl.
> My hope is that people might write one or more general functions and
> publish them for others to use.


and I guess this C function could be provided in an external
site-specific dynamic library so you could change it without
recompiling exim ?

(or, I guess, you can just call a different program from the C
function and have it staticly linked).

Cute.

P.

-- 
pir                  pir@???                    pir@???