Jon <[EMAIL PROTECTED]> wrote:
> > Provided you supply qmail-queue with all the recipients at once, yes, you
> > would see a (possibly large) improvement.
> >
> > If you use qmail-queue this way, you are sending one message to 50000
> > recipients. If you call qmail-queue (or qmail-inject) separately for each
> > recipient, you're queuing 50000 messages, each for one recipient. There's
> > a big difference.
> Thanks for that - I was reading the man page for qmail-queue and not got a
> clue! So if you could show me how to pass the information needed to
> qmail-queue that would be great (the format of it etc).
The man page actually does have all the necessary information in it.
Create a file for the envelope information; put all fifty thousand recipients in it.
This file has the format
"F" <sender-address> <NUL>
"T" <recipient-address <NUL>
...
<NUL>
Put the actual email message (properly formatted, with headers) in another
file. Then run qmail-queue with fd 0 open on the message file, and fd 1
open on the envelope file. If qmail-queue exits 0, everything went fine.
Otherwise, you didn't do it right.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------