On Mon, 2008-04-14 at 13:43 +0200, Zbigniew Szalbot wrote: > I think I have a talent for badly wording my requests. ;) I wouldn't say that entirely ;-) Hello there, by the way! > By default my mail log file shows <www@xxxxxxxxxxxxxxxx> when a uses > submists a form (in other words it is always server's host name which gets > appended, not the virtual host name). The form is correctly configured to > use mail from for the emails. That's OK. I just want to see in my logs that > when a script at domain1.tld is submitted, it is shown in lgos as > <www@xxxxxxxxxxx>, when from domain2.tld, then <www@xxxxxxxxxxx>. Is this > configured in apache? If so, may I ask where? Assuming you're not doing any form of user separation - that is, all your user's CGI scripts and PHP pages are running under the webserver's username (which is what it looks like) - that's really quite difficult. If you *are* doing some form of separation - suEXEC, suPHP for example, or one of the many other methods - which results in your users having their own unique username and having their scripts run under that username, not "www", then you could conceivably do some sort of incoming sender map or rewrite. How you'd do that in Postfix I'm not 100% sure. As others have mentioned, you could get it right by making sure that your users have properly written scripts, but most (in my experience) won't. So the question is: do all your users have their scripts run under the same user ID, or their own? Graeme --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx