Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Jailshell and sending mail

Discussion in 'E-mail Discussions' started by sparek-3, Feb 14, 2005.

  1. sparek-3

    sparek-3 Well-Known Member

    Aug 10, 2002
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    We have a user that is running a PHP script from the command line. I noticed that when the user is using jailshell, the mail does not get sent instead it gets the error

    R=lookuphost defer (-1): lowest numbered MX record points to local host

    but if I change the shell to /bin/bash, then the script works fine and the mail is sent. The domain is listed in /etc/localdomain. Is this an error in jailshell? Has anyone else experienced this problem?

Share This Page