ID: 42505 Updated by: [EMAIL PROTECTED] Reported By: gk at gknw dot de Status: Assigned Bug Type: Mail related Operating System: NetWare PHP Version: 5.2.4 -Assigned To: johannes +Assigned To: pajoye New Comment:
Applied to 5.2 and HEAD, remains 5.3. I will do it later, no 5.3 tree at hand and low bandwidth here :) Previous Comments: ------------------------------------------------------------------------ [2007-09-03 13:06:47] [EMAIL PROTECTED] Johannes, you broke it, you fix it.. ------------------------------------------------------------------------ [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