[EMAIL PROTECTED] wrote:
> On Fri, Jun 04, 1999 at 02:39:16PM -0700, Mylo wrote:
> > Each message contains magical unique information for the specific user.
> >
> > The way it's done right now (in sendmail) I wrote a perl script that writes
> > the queue files. This uses file locking and since sendmail is caring about
> > locked files it won't try to send them while they're still being written.
> >
> > You don't suggest using qmail-inject to insert the files into the queue's?
> > It may be a little slower since it has to fork a new process for each mail
> > but I figured that would solve any flock'ing issues.
>
> You can try using qmail-inject, but I'd be concerned about disk i/o.
> qmail-inject has the potential to inject messages into the queue
> faster than they can be pre-processed. If you get to that point,
> things will get very slow for quite a while.
>
> It would make sense to have a separate instance of qmail used just
> for this list. Before you send out a mailing, shut down the qmail-send
> process for the list. Run your queue writing process. Then re-start
> qmail. But again, it's critical to not have qmail running when you
> muck around with the queue.
In fact, this whole machine is dedicated to mass mailing... But we obviously
can't dump 2M+ files into the queue's before we start qmail-send. We need
some way of piping them in at just about the same rate they can go out. It's
okay to be a little faster as they will just sit in the queue until there's
time to send 'em out.
-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]