• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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