#1 (permalink)  
Old 03-09-2006, 09:20 AM
Registered User
 
Join Date: Mar 2003
Posts: 203
salvatore333
Problem with PHP mail

I have recently checked off "prevent user nobody from sending out mail" in the WHM tweak settings. Now a customer who uses the fantastico installed PHP auction website says his clients no longer receive his emails. I have enabled suexec but I did not go to Apache update and compile in there yet. Will that fix the problem? If not can you be so kind as to give me a hint on how to resolve this issue for my customer?

Thanks so much
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-09-2006, 11:06 AM
Registered User
 
Join Date: Jul 2005
Location: Sticky On Internet
Posts: 508
mohit is on a distinguished road
hi,
certain PHP based scripts do offer a mod for such problems which lets the site owner send mails using a smtp a/c.

preventing NOBODY user is although very helpful but you get a lot of such complaints from clients using such scripts and may really bug you.

see ya,
mohit
__________________
Learn atleast A word Daily

7+1 Dedicated Boxes with cPanel...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-09-2006, 11:10 AM
Registered User
 
Join Date: Mar 2003
Posts: 203
salvatore333
I checked the admin section of the script and there is no such smtp feature. There is no mod from the tech support for the auction script. Can someone else suggest how I may get this to work?

Thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-11-2006, 07:55 AM
Registered User
 
Join Date: Mar 2003
Posts: 203
salvatore333
Can anybody help me with this issue? Thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-11-2006, 08:24 AM
verdon's Avatar
Registered User
 
Join Date: Nov 2003
Location: Northern Ontario, Canada
Posts: 791
verdon
I think what you need is phpsuexec not suexec... but if you go that way, you'll want to do some reading first as it will introduce a host of other considerations.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-11-2006, 10:24 AM
Registered User
 
Join Date: Mar 2003
Posts: 203
salvatore333
I have now compiled phpsuexec and still the email does not function. Thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-11-2006, 10:42 AM
Registered User
 
Join Date: Jan 2005
Posts: 1,879
webignition is on a distinguished road
You're going to have to either pay someone to investigate this for you or start investigating yourself and post back the exact errors you encounter along the way.

I'd suggest a strategy as follows:

1. Enable extended logging in Exim
This, among other things, logs the subject of an email which makes finding a message in the mail logs so so much easier.
How it enable "Extended Exim Logging"?

2. Create a simple PHP script for sending a test message
PHP Code:
<?php

    mail
('myaddress@example.com''my easy-to-spot test subject''my unimportant test message');

?>
3. Set the subject value sensibly and execute the script. I'd recommend changing the subject each time before executing so that you can track which test message is which.

4. Wait long enough for something to turn up on the mail logs and then check through /var/log/exim_mainlog for the message sent by the script. Act accordingly on any error messages you find.

It's as easy as that. If you don't understand what an error means, post the full and exact error message here and people may be able to help. But first and foremost you're going to have to put some effort into this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:05 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc