• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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