• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question Explanation mailmng-server arguments

Tozz

Regular Pleskian
We wish to configure SPF checking in Plesk using the CLI. The --help parameter shows the following information:

Code:
# /opt/psa/admin/bin/mailmng-server --update-spf --help

update SPF rules

Usage: --update-spf [--spf-behavior=spf_behavior] [--spf-rules=spf_rules] [--spf-guess=spf_guess] [--spf-exp=<spf_exp>] [--spf-ignore-dns-error=<true|false>]

Allowed options to update SPF rules:

  --spf-behavior arg         SPF behavior
  --spf-rules arg            SPF rules
  --spf-guess arg            SPF guess
  --spf-exp arg              SPF exp
  --spf-ignore-dns-error arg SPF dns-lookup error policy
  -h [ --help ]              displays this help message

I can't find any explanation to what 'arg' should be? What are allowed values for eg. --spf-exp ? --spf-guess ? --spf-rules ? --spf-behavior ?

Can someone from Plesk please explain the CLI usage and fix the help documentation?
 
'arg' is the description of your SPF rule. For example, you can add the local SPF rules via command line using the following command:

# plesk sbin mailmng-server --update-spf --spf-rules="ip4:xxx.yyy.xxx.zzz ip4:zzz.yyy.zzzz.xxx ip4:176.74.18.119 include:example1.xxx.com.br ip6:xxxx:db8:f61:a1ff:0:0:0:80"
 
Back
Top