Manuel Lemos wrote:
Hello,
on 01/15/2008 07:16 AM Per Jessen said the following:
If there's any way to re-configure the MTA to queue the messages for
later sending, that would save you a lot of overhead on the PHP end...
The MTA will always queue the messages - well, that is certainly the
case for postfix.
qmail too. Sendmail can be configured to just queue the messages too but
that is not its default configuration.
This is all getting way OT for php.
All except exim will queue the message AND have a process that looks at
the queue at the same time.
exim has an option called 'queue_only' which then tells it to just store
the message and there is no process trying to actually send the emails
until it hits another option which tells it when to run the queue.
If you run 'mailq' (or qmail-qstat) while you are sending lots of
emails, the numbers and emails will change as emails are incoming and
outgoing at the same time. You won't see emails sitting at the top of
the send queue for very long because another process is picking it up
and sending it.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php