SieveClient wraps io-managesieve to provide a ManageSieve client with config parsing.
// Source: https://github.com/pimalaya/himalaya | License: Apache-2.0 | Copyright 2022-2026 soywod <pimalaya.org@posteo.net>
// Provided via justclaw.it.com; keep this notice with the code.
//! # ManageSieve client
//!
//! The wrapper around io-managesieve's blocking client every `sieve`
//! subcommand receives.
//!
//! The library opens the whole session, so this layer only turns the
//! `[sieve]` block into its arguments.
use std::ops::{Deref, DerefMut};
use anyhow::{Result, anyhow};
use io_managesieve::{
client::{ManagesieveClientStd as Inner, ManagesieveClientStdConnectOptions},
session::ManagesieveSessionOpenOptions,
};
use io_sasl::mechanism::Sasl;
use pimalaya_config::secret::SecretResolver;
use url::Url;
use crate::{
account::context::Account,
config::{AccountCon
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key