On Mon, Apr 14, 2008 at 1:43 PM, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:

>  By default my mail log file shows <[EMAIL PROTECTED]> 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
>  <[EMAIL PROTECTED]>, when from domain2.tld, then <[EMAIL PROTECTED]>. Is this
>  configured in apache? If so, may I ask where?

Again:
- Your script does something when a user submits the form. This
something causes a mail to be sent, and this mail is logged in your
mailserver's log. Now, this "something" that your form uses may, or
may not be able to set a different envelope address on the mails it
sends. But whether it is able to do this, or not is not an apache
issue. It is not apache that sends those mails. It is your script,
together with whatever supporting programs it uses, that does this.
It is however possible that whatever it is that sends mail for you
does use the "serveradmin" directive in the webserver config. You
might try setting it for each virtual host.

Krist

-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to