himalaya: add support for account.folders
Add support for `account.folders.(inbox|sent|draft)` in the himalaya account configuration. PR #2747
This commit is contained in:
parent
8bdfa41b4e
commit
472e67d1bb
3 changed files with 14 additions and 0 deletions
|
@ -14,6 +14,11 @@ let
|
||||||
name = account.realName;
|
name = account.realName;
|
||||||
default = account.primary;
|
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
|
||||||
|
|
||||||
# FIXME: does not support disabling TLS altogether
|
# FIXME: does not support disabling TLS altogether
|
||||||
# NOTE: does not accept sequence of strings for password commands
|
# NOTE: does not accept sequence of strings for password commands
|
||||||
imap-login = account.userName;
|
imap-login = account.userName;
|
||||||
|
|
|
@ -4,13 +4,16 @@ name = ""
|
||||||
["hm@example.com"]
|
["hm@example.com"]
|
||||||
default = true
|
default = true
|
||||||
default-page-size = 50
|
default-page-size = 50
|
||||||
|
draft-folder = "Drafts"
|
||||||
email = "hm@example.com"
|
email = "hm@example.com"
|
||||||
imap-host = "imap.example.com"
|
imap-host = "imap.example.com"
|
||||||
imap-login = "home.manager"
|
imap-login = "home.manager"
|
||||||
imap-passwd-cmd = "'password-command'"
|
imap-passwd-cmd = "'password-command'"
|
||||||
imap-port = 995
|
imap-port = 995
|
||||||
imap-starttls = false
|
imap-starttls = false
|
||||||
|
inbox-folder = "In"
|
||||||
name = "H. M. Test"
|
name = "H. M. Test"
|
||||||
|
sent-folder = "Out"
|
||||||
smtp-host = "smtp.example.com"
|
smtp-host = "smtp.example.com"
|
||||||
smtp-login = "home.manager"
|
smtp-login = "home.manager"
|
||||||
smtp-passwd-cmd = "'password-command'"
|
smtp-passwd-cmd = "'password-command'"
|
||||||
|
|
|
@ -13,6 +13,12 @@ with lib;
|
||||||
settings = { default-page-size = 50; };
|
settings = { default-page-size = 50; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
folders = {
|
||||||
|
inbox = "In";
|
||||||
|
sent = "Out";
|
||||||
|
drafts = "Drafts";
|
||||||
|
};
|
||||||
|
|
||||||
imap.port = 995;
|
imap.port = 995;
|
||||||
smtp.port = 465;
|
smtp.port = 465;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue