GitXplorerGitXplorer
t

archiveimap

public
1 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
96c21f349ee29c0d1a9fdc04c4cdb6d57bd95dc9

docstring edits

committed 14 years ago
Unverified
e4c4fa297656a2375a9c95d240ff19759864da3b

add a line to the readme about the commandline options

committed 14 years ago
Unverified
98f32e4921fe278a38fcc07ef3e8e27669301aff

add website

committed 14 years ago
Unverified
62eb652221de85a3f4375eaf48ef03fccbc8007d

updated .gitignore to include texmate project files

committed 14 years ago
Unverified
d8ba3cf446043da8459883cfd70db06526928ff2

threw in some encoding declarations

committed 14 years ago
Unverified
2261437353a17311073ae466096e06e6665ec456

Add a .gitignore file

committed 14 years ago

README

The README file for this repository.

ArchiveIMAP

ArchiveIMAP is a tool to keep an email account in version control. It's a pretty simple wrapper around OfflineIMAP and git. The commit message is what OfflineIMAP prints to stdout while running.

Usage

Make sure OfflineIMAP and git are both installed and that OfflineIMAP is properly configured. If you want to archive all accounts in OfflineIMAP, using config files in the default locations and the system git author, this is all that is needed. For other configurations, options can be set in a configuration file or at the command line. The command line takes precedence over the configuration file.

Configuration

The configuration file defaults to ~/.archiveimaprc and has a single section named Settings. The following options are available:

  • accounts: a comma seperated list of accounts to sync and put in git. Accounts must be defined in the offlineimap configuration file. Defaults to whatever accounts offlineimap is configured to sync.
  • offlineimap-config: the path to the offlineimap configuration file. Defaults to ~/.offlineimaprc
  • author: The author to use when making commits in git. Defaults to whatever git is configured to use by default.
  • quiet: True or False. Controls whether to output status to stdout as well as logging to git commit message. Defaults to False.

See archiveimap -h for the command line options.