Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 44
  1. #1
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,064

    Question php mail() and whm tweak settings (prevent nobody mail)

    Hello,

    when I started to use the "Prevent the user 'nobody' from sending out mail to remote addresses" option on whm tweak setting a lot of clients are experiencing problems with
    the php mail() function .

    What I have to do to send an email using
    the php mail() function when the ""Prevent the user 'nobody' "
    is enabled ?

    Thank you !!
    Last edited by Radio_Head; 03-28-2003 at 11:59 AM.
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  2. #2
    Member
    Join Date
    Oct 2002
    Posts
    751

    Default

    This is just not working correctly at the moment, there are a couple of threads on the same topic.

    Just uncheck 'prevent nobody...' for now until CPanel has fixed this issue.

  3. #3
    Member
    Join Date
    Nov 2002
    Posts
    48

    Default

    i have uncheck but, mail() still not working.... anyone can help me??

  4. #4
    Member
    Join Date
    Oct 2002
    Posts
    751

    Default

    Originally posted by cikul
    i have uncheck but, mail() still not working.... anyone can help me??
    What errors do you get after unchecking it?

    I had problems after unchecking it as well, mail was still not being delivered but i didn't get any bounced emails with the unroutable domain error.

    What I did is run /scripts/newexim and then after checking/unchecking a couple of more times things started working all of a sudden. (this was 10-15 minutes later)
    I really have no idea what caused things to suddenly work again, maybe it will do the same for you.

  5. #5
    Member
    Join Date
    Sep 2001
    Posts
    103

    Default

    Originally posted by cikul
    i have uncheck but, mail() still not working.... anyone can help me??
    restart Exim

  6. #6
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,064

    Default

    uhm ...

    I tried to use mail() with a complete header , indicating
    "from" , "return to" and other parameters ..

    but ....nothing to do .. with "Prevent nobody" the email goes losed (don't reach destination..)

    I hope Brad will fixed this ... at this time "prevent nobody" is too much restrictive !

    Specifiing an header on mail() it should permit to send the message .
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  7. #7
    Member
    Join Date
    Dec 2002
    Posts
    315

    Default

    This did the trick for me. The weird thing is that the problem only started happening yesterday although I have that option ticked for a long time.

    When will Cpanel stop breaking our things and make it less buggy

  8. #8
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Originally posted by silversurfer
    This did the trick for me. The weird thing is that the problem only started happening yesterday although I have that option ticked for a long time.

    When will Cpanel stop breaking our things and make it less buggy
    This isn't a bug, its doing exactly what the option says. php/httpd run as 'nobody' so its going to block to mail to remote domains from php scripts if you turn this on (unless you have phpsuexec installed)

  9. #9
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    309
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    why does it not send when this option is unchecked?
    i use simple mailform.pl cgi script to parse forms and none of the mails are being sent.. any ideas?
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  10. #10
    Member
    Join Date
    Sep 2001
    Posts
    103

    Default

    Originally posted by bdraco
    This isn't a bug, its doing exactly what the option says. php/httpd run as 'nobody' so its going to block to mail to remote domains from php scripts if you turn this on (unless you have phpsuexec installed)
    phpsuexec? we have suexec but not phpsuexec.. where can we get this to install?

  11. #11
    Member
    Join Date
    Nov 2002
    Posts
    40
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Is there going to be a fix for this issue any time soon? /scripts/newexim will fix it but after about 4 hours it wouldn't work again and I had to go and do it again. Gets kind of ridiculous.

  12. #12
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    309
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I just ran an update to: WHM 6.2.0 Cpanel 6.2.0-S49 (was at WHM 6.0.0 Cpanel 6.0.0-S109) and all seems to be working again.. (only time will tell for sure) might want to update and see what happens..
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  13. #13
    Member WeMasterz5's Avatar
    Join Date
    Feb 2003
    Location
    Miami
    Posts
    361

    Default

    Just uncheck 'prevent nobody...' for now until CPanel has fixed this issue.
    where in tweak settings is this???

    I just ran an update to: WHM 6.2.0 Cpanel 6.2.0-S49 (was at WHM 6.0.0 Cpanel 6.0.0-S109) and all seems to be working again
    what edge are you using to get this? I got WHM 6.2.0 Cpanel 6.2.0-E33

  14. #14
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    309
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    doesn't say it's an edge release.. was latest in the stable tree..
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  15. #15
    Member WeMasterz5's Avatar
    Join Date
    Feb 2003
    Location
    Miami
    Posts
    361

    Default

    oh I see ...ok....so is there a working stable now? we tried last week and it would not upgrade and when we did upgrade with the edge and switched back to stable we lost the edge upgrade

Similar Threads & Tags
Similar threads

  1. whm/whmcs/csf - whm settings
    By salvatore333 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-09-2011, 06:15 AM
  2. Customize Sub-domain of Outgoing/Incoming Mail Server for Mail Client Settings
    By URPad in forum Feature Requests for cPanel/WHM
    Replies: 6
    Last Post: 09-07-2010, 09:36 PM
  3. Mail settings not right
    By URPad in forum E-mail Discussions
    Replies: 4
    Last Post: 09-07-2010, 07:02 AM
  4. Ideal PHP settings for Cpanel/WHM
    By nitaish in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-05-2008, 11:00 PM
  5. PHP Ini settings in WHM
    By Getox in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-14-2004, 02:31 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube