change user nobody@

hello, when use script to send mail, mails arrives at name from nobody@myserver.com.

I have suExec enabled.

all's emails sending with script (for example), they are received from:
---------
Return-path: <nobody@host.myserver.com>
Envelope-to: name@mail.com
Delivery-date: Sat, 18 Sep 2004 23:16:05 -0600
Received: from nobody by host.myserver.com with local (Exim 4.41)
id 1C8u3Q-0007pa-RV
for name@mail.com; Sat, 18 Sep 2004 23:16:04 -0600
To: name@mail.com()
Subject: test
From: name@mail.com (san)
Reply-To: name@mail.com (san)
X-Mailer: http://www.phpclasses.org/mimemessage $Revision: 1.37 $ (sendmail $Revision: 1.10 $)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="b7374e3c6b5fdfe366a07416ccd40ce1"
Message-ID: <20040918231604.6513.name@mail.com>
Sender: Nobody <nobody@host.myserver.com>
Date: Sat, 18 Sep 2004 23:16:04 -0600
---------------

somebody knows like doing so that emails sent by scripts arrives at name of the user and not from nobody?
For example: Return-path: <mailuseraccount@domain.com> or Sender: <mailuseraccount@domain.com>

thanks for your help!

 

 

 

 

Top