Code Monkey home page Code Monkey logo

imapdump's Introduction

imapdump

workflow badge Go Reference

A tool for dumping emails to local in batch.

中文使用说明

Usage

Command

./imapdump -conf config.yaml

Configuration

dir: dump
accounts:
  # name, name of the subdirectory
  - name: [email protected]
    # host, host and port for IMAP server, must be TLS
    host: imap.mydomain.com:993
    # username, username of login
    username: [email protected]
    # password, password of login
    password: xxxxxxxxxxxxxxxxxxx
    # prefixes, mailbox name prefixes, if you are not sure of maibox names, you can check the log
    prefixes:
      - Archive # this will match 'Archive', 'Archives', 'Archived' and 'Archives/2022' etc
      - 存档

Container Image

Check GitHub Packages for available container images

Check Dockerfile for details

By default, container image will execute imapdump every 6 hours

All you need to do is to mount /data for data persistence, and put a config.yaml at /data/config.yaml

Notification

Execution result will be delivered to environment variable $NOTIFY_URL, if given, by HTTP POST.

{"text": "MESSAGE..."}

Upstream

https://git.guoyk.net/go-guoyk/imapdump

Due to various reasons, codebase is detached from upstream.

Donation

View https://guoyk.xyz/donation

Credits

Guo Y.K., MIT License

imapdump's People

Contributors

guoyk93 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.