Re: [Exim] Non-numeric variables in filters

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Radcliffe
Dátum:  
Címzett: Exim Users
Tárgy: Re: [Exim] Non-numeric variables in filters
Philip Hazel <ph10@???> probably said:
> On Tue, 23 May 2000, Nigel Metheringham wrote:
> > way that in general use the daemon takes the performance hit of the
> > compile and processes using the filter are forked off from it (without
> > a re-exec), then the run part of the script is not going to be


> Sadly, this isn't going to work unless you give up on some security. The
> daemon is running as the Exim user; it has to re-exec to get back root
> privilege in order to do a delivery, unless you abandon the use of the
> Exim user and run as root all the time.


and even if you did that you'd lose any benifit for locally generated
messages that call the exim binary directly (well, possibly unless you
set queue everything and let a spawned queue runner pick it up).

> I seem to recall seeing something in Perl 5.6 about compiling and saving
> the bytecode.


but this seems like a far better idea.

P.

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