Hello, B Richards wrote: > > How many emails per hour can people generate on a typical dedicated server? > on qmail? on smtp?
It depends on many things. Anyway, queueing is one thing and delivering is another. Queuing and delivering from the same machine is usually slow because it requires the server to resolve the domain and connecting with each recipient MX to deliver the messages. If the connection is slow, everything is stalled. For very large recipient lists like large mailing lists sites like eGroups, the recommended setup is at least one server for queuing the messages in one or many others. The queuing is best achieved using QMQP. SMTP is too slow because it degrades queuing speed exponentially with the number of recipients. Anyway in a network with one server for queueing (where ezmlm was) and 8 servers for delivery, it could queue 10.000 messages per minute using SMTP. With QMQP it would be much faster queueing because it would not expand VERP addresses and would only queue one message in the delivery servers. The actual delivery it depends a lot on the Internet link you have and the connectivity with the remote servers. Bouncing and hard to connect servers make it very slow. That is why it is important to prune the bouncing addresses from your mailing lists. ezmlm process is reasonably good handling bounces but I would not recommend starting a mailing list with a large number of subscribers without first pruning it because the last retry message that is sent to all bouncing addresses after 11 days (1.000.000 seconds) may choke your queuing server because it send out individual messages and if there are many bouncing addresses that can make your machine and network choke with very high traffic. Trust me, I had to put up with the embarrassment of choking a newsletter server with 1/3 of near 300.000 subscribers of MTV Brasil newsletter! Can you imagine almost 100.000 subscribers being mailed and bouncing at the same time. (Gulp!) Living and learning. :-) Regards, Manuel Lemos > > ----- Original Message ----- > From: "Manuel Lemos" <[EMAIL PROTECTED]> > To: "Ed Lazor" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Saturday, February 02, 2002 9:09 PM > Subject: Re: [PHP] Re: Sending an e-mail to 1,000 people > > > Hello, > > > > Ed Lazor wrote: > > > > > > At 06:25 PM 2/2/2002 -0500, Chris Cocuzzo wrote: > > > >Godamnit. Shut-up about this already for godsakes and answer the > > > >original question!! > > > > > > LOL hehe good point Chris. > > > > Aleluia, somebody sensible! :-) > > > > > > > >"Ben Clumeck" <[EMAIL PROTECTED]> wrote in message > > > > > I would like to send an e-mail (the same e-mail) to 1,000 different > > > > > people. I want each persons name to be in the "To:" field. Is > there a > > > > way to > > > > > customize it to where it can say Dear____ (having a different > persons name > > > > > corresponding to an e-mail address) so that it looks customized. > > > > > > Ben, how you approach this will depend on how you have the data > > > stored. Let's assume two things: you have the e-mail addresses and > names > > > in a database and know how to retrieve and store them into the variables > > > $email and $name. That said, create the body of your text: > > > > > > $body = " > > > Dear $name, > > > > > > Here are recent developments on our web site... etc. > > > "; > > > > > > Then use the mail function > (http://www.php.net/manual/en/function.mail.php) > > > to send the letter to the person like this: > > > > > > mail($email, "Site update", $body, "From: [EMAIL PROTECTED]"); > > > > > > The next thing you'll probably start wondering is how to send fancy > e-mail > > > instead of those generic text based ones... PHPBuilder has an article > > > you'll want to check out located here: > > > http://www.phpbuilder.com/columns/kartic20000807.php3. > > > > I do not advice anybody to send personalized bulk mail, even less in > > PHP. It will take a lot of time to just queue the message in the local > > relay mail server and since each message has to be stored separately in > > the mail server queue disk consuming a lot of space. > > > > What I recommend is to just queue a single message with all recepients > > in Bcc:. This is better done with qmail using qmail-inject because you > > do not have to actually add Bcc: headers to the message, just the > > recipients addresses, one per line, and then headers and the body of > > the message. You may want to try this class for composing and sending > > MIME messages. It has subclasses for queing with PHP mail function, SMTP > > server, sendmail and qmail. > > > > http://phpclasses.upperdesign.com/browse.html/package/9 > > > > If you can use it, I recommend to use qmail because it is much faster > > than the other alternatives to queue message to be sent to many > > recipients and also provides very good means to figure exactly which > > addresses are bouncing your messages so you can process them eventually > > unsubscribing the users in question, thanks to its VERP capability > > (Variable Envelope Return Path). http://www.qmail.org/ > > > > If you want to send messages regularly to the same group of users, I > > recommend that you use ezmlm-idx because it provides very efficient and > > secure way to handle subscriptions and messages bouncings. > > http://www.ezmlm.org/ > > > > I don't recommend the patches of ezmlm that let it be interfaced with > > user lists maintained in MySQL or PostgreSQL. I doubt that those > > databases are faster to query than DJB's cdb user list databases. Also, > > I don't think that most people want the user to be deleted from a > > database if it's address is bouncing for too long (11 days). > > > > Anyway, you may want to look into this PHP web interface to create and > > setup options of ezmlm mailing lists. It also comes with a SOAP server > > interface that you can use to provide Web services to subscribe, > > unsubscriber, verify and count users in ezmlm mailing lists. > > > > http://phpclasses.upperdesign.com/browse.html/package/177 > > > > Regards, > > Manuel Lemos > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php