Re: [exim] exim processing

Pàgina inicial
Delete this message
Reply to this message
Autor: Mike Cardwell
Data:  
A: exim-users
Assumpte: Re: [exim] exim processing
* on the Mon, Apr 02, 2007 at 11:31:38AM -0400, Richard P. Welty wrote:

> for messages received via SMTP, does exim simply for a process for
> delivery, or does it explicitly exec a new process?
>
> that is to say, if i am considering using some embedded perl
> to manage a delivery process, am i loading perl once when the
> daemon is started, or reloading perl for every delivery
> process?


Each SMTP connection spawns off a new process. Each process has to load
it's own perl interpreter. Unless you explicitly set it to load on
startup, it only loads when you use ${perl} for the first time.
Depending on your circumstances you might be better off writing a perl
daemon, and talking to it using ${readsocket}

Mike