• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs Changes with mailmng-outgoing are not displaying in Plesk UI

daanse

Regular Pleskian
Username:

TITLE

Changes with mailmng-outgoing are not displaying in Plesk UI

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian Version 18.0.47 Update #5

PROBLEM DESCRIPTION

If the command plesk sbin mailmng-outgoing --set-mailname-limits --domain-name=example.com --mailname=test --out-limit=250 was executed, then inside of the Plesk>Tools&Settings>Outgoing Mail Control>Domains> example.com the 250 value was not displayed.

STEPS TO REPRODUCE

Run:
# plesk sbin mailmng-outgoing --set-mailname-limits --domain-name=example.com --mailname=test --out-limit=250

Verify:
# plesk sbin mailmng-outgoing --pretty-print --fetch-statistics --with-limits
(here you see limit was applied)

Go to Plesk:
Plesk>Tools&Settings>Outgoing Mail Control>Domains> example.com and see, that the Limit is not displayed

ACTUAL RESULT

Not displaying in UI. Confusing.

EXPECTED RESULT

Plesk>Tools&Settings>Outgoing Mail Control>Domains> example.com
Limit which set over SSH should displayed also here.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
As the help message for the plesk CLI tool states:

sbin - Run the specified Plesk internal utility

So the sbin is for internal use. It only changes the underlying configs but does not update values in the database, which are then shown in UI.

You should use plesk bin mail command like this:

# plesk bin mail -u [email protected] -outgoing-messages-mbox-limit 250
 
# plesk bin mail -u [email protected] -outgoing-messages-mbox-limit 250
Hi, do you have full explanation of that in docs? I looked docs, talked long to support (Ticket 351425), feature request got opened you commented and lead me to forum now I writing (little bit late) and now is it possible without feature and bug? That's great, but was a bit time-consuming.

Nevermind, i am using following Commands:


Code:
plesk sbin mailmng-outgoing --set-subscription-limits --main-domain-name="$domain" --out-limit="$second_limit"

plesk sbin mailmng-outgoing --set-domain-limits --domain-name="$domain" --out-limit="$second_limit"

plesk sbin mailmng-outgoing --set-mailname-limits --domain-name="$domain" --mailname="$mailbox_name" --out-limit="$second_limit"

Ignore the variables, they get filled correctly but how would that suggested command from you will look like for subscription and domain limits?
Thank you in advance.
 
uff, isn't there an oneliner as your example before?
If i change Service Plan, it will affect to much customers.
I want to limit a current Domain / User which is spamming right away, not over service plan
 
uff, isn't there an oneliner as your example before?
If i change Service Plan, it will affect to much customers.
I want to limit a current Domain / User which is spamming right away, not over service plan
You could clone the existing service plan and only change the subscription of the affected customer(s) to that new plan.
 
Back
Top