1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk 8.0.1 command line interface

Discussion in 'Plesk for Linux - 8.x and Older' started by davide.damico, Dec 6, 2006.

  1. davide.damico

    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,
  2. davide.damico

    davide.damico Guest

    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
    spamassassin.sh -u <name@domain> -server-conf true -status true