[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] perl script-generated sendmail headers
- Subject: Re: [cobalt-users] perl script-generated sendmail headers
- From: flash22@xxxxxxx
- Date: Mon May 27 15:19:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Mon, 27 May 2002, David Black wrote:
> Thanks again, Olaf. I guess I need to move this thread to a perl board.
> I tried your (much appreciated) smtp snippet, but it made no difference.
> The resulting email header still had "Received: from httpd@localhost".
That's because 'httpd' owned the process that invoked sendmail ;P
If you want sendmail to report someother local user, you have to
have the cgi owned by that user, or make that user a trusted user so you
are allowed to lie about who yu are.
If you think about it, httpd@localhost *is* the sender, so that's a
perfectly reasonable line...
If you don't want mail logged as going through 'localhost' that's a whole
different can of worms...
To change that, you need to actualy open a session with the smtp interface
gsh