• 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

Question Only allow scripted sendmail from specific domains?

Tantrumedia

New Pleskian
Hi...
To further bolster security, I'd like to turn off scripted sendmail on most of the domains I host on my server, aside from one or two.
Is this possible?

OS: CentOS Linux 7.8.2003 (Core)
Product: Plesk Obsidian
Version 18.0.35 Update #1
 
You cannot individually disable mail by scripts per domain or subscription.

For scripts in general:
However, you can create a clone of the service plan that your customer is using and in that clone you can change the "Mail"-tab setting "Sendmail usage policy" and choose "Custom settings for the plan", then uncheck the "Allow using Sendmail for scripts and users on this subscription" checkbox. Then change the customer's plan to this special "disallow sendmail for scripts" version.

For PHP mail():
 
Back
Top