Date: Sat, 5 Apr 2003 01:59:17 -0500 From: David Banning <david@skytracker.ca> To: Odhiambo Washington <wash@wananchi.com> Cc: questions@freebsd.org Subject: Re: sending mail with a script question Message-ID: <20030405015917.A93482@skytrackercanada.com> In-Reply-To: <20030405064235.GB71101@ns2.wananchi.com>; from wash@wananchi.com on Sat, Apr 05, 2003 at 09:42:35AM %2B0300 References: <20030404234509.A91877@skytrackercanada.com> <20030405064235.GB71101@ns2.wananchi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > cat textfile | mutt -s"Quote/Attachments" -afile1 -afile2 john@doe.com > > > > but the problem is that the recipient sees the sender address as > > from "nobody@ourhost.com", when I want it seen as "david@ourhost.com". > > I have the name of the user available in the script but I see no > > way of running the mail script as that person since any browser viewing > > the system is "nobody". > > In the context of the MTA, does your MTA "trust" the user the webserver is > running as??? I think so. If I understand you correctly, you are asking, in my case, "does sendmail successfully send out mail as user nobody?". The answer to that, is yes. The problem with sending mail to people as nobody, is that the person who receives the fax gets it from nobody@ourhost.com instead of david@ourhost.com. I plan on having different people running the browser and hence, sending out emails through this system. They all can't be "nobody@ourhost.com". I could maybe deal with that by setting the "reply to" field in the message, but that still leaves a weird email address of "nobody" which I would rather not use, if I don't have to.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030405015917.A93482>