Loading app/main.py +4 −5 Original line number Diff line number Diff line Loading @@ -53,11 +53,10 @@ class MyHandler(BaseHTTPRequestHandler): self.respond(403, data) return command = f'/postfixadmin/scripts/postfixadmin-cli mailbox add "{target_email}" ' + \ stdin, stdout, stderr = ssh.exec_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}') stdin, stdout, stderr = ssh.exec_command(command) f'--quota {email_quota} --active 1 --welcome-mail 0') print(stdout.read()) print(stderr.read()) Loading Loading
app/main.py +4 −5 Original line number Diff line number Diff line Loading @@ -53,11 +53,10 @@ class MyHandler(BaseHTTPRequestHandler): self.respond(403, data) return command = f'/postfixadmin/scripts/postfixadmin-cli mailbox add "{target_email}" ' + \ stdin, stdout, stderr = ssh.exec_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}') stdin, stdout, stderr = ssh.exec_command(command) f'--quota {email_quota} --active 1 --welcome-mail 0') print(stdout.read()) print(stderr.read()) Loading