<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.14.1">
</HEAD>
<BODY>
Hello Daniel<BR>
As always I should have RTFM before posting, anyway, after correcting sendmail_path in php.ini I still get the same error in mail.log.<BR>
I have not found any ref to this in streber, but it may well rewrite the value of sendmail_path.<BR>
<BR>
Anyway thanks a lot for that. It does confirm my thoughts.<BR>
Cheers<BR>
E<BR>
<BR>
<BR>
<BR>
<BR>
On Mon, 2007-07-02 at 11:25 +1000, Daniel Pittman wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Edouard Chalaron &lt;<A HREF="mailto:e.chalaron@xtra.co.nz">e.chalaron@xtra.co.nz</A>&gt; writes:</FONT>

<FONT COLOR="#000000">&gt; I am pulling my hair on this one</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; I have configured postfix and root is sending me lots of emails about</FONT>
<FONT COLOR="#000000">&gt; cron etc ....</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; Now I have a project management soft (streber-pm) in php.</FONT>
<FONT COLOR="#000000">&gt; This is supposed to send me email notifications.</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; Of course it does not,</FONT>
<FONT COLOR="#000000">&gt; and the /var/log/mail.log says :</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; Jul  2 09:16:38 mymachine postfix[24787]: error: to submit mail, use the</FONT>
<FONT COLOR="#000000">&gt; Postfix sendmail command</FONT>
<FONT COLOR="#000000">&gt; Jul  2 09:16:38 mymachine postfix[24787]: fatal: the postfix command is</FONT>
<FONT COLOR="#000000">&gt; reserved for the superuser</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; How can I get around this ?</FONT>

<FONT COLOR="#000000">Very simple: your &quot;streber-pm&quot; software is trying to use the 'postfix'</FONT>
<FONT COLOR="#000000">script to submit mail.  This is absolutely and totally wrong.</FONT>

<FONT COLOR="#000000">You need to reconfigure &quot;streber-pm&quot; and/or your PHP software to use the</FONT>
<FONT COLOR="#000000">Unix command /usr/sbin/sendmail to submit email, just like the error</FONT>
<FONT COLOR="#000000">messages there tell you.</FONT>

<FONT COLOR="#000000">Regards,</FONT>
<FONT COLOR="#000000">        Daniel</FONT>
<FONT COLOR="#000000">-- </FONT>
<FONT COLOR="#000000">Digital Infrastructure Solutions -- making IT simple, stable and secure</FONT>
<FONT COLOR="#000000">Phone: 0401 155 707        email: <A HREF="mailto:contact@digital-infrastructure.com.au">contact@digital-infrastructure.com.au</A></FONT>
<FONT COLOR="#000000">                 <A HREF="http://digital-infrastructure.com.au/">http://digital-infrastructure.com.au/</A></FONT>


</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>