himalaya: fix account.folders to new config syntax

This commit is contained in:
NomisIV 2022-05-30 21:04:13 +02:00
parent 64831f938b
commit bda2c80b4c
2 changed files with 11 additions and 7 deletions

View File

@ -14,10 +14,12 @@ let
name = account.realName;
default = account.primary;
inbox-folder = account.folders.inbox;
sent-folder = account.folders.sent;
draft-folder = account.folders.drafts;
# NOTE: himalaya does not support configuring the name of the trash folder
mailboxes = {
inbox = account.folders.inbox;
sent = account.folders.sent;
draft = account.folders.drafts;
# NOTE: himalaya does not support configuring the name of the trash folder
};
# FIXME: does not support disabling TLS altogether
# NOTE: does not accept sequence of strings for password commands

View File

@ -4,18 +4,20 @@ name = ""
["hm@example.com"]
default = true
default-page-size = 50
draft-folder = "Drafts"
email = "hm@example.com"
imap-host = "imap.example.com"
imap-login = "home.manager"
imap-passwd-cmd = "'password-command'"
imap-port = 995
imap-starttls = false
inbox-folder = "In"
name = "H. M. Test"
sent-folder = "Out"
smtp-host = "smtp.example.com"
smtp-login = "home.manager"
smtp-passwd-cmd = "'password-command'"
smtp-port = 465
smtp-starttls = false
["hm@example.com".mailboxes]
draft = "Drafts"
inbox = "In"
sent = "Out"