• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

plesk 12 upgrade has caused mail() to stop working

mmoorree4444

New Pleskian
my server just updated to Plesk 12.0.18. After doing so I cannot get the php mail() function to work, this is server wide. php.ini is set to sendmail_path = /var/qmail/bin/sendmail -t -i. When I run the following command, the test will come thru.

echo "Subject: test" | /var/qmail/bin/sendmail -t -i -v [email protected]

Nothing will show in the php error log
Nothing is showing in the maillot
I have disabled selinux and rebooted I have run /usr/local/psa/admin/sbin/mchk --with-spam and /etc/init.d/qmail restart
Scheduled Task notifications are not coming thru.

Any help is greatly appreciated

Thanks Mike
 
That did not work either. Do you know what permissions are suppose to be on the /var/qmail/bin/sendmail file. Right now they are owner: root/group: qmail permissions of 775.
 
I had the same problem and in my case the file qmail-inject had the wrong permissions. i did a chmod 755 qmail-inject
then it worked.
 
Back
Top