| [Top] | [Contents] | [Index] | [ ? ] |
Peephole is a GNU/linux server that periodically checks users' mailboxes harvesting only last emails, extracting user-defined regular espressions. Each user, once logged in, has to define his mail providers [mail server and login informations] and other settings [time delay, regular expressions, ...]. Peephole supports various mail protocol as pop3, pop3s and apop.
1. General Overview 2. Configuration File
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
1.1 Login Session 1.2 Watches Check
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
$ telnet peephole.myserver.org 3490 Peephole v0.1 user myuser pass mypass watch1 watch2 watch3 cooked watch2 watch3 |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Each Peephole's user needs a configuration file in his home directory where he has to set some informations to make Peephole correctly answer to his queries. Needed fields of the configuration file are: password, providers' informations, and watches.
2.1 Password 2.2 Providers' Informations 2.3 Watches 2.4 Includes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
<protocol>(<timeout in seconds>) {
{ "<server address>",
Example:
pop3(60) {
{ "pop3.mailserver.org", 110, "myuser", "mypass" }
};
pop3s(60) {
{ "pop3s.mailserver.org", 995, "my1stuser", "my1stpass" }
{ "pop3s.mailserver.org", 995, "my2nduser", "my2ndpass" }
};
apop(60) {
{ "apop.mailserver.org", 110, "my3rduser", "my3rdpass" }
};
fake(5) {
{ "./fake.repository", 0, "", "" }
};
|
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
watch(<watch name>) { "regular expression" };
Example:
watch(myfriend) {
"^From:.*myfriend@mailserver.org"
};
watch(myoffice) {
"^From:.*@.*myoffice.org|^From:.*@myoffice.com"
};
watch(newsletter) {
"^Sender:.*nl@.*newsletter.org"
};
|
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| [Top] | [Contents] | [Index] | [ ? ] |
| [Top] | [Contents] | [Index] | [ ? ] |
1. General Overview
2. Configuration File
| [Top] | [Contents] | [Index] | [ ? ] |
| Button | Name | Go to | From 1.2.3 go to |
|---|---|---|---|
| [ < ] | Back | previous section in reading order | 1.2.2 |
| [ > ] | Forward | next section in reading order | 1.2.4 |
| [ << ] | FastBack | previous or up-and-previous section | 1.1 |
| [ Up ] | Up | up section | 1.2 |
| [ >> ] | FastForward | next or up-and-next section | 1.3 |
| [Top] | Top | cover (top) of document | |
| [Contents] | Contents | table of contents | |
| [Index] | Index | concept index | |
| [ ? ] | About | this page |