• 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.

Plesk 8.0.1 command line interface

D

davide.damico

Guest
I can't find a (useful) description about mail.sh command to create email address for domains.
Browsing old documentation, I found this link: ftp://download1.sw-soft.com/Plesk/Plesk7.5/Doc/plesk-7.5r-sdk-html/docs/cu/unix/ch14.html
but I am unable to create an email address with antispam filter activated.
For example, I used:
# ./mail -c [email protected] -mailbox true -passwd plesk8
SUCCESS: Creation of mailname '[email protected]' complete
# ./spamassassin -u [email protected] -server-conf true
Unable update spam assassin setting for mail name "[email protected]": spamassassin disabled on mailname

What's wrong?

I have to use command line interface because I'm migrating from a sendmail to a plesk environment so I have to use a {ba, tc}sh script to complete quickly this task.

Thanks in advance,
dave
 
ok, I tried to launch mail.sh with --help and I found a lot of parameters :)
To create an account with drweb and spamassassin I had to use:
mail.sh -c <name@domain> -mailbox true -passwd <pass> -drweb inout
and
spamassassin.sh -u <name@domain> -server-conf true -status true

Enjoy,
dave
 
Back
Top