ID: 42505 Updated by: [EMAIL PROTECTED] Reported By: gk at gknw dot de -Status: Bogus +Status: Assigned Bug Type: Mail related Operating System: NetWare PHP Version: 5.2.4 -Assigned To: +Assigned To: johannes New Comment:
Johannes, you broke it, you fix it.. Previous Comments: ------------------------------------------------------------------------ [2007-09-03 08:16:36] [EMAIL PROTECTED] This is expected behaviour. If the sendmail path isn't detected during configure run, it defaults to that. Just set the path in your php.ini to what it should be. ------------------------------------------------------------------------ [2007-08-31 22:55:11] gk at gknw dot de Description: ------------ The recent commit to ./main/main.c by johannes (Revision 1.640.2.23.2.43 and 1.640.2.23.2.50) breaks NetWare internal mail functionality; IMO the preprocessor ifdefs are totally bogus; I think this patch is a more accurate way to express it, and restores previous default for NetWare platform (+ adds a comment): --- main.c.orig Fri Aug 03 03:30:22 2007 +++ main.c Fri Aug 31 23:46:21 2007 @@ -333,10 +333,10 @@ # define PHP_SAFE_MODE_EXEC_DIR "" #endif -#if defined(PHP_PROG_SENDMAIL) && !defined(NETWARE) -# define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t -i " -#elif defined(PHP_WIN32) +#if defined(PHP_WIN32) || defined(NETWARE) /* Win32 and NetWare use internal mail */ # define DEFAULT_SENDMAIL_PATH NULL +#elif defined(PHP_PROG_SENDMAIL) +# define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t -i " #else # define DEFAULT_SENDMAIL_PATH "/usr/sbin/sendmail -t -i" #endif please fix that soon! Thanks! Reproduce code: --------------- <?php phpinfo() ?> Expected result: ---------------- sendmail_path = no value Actual result: -------------- sendmail_path = sendmail -t -i ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42505&edit=1