Your message dated Thu, 13 Aug 2009 17:25:24 -0500
with message-id <[email protected]>
and subject line Re: libapache2-mod-php5: Ignores sendmail_from configuration
value
has caused the Debian Bug report #540024,
regarding libapache2-mod-php5: Ignores sendmail_from configuration value
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
540024: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540024
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libapache2-mod-php5
Version: 5.2.6.dfsg.1-1+lenny3
Severity: normal
Hi, I've just worked with apache and php5 settings and i discovered that if I
set sendmail_from value via virtualhost config (php_admin_value sendmail_from
[email protected]), this
<?php
$to = "[email protected]";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>
Message delivers as, as you can see, From header is set to
[email protected]. If I use additional header From: when
invoking mail() it works correctly, so problem is in php itself.
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from localhost (localhost [127.0.0.1])
by mail.cz-hosting.com (Postfix) with ESMTP id 7025310807C
for <[email protected]>; Wed, 5 Aug 2009 10:15:33 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mail.cz-hosting.com
Received: from mail.cz-hosting.com ([127.0.0.1])
by localhost (mail.cz-hosting.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 12BN9MZMIUOY for <[email protected]>;
Wed, 5 Aug 2009 10:15:32 +0200 (CEST)
Received: from kunco-nb.local (unknown [213.129.146.66])
by mail.cz-hosting.com (Postfix) with ESMTP id 3F89010807B
for <[email protected]>; Wed, 5 Aug 2009 10:15:32 +0200 (CEST)
Received: by kunco-nb.local (Postfix, from userid 33)
id 7BDB147B07; Wed, 5 Aug 2009 10:15:26 +0200 (CEST)
To: [email protected]
Subject: Hi!
Message-Id: <[email protected]>
Date: Wed, 5 Aug 2009 10:15:26 +0200 (CEST)
From: [email protected] (www-data)
Hi,
How are you?
--- this is end of message source code ---
Thanks for reading, may be fixing this bug.
Ondřej Kunc
-- System Information:
Debian Release: 5.0.2
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libapache2-mod-php5 depends on:
ii apache2-mpm-pre 2.2.9-10+lenny4 Apache HTTP Server - traditional n
ii apache2.2-commo 2.2.9-10+lenny4 Apache HTTP Server common files
ii libbz2-1.0 1.0.5-1 high-quality block-sorting file co
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libcomerr2 1.41.3-1 common error description library
ii libdb4.6 4.6.21-11 Berkeley v4.6 Database Libraries [
ii libkrb53 1.6.dfsg.4~beta1-5lenny1 MIT Kerberos runtime libraries
ii libmagic1 4.26-1 File type determination library us
ii libpcre3 7.6-2.1 Perl 5 Compatible Regular Expressi
ii libssl0.9.8 0.9.8g-15+lenny1 SSL shared libraries
ii libxml2 2.6.32.dfsg-5 GNOME XML library
ii mime-support 3.44-1 MIME files 'mime.types' & 'mailcap
ii php5-common 5.2.6.dfsg.1-1+lenny3 Common files for packages built fr
ii tzdata 2009g-0lenny1 time zone and daylight-saving time
ii ucf 3.0016 Update Configuration File: preserv
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
libapache2-mod-php5 recommends no packages.
Versions of packages libapache2-mod-php5 suggests:
pn php-pear <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi,
I'm afraid this is not a bug. The documentation says:
> sendmail_from (string)
>
> Which "From:" mail address should be used in mail sent from PHP under
> Windows. This directive also sets the "Return-Path:" header.
Cheers,
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
--- End Message ---