change watch imap envelope idle algorithm

This commit is contained in:
Clément DOUIN 2023-12-26 16:45:32 +01:00
parent cdf0a9a846
commit 5ede53476b
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72
3 changed files with 5 additions and 3 deletions

3
Cargo.lock generated
View file

@ -1217,8 +1217,7 @@ dependencies = [
[[package]]
name = "email-lib"
version = "0.18.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf17353426518e810ebf0f3513cf1069e3c9b91f0b2746f89389966357753138"
source = "git+https://git.sr.ht/~soywod/pimalaya#66a23381462c7fef7b81523fd03247858910c64b"
dependencies = [
"advisory-lock",
"anyhow",

View file

@ -50,7 +50,8 @@ clap_mangen = "0.2"
console = "0.15.2"
dialoguer = "0.10.2"
dirs = "4.0"
email-lib = { version = "=0.18.5", default-features = false }
# email-lib = { version = "=0.18.5", default-features = false }
email-lib = { git = "https://git.sr.ht/~soywod/pimalaya", default-features = false }
email_address = "0.2.4"
env_logger = "0.8"
erased-serde = "0.3"

View file

@ -63,6 +63,7 @@ imap.port = 3143
imap.login = "example@localhost"
imap.ssl = false
imap.starttls = false
imap.insecure = true
imap.auth = "passwd" # or oauth2
# Get password from the raw string (not safe)
@ -81,6 +82,7 @@ smtp.port = 3025
smtp.login = "example@localhost"
smtp.ssl = false
smtp.starttls = false
smtp.insecure = true
smtp.auth = "passwd"
smtp.passwd.raw = "password"