Re: mailing

From: Georg Horn (horn@koblenz-net.de)
Date: Wed Oct 06 1999 - 17:17:10 EST


Hi,

> > I know you can specify the from header (and other headers, too) using
> > sendmail from the command line, and most likely you can do it when you
> > call sendmail as nobody via your Apache server.
>
> Sendmail will only allow you to do this sort of thing if it is run as root
> so it may not be an option from a "nobody" owned cgi.

Hm, i think the normal headers like "From: ", "To: ", "Subject: " etc.
can be set by every user. To change the envelope sender adress you can
use the -f switch of sendmail, but the manpage say about this:

    Sets the name of the ``from'' person (i.e., the sender of the mail). -f
    can only be used by ``trusted'' users (normally root, daemon, and network)

Trusted users are declared with "Tnobody" in sendmail.cf

Bye,
Georg

-------------------------------------------------------------------------
To unsubscribe, go to http://www.Hughes.com.au/extras/email/



This archive was generated by hypermail 2b30 : Mon Mar 04 2002 - 09:03:51 EST