Hello,

On 09/28/2004 03:54 AM, Roger Thomas wrote:
You may just need to tune qmail to maximize the number of
simultaneous deliveries according to the available bandwidth.


How do I tune qmail in that manner ? If the answer is too long and
complicated, pls flame me softly as this is already OT.

Usually, increasing the concurrencyremote control option is what makes most of the difference. The default is 20 simultaneous deliveries. You can increase to 120 without patching qmail. If you realize that such change exhausts your memory, you may have to use a smaller value.


Using a DNS query caching daemon also helps if your DNS is a little slow to react.


For this reason, during deliveries of messages to many recipients,
it is better to pause once in a while to let the queue be fully
processed and do not stall other programs.


Do you mean, say we fetched 100,000 addresses from database, we make
our script sleep for a while after sending, say 1000 mails ?

Right, you need to test with qmail-qstat how long it needs to rest to give qmail time to process all queued messages during a period. This is may also be important if your available disk space is limited.



--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to