Loading app/main.py +1 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ class MyHandler(BaseHTTPRequestHandler): command = f'/postfixadmin/scripts/postfixadmin-cli mailbox add "{target_email}" ' + \ f'--password "{password}" --password2 {password_confirm} --name "{displayname}" ' + \ f'--quota {email_quota} --active 1 --welcome-mail 0' print(f'command=command') print(f'command={command}') stdin, stdout, stderr = ssh.exec_command(command) print(stdout.read()) print(stderr.read()) Loading Loading
app/main.py +1 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ class MyHandler(BaseHTTPRequestHandler): command = f'/postfixadmin/scripts/postfixadmin-cli mailbox add "{target_email}" ' + \ f'--password "{password}" --password2 {password_confirm} --name "{displayname}" ' + \ f'--quota {email_quota} --active 1 --welcome-mail 0' print(f'command=command') print(f'command={command}') stdin, stdout, stderr = ssh.exec_command(command) print(stdout.read()) print(stderr.read()) Loading