Contents
In order to use OfflineIMAP, you need to have these conditions satisfied:
You have three options:
If you are tracking Debian unstable, you may install OfflineIMAP by simply running the following command as root:
apt-get install offlineimap
If you are not tracking Debian unstable, download the Debian .deb package from the OfflineIMAP website and then run dpkg -i to install the downloaded package. Then, skip to below. You will type offlineimap to invoke the program.
Check your distribution packaging tool, OfflineIMAP may already be packaged for you.
Get your own copy of the official git repository at OfflineIMAP:
git clone git://github.com/nicolas33/offlineimap.git
This will download all the sources with history. By default, git set up the local master branch up which is most likely what you want. If not, you can checkout a particular release:
cd offlineimap git checkout -b local_version v6.3.3
The latter creates a local branch called "local_version" of the v6.3.3 release.
Then run these commands, to build the python package:
make clean make
Finally, install the program (as root):
python setup.py install
Next, proceed to below. You will type offlineimap to invoke the program.
Download the git repository as described above. Instead of installing the program as root, you type ./offlineimap.py; there is no installation step necessary.
OfflineIMAP is regulated by a configuration file that is normally stored in ~/.offlineimaprc. OfflineIMAP ships with a file named offlineimap.conf that you should copy to that location and then edit. This file is vital to proper operation of the system; it sets everything you need to run OfflineIMAP. Full documentation for the configuration file is included within the sample file.
OfflineIMAP also ships a file named offlineimap.conf.minimal that you can also try. It's useful if you want to get started with the most basic feature set, and you can read about other features later with offlineimap.conf.