#14973 [Com]: Mail sent by www-data on behalf of the user
| From: | roger at ninthave dot net | Date: | Mon, 16 Aug 2004 23:49:36 +0000 |
| Subject: | #14973 [Com]: Mail sent by www-data on behalf of the user | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64743@lists.php.net to get a copy of this message | ||
ID: 14973
Comment by: roger at ninthave dot net
Reported By: mcoughlan at gothambroadband dot com
Status: Bogus
Bug Type: IMAP related
Operating System: Debian Linux Woody
PHP Version: 4.1.0
New Comment:
I have had the same problem using Exim, and noticed that
the offending emails always had the Sender: header set.
From the exim man page I saw:
Allowing untrusted users to change the sender address
does not of itself make it possible to send anonymous
mail. Exim still checks that the From: header refers to
the local user, and if it does not, it adds a Sender:
header, though this can be overridden by setting
"no_local_from_check".
Adding this directive in the global settings of exim4.conf
fixed it for me - although I couldn't find this directive
in the exim docs (?)
Previous Comments:
------------------------------------------------------------------------
[2002-01-14 12:53:31] mcoughlan at gothambroadband dot com
Thanks for the personal reply regarding our bug report below, Jim.
The IMP, Postfix, and PHP lists have given no insight into our
solution. If you have any idea where to fix this in our MTA, please let
me know.
Also, is it possible that it could be an IMAP issue or Apache issue? Do
you know for sure the running MTA is the problem? Could it be say, an
apache compile issue?
It seems strange that postfix would take the liberty of affecting the
header in this way. Any keywords for searching, aside from "on behalf"
would be appreciated.
Thanks
MC
------------------------------------------------------------------------
[2002-01-10 12:51:54] jimw@php.net
this is a mta configuration issue.
------------------------------------------------------------------------
[2002-01-10 12:44:00] mcoughlan at gothambroadband dot com
We are using HORDE 2 and IMP 3. Mail sent via IMP webmail comes "From
www-data on behalf of" the imp user. www-data is the apache account,
of course.
As far as I can tell, this only happens with local routing via IMP, not
via Outlook routing locally, or with IMP sending to outside accounts.
The problem is that this breaks the Outlook "search from" feature. One
must search for "www-data" in the Inbox, which of course is not
correct.
Past postings to the IMP list indicate this is a PHP-IMAP issue..?
PHP Version: 4.1.0RC2
PHP Major Version: 4.1
PHP Minor Version: 0
PHP Version Classification: dev
You are running a supported version of PHP.
MTA = postfix-20011008snapshot-1
IMAP = courier
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14973&edit=1