Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 365645ac authored by Felix Ableitner's avatar Felix Ableitner
Browse files

code cleanup

parent ce6c62d7
Loading
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -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())