#20403 [Opn->Fbk]: mail function doesn't work

From: Date: Tue, 12 Nov 2002 22:59:57 +0000
Subject: #20403 [Opn->Fbk]: mail function doesn't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24757@lists.php.net to get a copy of this message
ID: 20403 Updated by: sniper@php.net Reported By: dfelteau@isx.com -Status: Open +Status: Feedback Bug Type: Mail related Operating System: Solaris 5.8 PHP Version: 4.3.0-pre2 New Comment: Check you maillog for possible errors in sending the email. (this is not any bug in PHP btw, it works fine here) Previous Comments: ------------------------------------------------------------------------ [2002-11-12 15:42:55] dfelteau@isx.com Here is some additional information. I see no errors when I run the included script from 12 Nov 3:28pm. The mail never comes though. It use to in 4.2 and below. Apache server_software: Apache/2.0.40 (Unix) mod_ssl/2.0.40 OpenSSL/0.9.6e PHP/4.3.0-dev DAV/2 In PHP.ini: SMTP= localhost sendmail_path= '/usr/lib/sendmail' smtp_port=25 Configure command: './configure' '--with-config-file-path=/usr/local/apache2/conf' '--with-apxs2=/usr/local/apache2/bin/apxs' '--disable-debug' '--with-openssl=/usr/local/openssl' '--enable-calendar' '--enable-gcclib' '--enable-inline-optimization' '--enable-rule-SHARED_CODE' '--enable-shared' '--enable-safe-mode' '--enable-track-vars' '--with-mysql' '--with-gd' '--enable-gd-native-ttf' '--enable-freetype-4bit-antialias-hack' '--with-gnu-ld' '--with-zlib-dir=/usr/local/lib' ------------------------------------------------------------------------ [2002-11-12 15:29:43] 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. ------------------------------------------------------------------------ [2002-11-12 15:28:02] dfelteau@isx.com The mail function stopped working when I upgraded to the CVS snapshot (the last couple actually). Apparently the message is being sent but not to the receipent? Here's a simple script: <?php mail("dfelteau@isx.com","Test Subject","This is a test.","Reply-To:webmaster@isx .com","-fwebmaster@isx.com"); ?> Here's the /var/log/maillog: Nov 12 16:22:51 voyager sendmail[29482]: [ID 801593 mail.info] gACLMpx29482: Authentication-Warning: isx.com: nobody set sender to webmaster@isx.com using -f Nov 12 16:22:51 voyager sendmail[29482]: [ID 801593 mail.info] gACLMpx29482: from=webmaster@isx.com, size=87, class=0, nrcpts=0, msgid=<200211122122.gACLMpx29482@isx.com>, relay=nobody@localhost ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20403&edit=1

« previous php.bugs (#24757) next »