Re: [EXIM] Perl enabled exim

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Nigel Metheringham
Cc: exim-users, Dom Mitchell
Asunto: Re: [EXIM] Perl enabled exim
On Mon, 2 Feb 1998, Nigel Metheringham wrote:

> Would embedding perl into exim (probably not as a standard option but a
> "power-user" option selected at compile time) be a possibility?


Glup. Or even Gulp.

> The real problem is that you are adding a powerful programming language to
> a setuid program!


Double-gulp.

> Is Philip horrified??


Yes!

How about setting up your main Exim so that it writes all messages to a
pipe (once per message from the system filter if you like, or once per
address if you prefer). You run your Perl to do whatever you want on the
end of the pipe. You also set up a secondary Exim with the "proper"
routing configuration, but not listening on port 25. It accepts messages
only from the Perl script (arrange this by directory permissions).

OK this costs a bit in shovelling the messages around, but it saves a
heck of a lot of complication, and processors are getting cheaper and
faster all the time...

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