From 5ede53476b5e89563a18238a7608e85e906575d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Tue, 26 Dec 2023 16:45:32 +0100 Subject: [PATCH] change watch imap envelope idle algorithm --- Cargo.lock | 3 +-- Cargo.toml | 3 ++- config.sample.toml | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6d65c9d..ba655e9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index c661a6b..d779918 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/config.sample.toml b/config.sample.toml index 78fa0a4..633f7d0 100644 --- a/config.sample.toml +++ b/config.sample.toml @@ -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"