Hey Jonathan,
It's actually in the headers that I'm talking about. Here's an example (data changed, but still representative) showing the header parts that reveal the username/hostname:
Return-Path: <yoda@academy.jedi.com>
Received: from yoda by academy.jedi.com with local (Exim 4.71)
(envelope-from <yoda@academy.jedi.com>)
Sender: <yoda@academy.jedi.com>
However, ol' Yoda is actually sending a message from his own domain, and his email address is sabermaster@yoda.com. SOME php scripts correctly set these headers, so Yoda's real username isn't revealed, but not all scripts do this. I was hoping there was a "default" setting in Exim that would handle this for all local users. I'll check into that trusted users setting you linked to, but at first blush, it appears that just gives users the right to change the setting, it doesn't do it automatically.
From what I can find, this is due to suexec. On other systems, these headers are shown as nobody@hostname or apache@hostname, etc. That's kinda what I'd like to do here, I think, since some folks (me included) like to keep their real control panel username private.
Or, since these php scripts mostly use the php mail() function, which sends via sendmail (yes?), would it fix this issue to change the php.ini from sendmail to smtp? Or something...?
Steve
<added> I found where this can be set in sendmail, so short of another solution, I'll go that route </added>
Edited by Bluesplinter, 25 June 2010 - 12:53 PM.