Enlightenment.org
-
-

EFL User Guide

-

This is the user guide for non-E17 EFL programs.

3.3 - Embrace

Embrace is a mail checking application based on the Enlightenment Foundation Libraries with plug-in supprt for maildir, mbox, pop3, imap, and sylpheed type mailboxes. There are two versions of Embrace. There's a standalone version and a module version for E17. If you have E17 installed when you build embrace, it will also compile the module in addition to the standalone version. The Embrace project owner is Tilman Sauerbeck (tilman).

Embrace Configuration Information:

Embrace will install it's configuration file into $(prefix)/share/embrace (/usr/local/share/embrace by default).
Here is an example create_embrace_cfg.sh:
#!/bin/sh

NAME=embrace
CONFIGPATH=~/.e/apps/embrace
DB=$CONFIGPATH/$NAME.db

# generic mandatory attributes:
# * title
# * type => plugin to use
#
# generic optional attributes:
# * interval => poll interval in seconds (default is 60, but plugins
# might override this)
#
# each plugin may read additional attributes:
#
# pop3 and imap: str host, int port, str user, str pass, int ssl (boolean)
# mbox, maildir, imap and sylpheed: str path
# sylpheed: str mailbox, str folder

mkdir -p $CONFIGPATH

edb_ed $DB add /$NAME/theme str "default"
edb_ed $DB add /$NAME/num_mailboxes int 4

edb_ed $DB add /$NAME/mailbox1/title str "inbox"
edb_ed $DB add /$NAME/mailbox1/path str "~/Mail/inbox"
edb_ed $DB add /$NAME/mailbox1/type str "maildir"

edb_ed $DB add /$NAME/mailbox2/title str "e-cvs"
edb_ed $DB add /$NAME/mailbox2/path str "~/Mail/enlightenment-cvs"
edb_ed $DB add /$NAME/mailbox2/type str "mbox"

edb_ed $DB add /$NAME/mailbox3/title str "my pop3 box"
edb_ed $DB add /$NAME/mailbox3/host str "foo.bar.com"
edb_ed $DB add /$NAME/mailbox3/port int 123
edb_ed $DB add /$NAME/mailbox3/type str "pop3"
edb_ed $DB add /$NAME/mailbox3/user str "myuser"
edb_ed $DB add /$NAME/mailbox3/pass str "mypass"
edb_ed $DB add /$NAME/mailbox3/ssl int 1

edb_ed $DB add /$NAME/mailbox4/title str "my imap mailbox"
edb_ed $DB add /$NAME/mailbox4/host str "foo.bar.com"
edb_ed $DB add /$NAME/mailbox4/port int 143
edb_ed $DB add /$NAME/mailbox4/type str "imap"
edb_ed $DB add /$NAME/mailbox4/user str "myuser"
edb_ed $DB add /$NAME/mailbox4/pass str "mypass"
edb_ed $DB add /$NAME/mailbox4/path str "path.to.mailbox"
edb_ed $DB add /$NAME/mailbox4/ssl int 1

PreviousUpNext

-