php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14973 Mail sent by www-data on behalf of the user
Submitted: 2002-01-10 12:44 UTC Modified: 2002-01-10 12:51 UTC
From: mcoughlan at gothambroadband dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.1.0 OS: Debian Linux Woody
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mcoughlan at gothambroadband dot com
New email:
PHP Version: OS:

 

 [2002-01-10 12:44 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-10 12:51 UTC] jimw@php.net
this is a mta configuration issue.
 [2002-01-14 12:53 UTC] 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
 [2004-08-17 01:49 UTC] roger at ninthave dot net
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 (?)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC