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 CLI - mail creation - easy fix?

Discussion in 'Plesk for Linux - 8.x and Older' started by pelfed, Oct 26, 2005.

  1. pelfed

    pelfed Guest

    0
     
    I'm trying to create a mail user with a redirect using the following:

    ./mail.sh -c user@domainname.org -cp_access true -redirect true -rediraddr aaa@bbbbbb.co.uk

    but i get the following error:


    mailmng: Command line argument number 4 contains unprintable characters
    An error occured during mailname creation: Can't set redirect to "aaa@bbbbbb/": mailmng failed: mailmng: Command line argument number 4 contains unprintable characters


    I'm sure its an easy fix, but not sure what it may be?
     
  2. ShadowMan@

    ShadowMan@ Guest

    0
     
    Try putting double quotes around the values:


    ./mail.sh -c "user@domainname.org" -cp_access "true" -redirect "true" -rediraddr "aaa@bbbbbb.co.uk"

    I believe the docs and examples show this (maybe not for the mail.sh, but look at some of the other CLI examples, such as client or domain management)
     
Loading...