View Single Post
  #3  
Old 30th April 2013, 11:36
Galopete Galopete is offline
Junior Member
 
Join Date: Apr 2013
Posts: 13
Thanks: 4
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till View Post
Theseare notices and not errors, so the script works. If you dont want to see developer notices then you can change theberror reporting level in php.ini.
Thank you Till, for your response.

This morning i have seen if the scripts works because i have my server took with a spammer, I think it's a php script in joomla. The cuestion is, there is no data on /var/log/mail.form..

Each time somebody is sending a spam, there is a report on apache's log appearing this info.
Quote:
PHP Notice: Undefined index: PWD in /usr/local/bin/phpsendmail on line 33
PHP Notice: Undefined variable: mail in /usr/local/bin/phpsendmail on line 21
PHP Notice: Undefined index: PWD in /usr/local/bin/phpsendmail on line 33
PHP Notice: Undefined variable: mail in /usr/local/bin/phpsendmail on line 21
PHP Notice: Undefined index: PWD in /usr/local/bin/phpsendmail on line 33
PHP Notice: Undefined variable: mail in /usr/local/bin/phpsendmail on line 21
PHP Notice: Undefined index: PWD in /usr/local/bin/phpsendmail on line 33
PHP Notice: Undefined variable: mail in /usr/local/bin/phpsendmail on line 21
PHP Notice: Undefined index: PWD in /usr/local/bin/phpsendmail on line 33
PHP Notice: Undefined variable: mail in /usr/local/bin/phpsendmail on line 21
PHP Notice: Undefined index: PWD in /usr/local/bin/phpsendmail on line 33
One thing, I'm using postfix, not sendmail, but i've seen you are using the sendmail binary in the script, is this OK?

Many thanks again..
Reply With Quote