Jeff Jansen writes:
Can someone please explain to me the difference between the 'batchsize'
file, the "maxrcpts" option in the 'bofh' file, and the "MAXRCPT" option
in the 'module.esmtp' file?
I thought "maxrcpts" controls the maximum number of smtp RCPT TO:
recipients that courier will *accept* on an incoming message and MAXRCPT
controls the maximum number of RCPT TO: recipients that courier will
*send* on an outgoing message. But on further reading it looks like the
sending side is actually set by the batchsize file. So what does
MAXRCPT do? Or am I totally confused?
batchsize sets the total maximum limit of receipients for a message, without
regarding to where the message came from, or where it is going. Larger
number of recipients are split into multiple messages.
Since a message sent via SMTP obviously needs to be sent with a separate
connection to each mail domain, and MAXRCPT sets the maximum number of
recipients. Larger number of recipients to the same domain get split into
multiple delivery attempts.
You are forgetting that a single message may get sent to more than one
domain, or not via SMTP at all.