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.
-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
> On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> > I am investigating using qmail to send a mass mailing to our 2M user base.
> > Currently we have been using sendmail. First, let me describe our current
> > setup. We have 26 different sendmail's running as deamons on 26 different
> > mqueue's. We then have a program that pulls user information out of our
> > database and creates the qfAA and dfAA files into these queue's. It dumps
> > 10,000 messages in each queue, then moves onto the next queue, leaving
> > sendmail to distribute the messages from the queue. This is however,
> > insanely slow. From what I've seen/read/and heard Qmail will be able to
> > accomplish our 2M mailing a lot faster than sendmail, however I believe that
> > a large part of our bottleneck is that we create queue files and expect
> > sendmail to recognize it. Okay, now to the question: What would be the
> > best way of doing this with Qmail?
>
> You've left out a critically important piece of information which would
> answer that question. Are the messages you're sending out identical in
> content? Or are they unique to each user?
>
> 1) If they're identical
> You have a standard neo-mailing list configuration. You could take
> advantage of add-on tools such as ezmlm to do VERP and bounce management.
> You can write your own tools to do that. The best thing to do is to
> use qmail's built-in queue-injection tools: qmail-inject and qmail-queue
>
> 2) If they're user dependant
> You can adapt your direct queue-writing tool to qmail's queue structure,
> but be very careful to make sure that the qmail instance which uses
> that queue is -not- running while you do so.
>
> > Running multiple deamons on multiple queue's?
>
> You can do that if your queue writer takes a significant amount of time
> to write out to the queue.
>
> --
> John White johnjohn
> at
> triceratops.com
> PGP Public Key: http://www.triceratops.com/john/public-key.pgp
>