Git Product home page Git Product logo

imaptar's Introduction

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

imaptar's People

Contributors

miquels avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.