Autor: Greg Webster Data: A: exim-users Assumpte: Re: [Exim] I would just like to say
On Mon, 25 Mar 2002 15:35:50 +0000 (GMT), Philip Hazel
<ph10@???> wrote with a subject of "Re: [Exim] I would just like
to say":> On Mon, 25 Mar 2002, Greg Webster wrote: > It should be possible to do something like this fairly easily in Exim 4,
> but you will have to write (or persuade somebody to write) some C code.
> In Exim 4, you can link in your own function called local_scan(), which
> gets to look at a message just before it is finally accepted. It can
> tell Exim to bounce the message, or accept it, and it can manipulate the
> list of recipients. Deleting all the recipients blackholes the message.
Does this just return an "accept code" or something back to Exim? Will any
external executable do the job (ie. I know Perl quite well, but little C)?
Would it be possible for whatever Perl code I write to handle all of the
external checking on email contents looking for spam by Exim calling out
to it and returning an 'X-' header with the process to follow?