[Exim] Re: Exim-users digest, Vol 1 #253 - 8 msgs

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Theo E. Schlossnagle
Datum:  
To: exim-users
CC: Anand Buddhdev
Neue Treads: Re: [Exim] pipelining in outbound SMTP ?
Betreff: [Exim] Re: Exim-users digest, Vol 1 #253 - 8 msgs
> On Thu, Jan 20, 2000 at 10:04:54AM +0000, Philip Hazel wrote:
> > > exim's daemon supports pipelining for incoming SMTP calls. Does the exim
> > > SMTP client use command pipelining when sending mail?
> >
> > No.
>
> Is there any plan to add such code in? At least 3 well-known MTA's
> support pipelining in the SMTP server (qmail, exim, postfix), but
> only postfix and serialmail use it in their SMTP client, and so
> the majority of SMTP transactions don't make use of this timesaving
> feature.


I agree completely. In fact, this would not be that difficult in the
current architecture if you use a connection caching process. You could
steal most of the code from mod_backhand
(http://www.backhand.org/mod_backhand/). It has one process that
maintains open connections and the clients (Apache children in
mod_backhand's case, but exim delivery processes in this context) would
request an open file descriptor to machine X. If the connection caching
process doesn't have an open file descriptor to X, then it says so and
it is the clients job to "connect()". Once the client is finished with
the connection, it passes it (still open) to the caching process. If
the caching process has an open file descriptor to machine X when the
client requests it, it simply passes it along.

The code necessary to do this is in the apue.c file of the mod_backhand
source distribution and is shamelessly adapted from Stevens' "Adv. Prog.
in the Unix Env."

Just a modification that could help (especially in the case of -qq)

Just my two cents ;)

--
Theo Schlossnagle
33131B65/2047/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7