Re: [Exim] max_batch and lmtp driver

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Phil Chambers
CC: exim-users
Subject: Re: [Exim] max_batch and lmtp driver
On Thu, 10 Apr 2003, Phil Chambers wrote:

> My question is, can I set "batch_max = 20000"?


Sure. 20000 easily fits into a 32-bit integer. :-)

> Or, I guess I should ask, what would be the consequences of doing
> that? Would it result in a massive demand on memory or some other
> finite resource?


It will not affect the amount of memory used. If you have a message that
has 20000 recipients, it is going to use 20000 memory blocks, one for
each address, because that's the way Exim holds addresses. Whether you
deliver them one at a time or 20000 at a time is not going to affect
this.

Now, having one message with 20000 recipients is not a good idea, for
other reasons which have often been thrashed out on this list. The best
way of dealing with large mailing lists is to use a list handler
(majordomo, listman, mailman, whatever) and configure it to inject
multiple copies of the message, each with (say) a few hundred
recipients.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.