imbak

Crates.ioimbak
lib.rsimbak
version0.1.1
sourcesrc
created_at2023-07-08 23:23:32.746989
updated_at2023-07-08 23:28:05.067229
descriptionA command line tool for backing up IMAP mailboxes
homepagehttps://github.com/bcheidemann/imbak
repositoryhttps://github.com/bcheidemann/imbak
max_upload_size
id911714
size132,651
Ben Heidemann (bcheidemann)

documentation

README

IMBak

A command line tool for backing up IMAP mailboxes written in Rust

Usage

On running the command you will be prompted to input a username (email) and password. In non-interactive environments you can set the IMAP_USERNAME and IMAP_PASSWORD environment variables.

Example 1

Download all emails from the default mailbox (INBOX) to the current working directory using the default batch size (5).

imbak backup \
  --domain imap.example.com \
  --port 993 \
  --from 0 \
  --count 100

Example 2

All options.

imbak backup \
  --domain imap.example.com \
  --port 993 \
  --mailbox INBOX \
  --batch-size 5 \
  --output-directory . \
  --from 0 \
  --count 100
Commit count: 6

cargo fmt