Repository navigation
v0.3.5
Added
- Server-side filter rules (Sieve over ManageSieve):
sieve_status,sieve_list_scripts,sieve_get_script,sieve_check_script,sieve_put_script,sieve_activate_script,sieve_delete_script. Previews and diffs by default (apply: trueto save), the server's CHECKSCRIPT when offered, automatic backups before replace or delete, refusal to delete the active script,disableAll: trueneeded to turn every script off. STARTTLS or implicit TLS with full certificate checks; SASL PLAIN or OAuth. Client adapted from Mailoo by Bitfloo. - Local rules for providers without Sieve:
list_local_rules,add_local_rule,remove_local_rule. Match on from, to, subject or header; move, label, flag, mark read, or forward. They run in the watcher while IMAP Wizard runs and are stored inlocal-rules.json. - Config:
[sieve] allowed_redirectsand per-account[accounts.sieve](enabled,host,port,tls,starttls), withMCP_EMAIL_SIEVE_*env vars.
Security
- Forwarding by any rule (Sieve
redirect, including:copy; local forward) is allowed only to addresses or domains inallowed_redirects, which a person edits inconfig.toml. No tool writesconfig.toml(enforced by a test) and no argument bypasses the check.notify,report,pipe,executeand targets the scanner cannot read for sure are blocked the same way. Included scripts are fetched and scanned too. - Local forwards never send mail from the account itself or from the forward target, to prevent loops.
Install: npx -y imap-wizard, or docker pull ghcr.io/fe2-o3/imap-wizard:v0.3.5