rmattioli
04-18-2001, 02:44 PM
Hi, on our RaQ 4i we host some sites. Everytime they send a message through a CGI or PHP script, the mail looks like it has been originated from our administrative domain, rather than from the hosted site (that has is own domain).
Here's a sample of a message originated by a PHP script.
Return-Path: <root>
Received: (from root@localhost)
by www.ouradmindomain.com (8.10.2/8.10.2) id f3IBAqS12711;
Wed, 18 Apr 2001 12:10:52 +0100
Date: Wed, 18 Apr 2001 12:10:52 +0100
Message-Id: <200104181110.f3IBAqS12711@www.ouradmindomain.com>
To: recipient@destinationdomain.com
Subject: SUBJECT
From: sender@hosteddomain.com
X-Mailer: PHP/4.0.3pl1
The question is: how do I make the message look like it has been originated from the domain we host (and that's actually sending the e-mail), so if any error notification is sent to that domain and not to us?
Thanks in advance.
Here's a sample of a message originated by a PHP script.
Return-Path: <root>
Received: (from root@localhost)
by www.ouradmindomain.com (8.10.2/8.10.2) id f3IBAqS12711;
Wed, 18 Apr 2001 12:10:52 +0100
Date: Wed, 18 Apr 2001 12:10:52 +0100
Message-Id: <200104181110.f3IBAqS12711@www.ouradmindomain.com>
To: recipient@destinationdomain.com
Subject: SUBJECT
From: sender@hosteddomain.com
X-Mailer: PHP/4.0.3pl1
The question is: how do I make the message look like it has been originated from the domain we host (and that's actually sending the e-mail), so if any error notification is sent to that domain and not to us?
Thanks in advance.
