On Wed, Jul 14, 1999 at 01:08:20PM -0700, Mylo wrote:
> unfortunately each message is customized for each recipient with their account
> information, so I can't clone the same message to multiple recipients. Which,
> as I understand it, would require one qmail-inject (or qmail-queue) per
> recipient. Which is 250,000+ processes coming outta my perl script. Although
> this machine is dedicated to this task, that still seems like a nasty thing
> to do. I'm just looking if there is any smooth way of stacking messages into
> a single pipe of qmail-inject or anything tricky like that to save the ammount
> of processes. Thanks for your help :)
You can always open a pipe to qmail-smtpd, or qmail-qmtpd.
They'll happily eat all the messages from a pipe, but you
can't avoid the exec per queue injection. There just is no
way.
Are you sure the qmail-VERH patches won't solve your problem?
They allow you to embed the recipient address in the
message body without creating multiple queue messages.
--
Havoc Consulting | unix, linux, perl, mail, www, internet, security consulting
+358 50 5486010 | software development, unix administration, training