Admin-Ahead Community
Linux => Control Panels => cPanel => Topic started by: vyshakhv on March 24, 2018, 08:54:52 pm
-
While sending email using sendmail scirpt, I was getting the error message as -
sendmail: sendmail cannot be called directly from a shell with the current user id
Solution -
1. Login to WHM using root access.
2. Follow - Home >> Server Configuration >> Tweak Settings
3. Disable the two options -
Track email origin via X-Source email headers
Prevent “nobody” from sending email
The issue is resolved. Email sent successfully.