René Leboeuf wrote: > Per Jessen a écrit : >> René Leboeuf wrote: >> >>> The user sending emails is "trusted" by sendmail, and the sending >>> program is located on the sendmail machine. >>> >> >> No need to use SMTP then. You should just be calling sendmail to >> drop >> the emails into the queue. And that should not be slowing down. > > According to our tests, using SMTP is twice as fast as calling > sendmail! Really ?? That's very unusual as all sendmail does is file your email into a disk-based queue, so using SMTP is only superfluous overhead. Anyway, if it works for you, it's not important. >>> Mail is sent via PHPMailer. PHPMailer offers to send mail via PHP's >>> mail() function, or by calling the sendmail program or using SMTP. >>> SMTP may use persistent connections or not. All these modes were >>> tested and they all slow down after a while. >> >> They _all_ slow down after a while? How many emails are you sending >> in this way? > > Some of our mailing are +100.000 emails... There is a possibility that your filesystem is having difficulties dealing with that many files, escpecially if they are all in one directory. Which mailserver and which filesystem are you using? /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php