title: sendmail sh: /usr/sbin/sendmail: Permission denied
body: <p>I cannt send mail from php script although I can send it from command line with sendmail and </p>
  
  <p>php sendMyMail.php</p>
  
  <p>I have already tried these</p>
  
  <ol>
  <li><p>httpd is running as apache user and I added apache user to smmsp group</p></li>
  <li><p>httpd_can_sendmail --> on</p></li>
  <li><pre><code>SELinux status:                 enabled
  SELinuxfs mount:                /selinux
  Current mode:                   permissive
  Mode from config file:          enforcing
  Policy version:                 24
  Policy from config file:        targeted
  </code></pre></li>
  </ol>
  
  <p>But in httpd error_log still showing this error </p>
  
  <blockquote>
    <p>sh: /usr/sbin/sendmail: Permission denied</p>
  </blockquote>
  
  <p>Can anyone have any idea?  I do really appreciate all your suggestions and really exhausted with this one.</p>