update install script for madmail v0.47.0 prompts

This commit is contained in:
n8fr8 2026-05-07 13:40:39 -04:00
parent e85c3b1dc2
commit aed9fe1d33

View file

@ -27,8 +27,8 @@ def run_madmail_installer():
child.sendline("")
child.expect("TLS mode")
child.sendline("self_signed")
child.expect("Disable TLS verification for clients")
child.sendline("n")
##child.expect("Disable TLS verification for clients")
##child.sendline("n")
child.expect("SMTP port")
child.sendline("25")
child.expect("Submission port")
@ -55,8 +55,8 @@ def run_madmail_installer():
child.sendline("n")
child.expect("Enable TURN server")
child.sendline("n")
child.expect("Require PGP encryption for outgoing messages")
child.sendline("y")
child.expect("Allow cleartext SMTP submission")
child.sendline("n")
child.expect("Allow secure join requests without encryption")
child.sendline("y")
child.expect("Passthrough senders")
@ -73,4 +73,4 @@ def run_madmail_installer():
daemon_reload = run(["sudo", "systemctl", "daemon-reload"], capture_output=True, text=True)
if daemon_reload.returncode != 0:
print(f"Issue running systemctl daemon_reload")
print(f"Issue running systemctl daemon_reload")