update install script for madmail v0.47.0 prompts
This commit is contained in:
parent
e85c3b1dc2
commit
aed9fe1d33
1 changed files with 5 additions and 5 deletions
|
|
@ -27,8 +27,8 @@ def run_madmail_installer():
|
||||||
child.sendline("")
|
child.sendline("")
|
||||||
child.expect("TLS mode")
|
child.expect("TLS mode")
|
||||||
child.sendline("self_signed")
|
child.sendline("self_signed")
|
||||||
child.expect("Disable TLS verification for clients")
|
##child.expect("Disable TLS verification for clients")
|
||||||
child.sendline("n")
|
##child.sendline("n")
|
||||||
child.expect("SMTP port")
|
child.expect("SMTP port")
|
||||||
child.sendline("25")
|
child.sendline("25")
|
||||||
child.expect("Submission port")
|
child.expect("Submission port")
|
||||||
|
|
@ -55,8 +55,8 @@ def run_madmail_installer():
|
||||||
child.sendline("n")
|
child.sendline("n")
|
||||||
child.expect("Enable TURN server")
|
child.expect("Enable TURN server")
|
||||||
child.sendline("n")
|
child.sendline("n")
|
||||||
child.expect("Require PGP encryption for outgoing messages")
|
child.expect("Allow cleartext SMTP submission")
|
||||||
child.sendline("y")
|
child.sendline("n")
|
||||||
child.expect("Allow secure join requests without encryption")
|
child.expect("Allow secure join requests without encryption")
|
||||||
child.sendline("y")
|
child.sendline("y")
|
||||||
child.expect("Passthrough senders")
|
child.expect("Passthrough senders")
|
||||||
|
|
@ -73,4 +73,4 @@ def run_madmail_installer():
|
||||||
|
|
||||||
daemon_reload = run(["sudo", "systemctl", "daemon-reload"], capture_output=True, text=True)
|
daemon_reload = run(["sudo", "systemctl", "daemon-reload"], capture_output=True, text=True)
|
||||||
if daemon_reload.returncode != 0:
|
if daemon_reload.returncode != 0:
|
||||||
print(f"Issue running systemctl daemon_reload")
|
print(f"Issue running systemctl daemon_reload")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue