#28530 [Opn->Bgs]: postfix x mail()

From: Date: Thu, 27 May 2004 13:18:57 +0000
Subject: #28530 [Opn->Bgs]: postfix x mail()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-60072@lists.php.net to get a copy of this message
ID: 28530 Updated by: iliaa@php.net Reported By: antonio@php.net -Status: Open +Status: Bogus Bug Type: Mail related Operating System: FreeBSD 4.10-PRERELEASE PHP Version: 4.3.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. I am pretty sure the problem is with postfix not PHP since the code for piping an e-mail is the same. You can try to strace the cli script used to send the e-mail to see what exactly PHP sends to postfix. Previous Comments: ------------------------------------------------------------------------ [2004-05-26 21:25:50] antonio@php.net Cenario: FreeBSD 4.10, Apache 1.3.31, PHP 4.3.6 and postfix. When we try to execute that code (even on console), the mail is not being sent to the destination mail because - for some strange reason - mail() is sending an empty RCPT TO to postfix. I've tested using sendmail (another machine with same cenario, except for postfix) and the mail goes ok. ------------------------------------------------------------------------ [2004-05-26 17:46:17] derick@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2004-05-26 17:19:22] antonio@php.net Description: ------------ mail() is not sending mails correctly using postfix Reproduce code: --------------- <?php mail('foo@bar.org', 'foo', 'bar'); ?> Expected result: ---------------- May 26 10:57:51 <machine> postfix/cleanup[50047]: 3D1A43B0: to=<foo@bar.org> (...) Actual result: -------------- May 26 10:57:51 <machine> postfix/cleanup[50047]: 3D1A43B0: to=<unknown>, relay=none, delay=0, status=bounced (No recipients specified) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28530&edit=1

« previous php.bugs (#60072) next »