Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Program to back up IM logs to IMAP.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 README.markdown
Octocat-spinner-32 config.example
README.markdown

Presently works with libpurple logs (Pidgin, Finch, possibly Adium, I don't know, I don't have a Mac). Uploads the logs one by one to your imap server specified by the file ~/.imbackup/config (look at config.example). imbackup is intended to run from cron.

So far this has only been tested on Ubuntu/Linux Mint, and against the dovecot IMAP server (www.dovecot.org/).

Requirements:

Ubuntu Setup:

sudo apt-get install python-beautifulsoup python-dateutil

Setup:

Create ~/.imbackup/config with the following contents:

login: [imap username]
password: [imap password]
server: [address of imap host]
port: [imap server's port] [optional, default 143, 993 if ssl = true]
ssl: [true or false] [optional, default false]
folder: [name of the folder on the server to store messages] [optional, default imbackup]

Run imbackup:

cd imbackup/bin
./imbackup.py

TODO

  • test on other IMAP servers
  • test on adium's logs
Something went wrong with that request. Please try again.