Re: mail() sends as "nobody", causing server error
- From: hansBKK <aww01.100.hansbkk@xxxxxxxxxxxxxxx>
- Date: Sun, 1 Apr 2007 13:11:10 +0200 (CEST)
"Jason" <jwcarlton@xxxxxxxxx> wrote in news:1175061293.558023.29400
@n59g2000hsh.googlegroups.com:
The problem is that when it emails out, the server recognizes it as
coming from "nobody," which is automatically bounced to me. I set the
server up to refuse "nobody" emails as a hack-attack preventative, but
it's usually not a problem... until now.
And to address your question (someone correct me if I'm wrong):
You are running php as an Apache module, correct?
I believe in this environment, Return-path is going to be the web-server's
username, unless you hack something in your mail server software (e.g.
sendmail). The other from headers you should be able to set within your
(more secure) script.
However, if you have php running as CGI then the Return-path will be set to
the username that php is running as.
I believe searching on "tectite" and mail and form will bring you to a
(relatively?) secure mailform script. Do NOT use "Matt's".
.
- Prev by Date: Re: Welche Funktion zur Speicherung von Passwörtern verwenden?
- Next by Date: Choosing a host based on their PHP "security" measures
- Previous by thread: Re: Welche Funktion zur Speicherung von Passwörtern verwenden?
- Next by thread: Choosing a host based on their PHP "security" measures
- Index(es):
Relevant Pages
|