• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Forwarded to devs command service_plan / subscription set -mail "false" is not "Not configured"

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

Bash:
plesk bin service_plan -c "plan1" -mail false
Result: Service Plan "plan2" shows "Not configured" in Mail service

Bash:
plesk bin subscription -c test1.com -service-plan "plan1" -ip 1.2.3.4 -login test1 -passwd "Password"
Result: Subscription "test1.com" shows "Disabled for incoming mail" in Mail Settings

Bash:
plesk bin subscription -u test1.com -mail_service false
Result: Subscription "test1.com" shows "Disabled for incoming mail" in Mail Settings


Bash:
plesk bin service_plan -c "plan2" -mail disabled
Result: Service Plan "plan2" shows "Disabled for incoming mail" in Mail service

Bash:
plesk bin subscription -c test2.com -service-plan "plan2" -ip 1.2.3.4 -login test2 -passwd "Password"
Result: Subscription "test2.com" shows "Disabled for incoming mail" in Mail Settings

Bash:
plesk bin subscription -u test2.com -mail_service disabled
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
 
Thank you for the report, @nethubonline . I was able to replicate the inconsistent behavior with the mail service setting and forwarded the case to our team for further review. I will follow up with more details as soon as possible.
 
Back
Top