Bug #53984 [Com]: mail() regression with sendmail_path containing -f

From: Date: Tue, 23 Aug 2016 05:35:54 +0000
Subject: Bug #53984 [Com]: mail() regression with sendmail_path containing -f
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203501@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=53984&edit=1 ID: 53984 Comment by: asphp at dsgml dot com Reported by: danger at freebsd dot org Summary: mail() regression with sendmail_path containing -f Status: No Feedback Type: Bug Package: Mail related Operating System: FreeBSD, should not depend on OS PHP Version: 5.3.5 Block user comment: N Private report: N New Comment: I am experiencing this bug with PHP 5.4.16 and Sendmail 8.14.7. In php.ini I have sendmail_path defined with -f addr@domain.com, and I called mail() with -f in the 5th parameter. My intent is to have -f defined in case I don't with mail(), and then override it as needed in mail() Instead I get the error: more than one "from" person Previous Comments: ------------------------------------------------------------------------ [2013-02-18 00:34:42] php-bugs at lists dot php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2011-02-14 15:32:30] danger at FreeBSD dot org Hello, the MTA has not been changed during the upgrade, as I am using Sendmail 8.14.4 which comes with the FreeBSD base system. ------------------------------------------------------------------------ [2011-02-13 16:35:18] cataphract@php.net Well, the test is meaningless without you telling which MTA you're using. "sendmail" is provided by several programs. Can you actually confirm that between the two versions PHP called sendmail in a different fashion (perhaps by making sendmail_path, point to wrapper program that logs the command line and possibly the data passed?). I'm guessing you also changed your MTA when you upgraded PHP. ------------------------------------------------------------------------ [2011-02-13 13:12:29] danger at freebsd dot org Did you test the provided code? ------------------------------------------------------------------------ [2011-02-13 04:32:51] cataphract@php.net I find this a little hard to believe. Nothing has changed in ext/standard/mail.c between these two versions. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=53984 -- Edit this bug report at https://bugs.php.net/bug.php?id=53984&edit=1

« previous php.bugs (#203501) next »