• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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 foo@foobar.org -mailbox true -passwd plesk8
SUCCESS: Creation of mailname 'foo@foobar.org' complete
# ./spamassassin -u foo@foobar.org -server-conf true
Unable update spam assassin setting for mail name "foo@foobar.org": 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