Production config for madmail

This commit is contained in:
Ana Custura 2026-04-01 09:46:18 +01:00
parent 1451e90976
commit 270c102d27
2 changed files with 3 additions and 3 deletions

View file

@ -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')