Tinymail

From OLPC
Jump to navigation Jump to search

Information about tinymail

Documentation about building

Information about camel-lite-builder

Building a tinymail suitable for OLPC

svn co https://svn.tinymail.org/svn/camel-lite-builder
svn co https://svn.tinymail.org/svn/tinymail
cd camel-lite-builder/trunk
./getcamel.sh
./autogen.sh --prefix=/opt/camel
make && make install
cd ../../tinymail/trunk
PKG_CONFIG_PATH=/opt/camel/lib/pkgconfig ./autogen.sh --prefix=/opt/tinymail-olpc --with-platform=olpc --enable-python-bindings
make && make install

note: You can also use jhbuild. It's in the build files of sugar

Creating an account

This is for the TnyAccountStoreIface implementation of the libtinymail-olpc platform implementation (Jul 31 2006). You can find it here

mkdir -p $HOME/.tinymail/accounts/
vi $HOME/.tinymail/accounts/01
[tinymail]
type=store
proto=imap
hostname=IMAPSERVER
user=USERNAME
name=OLPC test

Using the Python bindings

cd libtinymail-test
export PYTHONPATH=/opt/tinymail-olpc/lib/python2.4/site-packages/tinymail-1.0
python tinymail-python-test.py