OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
SMTP submission faster than sendmail?

From: Steve (postfixfostam.franken.de)
Date: Tue Mar 01 2005 - 16:52:56 CST


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?

Thanks for help :)

Steve