On Thu, 26 Apr 2001, James Stevens wrote:

> You are correct ;) Sendmail can only sustain one exsistance of it's 
> delivery object meaning it can't multithread like the newer MTA's soo 
> when sendmail runs a large q say 10k messages all those messages go into 
> q and get piped out through one thread instance of sendmail whereas qmail 
> simply fires up 500 threads and crunches through the q message by message 
> until it's done. You can also reconfigure qmail to allow up to 1k 

What actually happens with sendmail is that you have one sendmail process
running all of the time. every queue-scan period (-qX[dhms])it runs the
messages in the queue. During this is sorts the messages by destination
MTA. It will then start a delivery process per destination MTA (if there
is machine load left over) which delivers all of the messages for that
MTA. if there is more machine load left over it will start additional
delivery processes. Each sendmail process 'locks' the message it is trying
to deliver to prevent duplicate sends; when a message is delivered to a
remote MTA it is delivered to all recipients at that MTA.

RjL
==================================================================
You know that. I know that. But when  ||  Austin, Texas
you talk to a monkey you have to      ||  Email: [EMAIL PROTECTED]
grunt and wave your arms          -ck ||

Reply via email to