PHP Mail/Postfix always returns true even when Postfix is stopped
<p>I have a weird problem. Using the mail() function and a local Postfix on the server. When Postfix is running, mail gets sent just fine but if I stop Postfix mail() still returns true but no e-mails are obviously sent and no error gets logged anywhere.</p>

<p>Code for sending:</p>

<pre><code>echo $accepted; //Returns 0
$accepted = mail($to, $subject, $message, $headers);
echo $accepted; //Returns 1
</code></pre>

<p>No other MTAs are running at the server.</p>

<p>Is there any good way of debugging this?</p>
