- Server operating system version
- CentOS Linux 7
- Plesk version and microupdate number
- 18.0.51.1
In certain situations we disable the option to allow websites to send e-mails, by disallowing use of sendmail.
We use a script to automate this. The primary command of the script is:
This disables the ability to send e-mail through the website, while the mail accounts keep working.
With Plesk Obsidian 18.0.36.0 I can view the status through:
example output:
Output shows 'allow_sendmail":false' for disabled, true for enabled.
When using Plesk Obsidian 18.0.51.1:
The allow_sendmail part is missing.
I am unable to find an alternative route of finding the status. I've looked at different options with mailmng-outgoing and plesk bin subscription information.
Does anyone here know where to find the status of 'allow_sendmail' for an individual subscription?
We use a script to automate this. The primary command of the script is:
Code:
/usr/sbin/plesk bin subscription_settings -u domain.tld -outgoing_messages_enable_sendmail false
With Plesk Obsidian 18.0.36.0 I can view the status through:
Code:
plesk sbin mailmng-outgoing --fetch-statistics --with-limits | sed -e 's|"name"|\n"name"|g' | grep domain.tld
Code:
plesk sbin mailmng-outgoing --fetch-statistics --with-limits | sed -e 's|"name"|\n"name"|g' | grep domain.tld
"name":"domain.tld","is_main":true}],"out_limit":100,"allow_sendmail":false,"stats":[]},{"domains":[{"mails":[],"out_limit":50,"stats":[],
When using Plesk Obsidian 18.0.51.1:
Code:
plesk sbin mailmng-outgoing --fetch-statistics --with-limits | sed -e 's|"name"|\n"name"|g' | grep domain.tld
"name":"domain.tld","is_main":true,"out_limit":500,"stats":[],"mails":[{
I am unable to find an alternative route of finding the status. I've looked at different options with mailmng-outgoing and plesk bin subscription information.
Does anyone here know where to find the status of 'allow_sendmail' for an individual subscription?