• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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