The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with sending mail in PHP

Discussion in 'E-mail Discussions' started by khoonchee, Apr 9, 2003.

  1. khoonchee

    khoonchee Well-Known Member
    PartnerNOC

    Joined:
    Oct 2, 2002
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    We are having problem with the user who use the php mail() function to send out email.The emails will not be send out as we have enable the option in the WHM to not allow "noody" sender to send out the mails.

    Any ideas that we may fix this problem?



    Andy
     
  2. kalelme

    kalelme Member

    Joined:
    Nov 1, 2002
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Barcelona, Edo. Anzoategui, Venezuela
    Unroutable Mail Domain Error

    See this

    Unroutable Mail Domain Error If you are seeing this error when sending mail from php scripts you should disable the 'Prevent the user 'nobody' from sending out mail to remote addresses' option in tweak settings. Unless you have installed phpsuexec all php scripts will run as the user 'nobody'. Please note that this is nothing wrong with this feature, and it functions exactly as it is intented to. We have included this message because many people were unclear as to what this feature does.
     
  3. khoonchee

    khoonchee Well-Known Member
    PartnerNOC

    Joined:
    Oct 2, 2002
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    Thanks for the prompt reply.

    We are unable to disable the "nobody" sender in the WHM as recently we found there are many spam mails send out and if we disable this option , it is hard for us to trace out the sender in case any thing happen.

    I am not so clear about the statement :

    Unless you have installed phpsuexec all php scripts will run as the user 'nobody'.

    Does it mean that we have installed the phpsuexec, it will resolved this issue?


    Thanks for the guide.




    Andy
     
  4. khoonchee

    khoonchee Well-Known Member
    PartnerNOC

    Joined:
    Oct 2, 2002
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    I have disable the "nobody" option in WHM but the mail is still not reaching its intended destination.

    Any ideas?



    Andy
     
Loading...

Share This Page