Hi,
>> >Move the web code to the server. Try the php script. nothing... no erros no
>> >nothing. I do a 'tail -f' on the qmail log files. nothing shows up...
>>
>> It seems that mail() function from php 4.0.1pl2 expects to find
>> _real_ sendmail. At least, it use the following code:
>
>I just set up 4.0.1pl2 yesterday (upgrade from 3.0.x) and it works fine
>with qmail's sendmail. I did, however, have to fix phpGroupWare's mail
>sending routines because of the linefeed problem. Make sure your lines
>are terminated with \r\n instead of \n. If it weren't for the program's
>error reporting I wouldn't have known it was failing since PHP gave no
>error message.
>
>Also I just told it that sendmail's path was /var/qmail/bin/sendmail I
>didn't give it any switches.
Well, I didn't really use php code at all. But, of course,
the default sendmail_path in php4 is "/usr/sbin/sendmail -t", so
the reason of initial problem is something different. At least,
real sendmail_path could be checked by loooking at phpinfo() output.
BTW, sendmail -t works from command line without explicit "\r\n".
WBR, Vladimir Goncharov
System Analyst
CB "Rosprombank"