ID: 42505
Updated by: [email protected]
Reported By: gk at gknw dot de
-Status: Assigned
+Status: Open
Bug Type: Mail related
Operating System: NetWare
-PHP Version: 5.2.4
+PHP Version: 5.3CVS (?)
Assigned To: pajoye
Previous Comments:
------------------------------------------------------------------------
[2008-03-05 21:21:22] [email protected]
Applied to 5.2 and HEAD, remains 5.3. I will do it later, no 5.3 tree
at hand and low bandwidth here :)
------------------------------------------------------------------------
[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
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.