|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: SMTP submission faster than sendmail?
From: Peter H. Coffin (hellsop
ninehells.com)
Date: Tue Mar 01 2005 - 18:04:23 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Mar 01, 2005 at 11:52:56PM +0100, Steve wrote:
> I have a lot of automated mail which is generated on the fly and then
> sent by postfix. Currently this is done by calling the "sendmail" binary.
>
> In the performance tuning tips, I read that:
> "Submit mail via SMTP instead of /usr/sbin/sendmail."
>
> What I wonder is:
> Why is SMTP faster than local submission? Is it just the overhead for
> creating a new process when sendmail/postdrop is called? File creation
> overhead etc. should be the same for both methods, I would assume, so
> why is SMTP faster for local mail?
You're not firing up a sendmail for each sent instance of a message, for
one thing.... The thing that Sendmail's going to do is establish a
connection with the SMTP engine anyway, so why not bypass that step
entirely?
--
81. If I am fighting with the hero atop a moving platform, have disarmed him,
and am about to finish him off and he glances behind me and drops flat, I
too will drop flat instead of quizzically turning around to find out what
he saw. --Peter Anspach's list of things to do as an Evil Overlord
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]