imaptar

command module
v0.0.0-...-068a6a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

imaptar

Imaptar is a utility to dump an entire IMAP mailbox, INBOX and all folders, in maildir format to a tar file.

Usage:

Usage: imaptar <flags>

Flags:
    -s, --server <name>   IMAPS server name
    -u, --user <name>     username
    -t, --tar <file>      tar output filename

Optional flags:
    -p, --port <port>     IMAPS server port (default 993)
    -P, --pass <pass>     password
    -E, --envpass VAR     get password from environment var $VAR
    -z, --gzip            compress the output

If you do not supply the -P or -E option, you will be prompted for the password.

Example

export IMAPPASS="TrustNo1"
imaptar -s imap.xs4all.nl -u mikevs -E IMAPPASS -z -t maildir.tar.gz

BUGS

Only works on IMAP servers where "/" is the folder seperator.

Building

You need to have the 'gó' compiler installed, ofcourse. Then:

$ go get
$ go build

Building a debian package

If you are running debian or ubuntu and you would like to have a .deb format package, run:

$ dpkg-buildpackage -rfakeroot -us -uc

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址