Re: mail from for virtual hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 14, 2008 at 1:43 PM, Zbigniew Szalbot <zszalbot@xxxxxxxxx> wrote:

>  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?

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

-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux