GitXplorerGitXplorer
t

archiveimap

public
1 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
828f8a29cf397a85d616b93d954a78e1dcf80a4f

add MANIFEST to .gitignore

committed 14 years ago
Unverified
682683dabcdb358bbe2bc54998fe1fc52d7393f7

fix imports

committed 14 years ago
Unverified
f08c2900e778cb48d82bf8ed2298225ee71aad3e

move package information into __init__.py

committed 14 years ago
Unverified
bca91c0345dabe47269249e9627e1ddde701bb4e

re-add readme

committed 14 years ago
Unverified
bc8965be8df336b0b20b1c956a871b88a7f03ed7

added MANIFEST.in

committed 14 years ago
Unverified
98bce7bafa3df11650d736a1fc7f8e7a3aea94ef

organized .gitignore

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.