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 event handler

Discussion in 'Plesk for Linux - 8.x and Older' started by unlo, Nov 23, 2007.

  1. unlo

    unlo New Pleskian

    22
    73%
    Joined:
    Jun 28, 2007
    Messages:
    24
    Likes Received:
    0
    Hello,

    How can i use script for saving mail account creation/refresh information: NEW_MAILNAME and NEW_PASSWORD.

    All working properly for NEW_MAILNAME:
    #!/usr/local/bin/bash
    echo ${NEW_MAILNAME} >> /home/user/test.log
    echo $(NEW_PASSWORD) >>/home/user/test.log

    cat /home/user/test.log
    mail@newmail.ru

    But not for password :( Password is empty..
    In event handler`s table i saw, what NEW_MAILNAME set to Required in last cell, but not for NEW_PASSWORD.

    So, can i use NEW_PASSWORD??
     
Loading...