How to create several mailboxes on a Plesk server at once using a single command or a script?

Follow

Comments

2 comments

  • Avatar
    Roger Rehnelt

    The file download ist not found (404).

    content:

    #!/bin/bash
    #
    file=$1
    while IFS= read -r line
    do
    email=`echo$line| awk '{print $1}'`
    pswd=`echo$line| awk '{print $2}'`
    plesk bin mail -c $email -passwd $pswd -mailbox true
    done <"$file"
    0
    Comment actions Permalink
  • Avatar
    Permanently deleted user

    Hello Roger,

    The link has been updated. Thank you for bringing this to our attention!

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request