sendmail cannot be called directly from a shell

Having trouble trying to figure out this error

System 1 Redhat 7.1
System 2 Fedora
Cpanel Software on both

7.1 gives this error on a formail script

sendmail: sendmail cannot be called directly from a shell with the current user id
sendmail: sendmail cannot be called directly from a shell with the current user id


system 2 doesnt have this error, the formmailer works.

I kinda have an idea what the error means but have no idea how to fix it actually, anyone familar with this error ? im stumped

 

 

 

 

Top