Dear list,
I'm a happy openbsd user since 3.7. It always served me well. But now for
the first time, I'm stuck.
My problem is the following : I'm unable to send mail from php.
The mail function works fine (echo "test" | mail [EMAIL PROTECTED] succeds).
php,
works fine, I disable safe mode for debuging purposes.
Even with apache LogLevel set to debug, I have nothing in my error_log.
Here is the piece of code I try to interpret :
================================================================
<? if mail("[EMAIL PROTECTED]", "test", "message")) echo "ok"; else echo
"nope";
?>
================================================================
The echo displayed is always the one in the else branch and of course, I get
no mail.
In case that matters, I'm running OpenBSD 4.0 (used to have the same problem
with 3.9 and then I upgraded hopping the problem wouldn't occur in 4.0).
pkg_info | grep php
php5-core-5.1.4p1 server-side HTML-embedded scripting language
php5-mbstring-5.1.4 multibyte characters extensions for php5
php5-mcrypt-5.1.4 mcrypt encryption/decryption extensions for php5
php5-mysql-5.1.4 mysql database access extensions for php5
Thanks for the time you spent reading this message.
Any suggestion/help is of course welcome.
regards,
richard.