OSEC

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: Wietse Venema (wietseporcupine.org)
Date: Tue Mar 01 2005 - 18:15:53 CST


Steve:
[ Charset ISO-8859-1 unsupported, converting... ]
>
> Hello,
>
> 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?

http://www.postfix.org/OVERVIEW.html

Look for the "How Postfix receives mail" section.

        Wietse

> Thanks for help :)
>
> Steve
>
>
>