Production config for madmail
This commit is contained in:
parent
1451e90976
commit
270c102d27
2 changed files with 3 additions and 3 deletions
|
|
@ -357,7 +357,7 @@ def deltachat_credentials():
|
|||
username = gen_username()
|
||||
password = gen_password()
|
||||
hostname = f"{get_setting('butterbox_hostname')}.local"
|
||||
dclink = f"dclogin:{username}@{hostname}/?p={password}&v=1&ih={ip}&ip=143&sh={ip}&sp=25&is=plain&ss=plain&sc=3"
|
||||
dclink = f"dclogin:{username}@{hostname}/?p={password}&v=1&ih={ip}&ip=993&sh={ip}&sp=465&ic=3&ss=default"
|
||||
img = qrcode.make(dclink)
|
||||
file_object = io.BytesIO()
|
||||
img.save(file_object, 'PNG')
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ def run_madmail_installer():
|
|||
child.expect("TLS mode")
|
||||
child.sendline("self_signed")
|
||||
child.expect("Disable TLS verification for clients")
|
||||
child.sendline("y")
|
||||
child.sendline("n")
|
||||
child.expect("SMTP port")
|
||||
child.sendline("25")
|
||||
child.expect("Submission port")
|
||||
|
|
@ -39,7 +39,7 @@ def run_madmail_installer():
|
|||
child.expect("IMAP TLS port")
|
||||
child.sendline("993")
|
||||
child.expect("Allow insecure")
|
||||
child.sendline("y")
|
||||
child.sendline("n")
|
||||
child.expect("Enable chatmail endpoint for user registration")
|
||||
child.sendline("y")
|
||||
child.expect("Chatmail HTTP port")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue