• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved Enabling server wide smarthost via CLI does not show in UI

websavers

Regular Pleskian
Server operating system version
AlmaLinux 8.10
Plesk version and microupdate number
18.0.79 Update #2
STR:
  1. Run: plesk sbin mailmng-server --enable-smarthost --host test.mydomain.com --port 25
  2. You'll see that it's been added in /etc/postfix/main.cf and works
  3. However when you visit the Plesk UI for this under Tools & Settings > Mail > Smarthost, you'll see that it does not appear enabled there
  4. If you enable it via UI, nothing in the config changes, but the UI sees it enabled now
Expected outcome:

Enabling the smarthost via CLI would reflect that change in the GUI.

Reproduced with Plesk Obsidian 18.0.79 Update #2 on AlmaLinux 8.10. Also occurred on 18.0.78.
 
Hello,

It is expected: you should use `plesk bin mainserver` to configure server-wide smarhost in Plesk. Utilties in `plesk sbin` are usually helpers, and they don't do all work, for example `mailmng-server --enable-smarthost` conigures smarhost in postfix but don't register it in Plesk.
 
@mizar Thank you! The correct CLI command for this (when there is no auth) is then:
plesk bin mailserver --configure-smarthost -smarthost-host $HOST -smarthost-port $PORT -smarthost-user ''
plesk bin mailserver --enable-smarthost

I have run this and confirmed it works as anticipated. Thanks again!
 
Back
Top