Skip to main content

Sendmail doesn't allow nobody - unexpected setting

Comments

5 comments

  • cPanelMichael
    Hello :) Could you let us know which version of cPanel is installed on your system, and at what point the issue started? Are these accounts assigned a jailed shell environment? Thank you.
    0
  • ottdev
    Version 54-build19 The users have no shell access It started several weeks ago when we changed that setting (at the time we were on the previous version). Toggling this setting on and off again reproduces the issue. It causes sendmail to refuse mail from nobody. Track email origin via X-source email headers So users with formmail contact forms or shopping carts or signups in forums, blogs or other scripts being run under because then they are sent as the actual user The NMS formmail scripts were easy to fix as their configuration already allows for use of SMTP as an alternative.
    0
  • cPanelMichael
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • urantian
    After moving to a new server, I have been experiencing this same issue with the NOBODY user being unable to use SENDMAIL. I, too, have been getting this error message: "sendmail cannot be called directly from a shell with the current user id" I had already set this property to OFF: Prevent "nobody" from sending mail I just now discovered this thread! Finally, after setting "Track email origin via X-Source email headers" to OFF, my problem is now solved. I am using WHM 60.0 (build 15). Apparently, this apparent "bug" still exists. Michael
    0
  • cPanelMichael
    Hello, Could anyone else experiencing this issue let us know if the "/scripts/clear_orphaned_virtfs_mounts --clearall" command addresses the problem? Thank you.
    0

Please sign in to leave a comment.