Help - Search - Members - Calendar
Full Version: phpsuexec & 500 error - opinnion needed
The Planet Forums > Control Panels > cPanel/WHM
McFunk
I'm new to being an admin of a server. I have ran into a few problems and I'd like to hear some opinionson what I've done.

- 50% of my vbulletin newsletters were failing because user 'nobody' (nobody@something.ev1servers.net) wasn't accepted by the recipiant.
- Somebody started spamming through my server.

Here's what I did...
-Tweaked settings, checked "Prevent the user 'nobody' from sending out mail to remote addresses "
- Redid apache config through 'update apache' and selected PHPsuExec to be installed.

Then some domains on 1 IP were not working. Giving me a 500 internal server error. So I did this:
- edited httpd.conf file and put this in near the addtype lines:
AddHandler application/x-httpd-php .php .php3 .phtml .html .htm .php4

Then I restarted apache, and now all files are working.

To stop spam, and enable my newsletters...
Was that the correct thing to do?

Or can anybody access php files or cgi files that contain my user/pass to databases?
McFunk
Also now I've spoken to some people and they say that haven't gotten the newsletter. However there are 0 emails in the mail queue. Where as before there would be 50% of the newsletters in the mail queue. I'm not sure what to do.
eth00
You need to change your servers hostname and then put in a reverse dns for it. Without the reverse dns for your server ip you are going to get it blocked by most spam filters. Depending on what you are using to send the email you can get it to send the emails differently which should work for you.
exo
For the 500 error, with phpsuexec enabled you cant have php_value flags in .htaccess files. If you have any, it should be in php.ini files in virtual domains home.
McFunk
QUOTE (eth00)
You need to change your servers hostname and then put in a reverse dns for it. Without the reverse dns for your server ip you are going to get it blocked by most spam filters. Depending on what you are using to send the email you can get it to send the emails differently which should work for you.

What exactly do I change it to? Right now it's something.ev1servers.net. I'm using ev1s name servers.

What I did right now is set a return path. So I changed:
usr/local/lib/php.ini
And put in:
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i -f emal@oneofmydomains.com

This has helped with the mail queue problem. However yeah I'm still being blocked by some people and AOL addresses. It's not spam, must my community newsletter.

So that brings me to my first question. What do I change the hostname to?
McFunk
QUOTE (exo)
For the 500 error, with phpsuexec enabled you cant have php_value flags in .htaccess files. If you have any, it should be in php.ini files in virtual domains home.

Thanks, I found that in google and fixed my 500 error issues.
mahdionline
dear McFunk

please describe more about the solution ?

Regard
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.