nethubonline
Regular Pleskian
Username:
TITLE
command service_plan / subscription set -mail "false" is not "Not configured"
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian v18.0.71 build1800250717.15
AlmaLinux release 9.5
PROBLEM DESCRIPTION
We have encountered an inconsistency when configuring the mail service using the plesk bin service_plan and plesk bin subscription commands.
The "-mail false" option results in a "Not configured" status for the Service Plan, while the subscription inherits "Disabled for incoming mail". This is inconsistent with the behavior when using "-mail disabled", where both Service Plan and Subscription show "Disabled for incoming mail".
STEPS TO REPRODUCE
Result: Service Plan "plan2" shows "Not configured" in Mail service
Result: Subscription "test1.com" shows "Disabled for incoming mail" in Mail Settings
Result: Subscription "test1.com" shows "Disabled for incoming mail" in Mail Settings
Result: Service Plan "plan2" shows "Disabled for incoming mail" in Mail service
Result: Subscription "test2.com" shows "Disabled for incoming mail" in Mail Settings
Result: Subscription "test2.com" shows "Disabled for incoming mail" in Mail Settings
ACTUAL RESULT
The subscription inherits "Disabled for incoming mail" while service plan is "Not configured"
"plesk bin subscription -u test1.com -mail_service false" results in "Disabled for incoming mail" too
EXPECTED RESULT
The subscription inherits "Not configured" while service plan is "Not configured"
"plesk bin subscription -u test1.com -mail_service false" results in "Not configured"
ANY ADDITIONAL INFORMATION
There is no problem in GUI
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
command service_plan / subscription set -mail "false" is not "Not configured"
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian v18.0.71 build1800250717.15
AlmaLinux release 9.5
PROBLEM DESCRIPTION
We have encountered an inconsistency when configuring the mail service using the plesk bin service_plan and plesk bin subscription commands.
The "-mail false" option results in a "Not configured" status for the Service Plan, while the subscription inherits "Disabled for incoming mail". This is inconsistent with the behavior when using "-mail disabled", where both Service Plan and Subscription show "Disabled for incoming mail".
STEPS TO REPRODUCE
Bash:
plesk bin service_plan -c "plan1" -mail false
Bash:
plesk bin subscription -c test1.com -service-plan "plan1" -ip 1.2.3.4 -login test1 -passwd "Password"
Bash:
plesk bin subscription -u test1.com -mail_service false
Bash:
plesk bin service_plan -c "plan2" -mail disabled
Bash:
plesk bin subscription -c test2.com -service-plan "plan2" -ip 1.2.3.4 -login test2 -passwd "Password"
Bash:
plesk bin subscription -u test2.com -mail_service disabled
ACTUAL RESULT
The subscription inherits "Disabled for incoming mail" while service plan is "Not configured"
"plesk bin subscription -u test1.com -mail_service false" results in "Disabled for incoming mail" too
EXPECTED RESULT
The subscription inherits "Not configured" while service plan is "Not configured"
"plesk bin subscription -u test1.com -mail_service false" results in "Not configured"
ANY ADDITIONAL INFORMATION
There is no problem in GUI
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug