• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

php mail() problem still .....

D

dave_s_wang

Guest
Still having a php mail issue. The error in the error log is :

sh: /usr/sbin/sendmail: Permission denied

I've tried this with the folling sendmail_path's in php.ini (rebooting every time i changed it)

sendmail_path = /usr/sbin/sendmail -t -i
sendmail_path = /var/qmail/bin/qmail-inject
sendmail_path = /var/qmail/bin/sendmail -t -i

the permissions are:
lrwxrwxrwx 1 root root 23 Oct 11 19:21 /usr/sbin/sendmail -> /var/qmail/bin/sendmail

-r-xr-xr-x 1 root qmail 41976 Aug 24 02:21 /var/qmail/bin/qmail-inject

-r-xr-xr-x 1 root qmail 9756 Aug 24 02:21 /var/qmail/bin/sendmail

Thanks again in advance. This problem has been plaguing me for awhile, any help would be appreciated.
 
so i finally coughed up the $75 to fix this problem since no one has come up with a solution in the forums. since i've received a lot of help here i decided to contribute what the tech support suggested which fixed the problem:

/usr/sbin/setenforce 0

this only solves the problem temporarily until you reboot the server. you need to comment out or adjust the /etc/selinux/config :

SELINUX=enforcing

tech support said to comment it out, but Im not exactl sure what selinux is, so I just used the command line entry to unset it before i made the config change.

hope this helps someone.
-d
 
Back
Top