Paco Gracia <[EMAIL PROTECTED]> wrote:
> 
> I have to send a daily newsletter to 60.000 e-mail addresses that are stored
> in a MySQL database. The newsletter is the same for everybody and the process
> of composing and sending it will be started from a PHP web app.

Sounds good so far.

> 1- Should I use mail() function from PHP, invoke qmail directly or create a
> mailing list with ezmlm?

ezmlm is a particularly nice way to go, because of its completely automatic
bounce handling.

If you don't want to do that, write a little script to pull the recipients
out of the database and inject using /var/qmail/bin/qmail-queue.  You'll 
need to read the man page for qmail-queue to figure out how it wants to
be called.

> 2- If I don't log the sending of the newsletter will it increase the speed or
> just free CPU?

This won't buy you a lot, providing your qmail installation is logging with
multilog.  And not logging the sending of 60,000 messages is not a bright
thing to do for a mail administrator.

> 3- What side effects have to set concurrencyremote to high values like 300?

Your fd limits will need to be set high.

> 4- Is it necessary to use a higher value in tcpserver's -c option if I use
> mail() function?

tcpserver doesn't affect outgoing mail at all.

> 5- Could I set up a second qmail instalation for just sending the newsletter
> so it doesn't slow the "normal users" mail?

Yes, you could.  It will still have some effect, though, because they will
be sharing I/O bandwidth on the queue and log disks, and on the network.

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.
-----------------------------------------------------------------------

Reply via email to