You are here: Re: mail() sends as "nobody", causing server error « PHP Programming Language « IT news, forums, messages
Re: mail() sends as "nobody", causing server error

Posted by hansBKK on 04/01/07 11:11

"Jason" <jwcarlton@gmail.com> 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".

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация