TB Mailaccount: user user instead of WEBDAV user for imap user

This commit is contained in:
Daniel unbrot Pätzold
2026-05-02 17:05:08 +02:00
parent b91008368d
commit 99c2e464a5
@@ -164,14 +164,14 @@ if ('PROFILE_TB_DST' in environ and 'TLDOMAIN' in environ and
f'user_pref("mail.server.{sn}.timeout", 29);', f'user_pref("mail.server.{sn}.timeout", 29);',
f'user_pref("mail.server.{sn}.trash_folder_name", "Trash");', f'user_pref("mail.server.{sn}.trash_folder_name", "Trash");',
f'user_pref("mail.server.{sn}.type", "imap");', f'user_pref("mail.server.{sn}.type", "imap");',
f'user_pref("mail.server.{sn}.userName", "{environ["DAVTOKEN_USER"]}");', f'user_pref("mail.server.{sn}.userName", "{environ['USER']}");',
f'user_pref("mail.identity.{idn}.draft_folder", "imap://{environ["DAVTOKEN_USER"]}@{imap_host}/Drafts");', f'user_pref("mail.identity.{idn}.draft_folder", "imap://{environ['USER']}@{imap_host}/Drafts");',
f'user_pref("mail.identity.{idn}.drafts_folder_picker_mode", "0");', f'user_pref("mail.identity.{idn}.drafts_folder_picker_mode", "0");',
f'user_pref("mail.identity.{idn}.fcc_folder", "imap://{environ["DAVTOKEN_USER"]}@{imap_host}/Sent");', f'user_pref("mail.identity.{idn}.fcc_folder", "imap://{environ['USER']}@{imap_host}/Sent");',
f'user_pref("mail.identity.{idn}.fcc_folder_picker_mode", "0");', f'user_pref("mail.identity.{idn}.fcc_folder_picker_mode", "0");',
f'user_pref("mail.identity.{idn}.fullName", "{user_full_name}");', f'user_pref("mail.identity.{idn}.fullName", "{user_full_name}");',
f'user_pref("mail.identity.{idn}.reply_on_top", 1);', f'user_pref("mail.identity.{idn}.reply_on_top", 1);',
f'user_pref("mail.identity.{idn}.stationery_folder", "imap://{environ["DAVTOKEN_USER"]}@{imap_host}/Templates");', f'user_pref("mail.identity.{idn}.stationery_folder", "imap://{environ['USER']}@{imap_host}/Templates");',
f'user_pref("mail.identity.{idn}.tmpl_folder_picker_mode", "0");', f'user_pref("mail.identity.{idn}.tmpl_folder_picker_mode", "0");',
f'user_pref("mail.identity.{idn}.useremail", "{user_email}");', f'user_pref("mail.identity.{idn}.useremail", "{user_email}");',
f'user_pref("mail.identity.{idn}.valid", true);', f'user_pref("mail.identity.{idn}.valid", true);',