Le 07/06/2011 01:13, Wietse Venema a écrit :
St?phane MERLE:
Postfix installs its own sendmail command, to avoid breaking PHP
etc.  This was a smarter move than having to re-educate people.
yes, I must agree on that ! (that's just confusing because the
/usr/sbin/sendmail is not a script but a binary ... so I though that was
the mta)

so to make sure :

1 - for the 10s pause between emails, it's due to the sendmail command ?

      # dpkg -S sendmail | grep bin
      postfix: /usr/sbin/sendmail
Instead of asking if /usr/sbin/sendmail causes a delay, why don't
jou just SEND EMAIL WITHOUT PHP and see if that causes a delay. If
there is no such delay then /usr/sbin/sendmail is not the problem.

yes, that's the simplest way, but ... I don't have the delay anymore (so I can't try), I think the hosting company problem is now solve, and hopefully I wont get the problem anymore. you think that the delay is coming from the mail php function ? (I really though that the postfix had a kind of security that hold the mail when the mailq is starting to be too full).
As for the other questions, why would you throw away email that
was intended to be delivered?

Because of the delay, most of those email (80/85 %) where coupon to use for monday (yesterday, we began to sent them on saturday). So we decided on monday morning to cancel the rest to sent of the mailing but ... I was unable to do it (I could switch off the postfix, but then where were the mail ..., again, nothing in active/deferred/incoming).

At the end the coupon which is still written to work on Monday will also be working today and tomorrow to be sure ....

Again, don't think that I blame postfix for something, this software is just perfect and is working like a charm 99% of the time and here the problem is not even coming from him ... it's just that I never had this kind of thing (mail in the mailq but nothing in qshape on active or deferred). It's also probably a language matter, as I don't get all the subtility of the documentation [I found most of the explanations of sendmail afterward and get the ! information for the hold status in mailq afterward too in http://www.postfix.org/sendmail.1.html]

I must add that I bought the book : "postfix la référence" of Kyle Dent and it help me a lot in the set up a year or 2 ago

Thanks for your time, patience and work.

Stéphane


Reply via email to