<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.manitou-mail.org/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.manitou-mail.org/wiki/feed.php">
        <title>Manitou-Mail Wiki</title>
        <description></description>
        <link>http://www.manitou-mail.org/wiki/</link>
        <image rdf:resource="http://www.manitou-mail.org/wiki/lib/tpl/default/images/favicon.ico" />
       <dc:date>2012-02-05T22:52:36+01:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.manitou-mail.org/wiki/doku.php/sql_analysis?rev=1327719358&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.manitou-mail.org/wiki/doku.php/mdx_filters?rev=1327717692&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.manitou-mail.org/wiki/doku.php/mdx_plugins?rev=1327542073&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.manitou-mail.org/wiki/doku.php/start?rev=1322273742&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.manitou-mail.org/wiki/doku.php/mdx_debian_package?rev=1310992347&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.manitou-mail.org/wiki/doku.php/mdx_nagios_plugin?rev=1308832916&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.manitou-mail.org/wiki/doku.php/inverted_word_index?rev=1302382167&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.manitou-mail.org/wiki/lib/tpl/default/images/favicon.ico">
        <title>Manitou-Mail Wiki</title>
        <link>http://www.manitou-mail.org/wiki/</link>
        <url>http://www.manitou-mail.org/wiki/lib/tpl/default/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.manitou-mail.org/wiki/doku.php/sql_analysis?rev=1327719358&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-01-28T03:55:58+01:00</dc:date>
        <dc:creator>daniel</dc:creator>
        <title>sql_analysis</title>
        <link>http://www.manitou-mail.org/wiki/doku.php/sql_analysis?rev=1327719358&amp;do=diff</link>
        <description>This query extracts, for each of the header fields from a fixed list, the number of occurrences of all distinct values of the field.


SELECT
 split_part(substr(lines, 1+position(E'\n'||field in lines), 200), E'\n', 1) as ct,
 count(*)
FROM header, (values ('X-Priority'), ('Importance'), ('Precedence'), ('Priority'), ('X-MSMail-Priority'), ('X-MS-Priority')) as h(field)
WHERE position(E'\n'||field IN lines)&gt;0
group by split_part(substr(lines, 1+position(E'\n'||field in lines), 200), E'\n', 1)</description>
    </item>
    <item rdf:about="http://www.manitou-mail.org/wiki/doku.php/mdx_filters?rev=1327717692&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-01-28T03:28:12+01:00</dc:date>
        <dc:creator>daniel</dc:creator>
        <title>mdx_filters - [Restrictions] </title>
        <link>http://www.manitou-mail.org/wiki/doku.php/mdx_filters?rev=1327717692&amp;do=diff</link>
        <description>Filters are normally edited in the user interface, in the window that appears when the File-&gt;Filters command is run.
Once defined, they are applied server-side by manitou-mdx to messages that enter the database.



A filter is defined to apply to incoming or outgoing mail or both. Applying a filter consists of evaluating its condition, and if the result is true, doing the actions that are associated to it. If a filter has no action, it can be considered inactive. A condition is basically an expr…</description>
    </item>
    <item rdf:about="http://www.manitou-mail.org/wiki/doku.php/mdx_plugins?rev=1327542073&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-01-26T02:41:13+01:00</dc:date>
        <dc:creator>daniel</dc:creator>
        <title>mdx_plugins - [Sample plugins] </title>
        <link>http://www.manitou-mail.org/wiki/doku.php/mdx_plugins?rev=1327542073&amp;do=diff</link>
        <description>The functionalities of manitou-mdx can be extended by writing Perl modules that are hooked to manitou-mdx as plugins. A plugin module may be a self-contained piece of code, but more often it's used as an interface to an external program, such as a spam filter or a converter that extracts text from a complex file format. Also, plugins may use external Perl modules from the CPAN archive or other sources.</description>
    </item>
    <item rdf:about="http://www.manitou-mail.org/wiki/doku.php/start?rev=1322273742&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-11-26T03:15:42+01:00</dc:date>
        <dc:creator>daniel</dc:creator>
        <title>start - [Version 1.0.0] </title>
        <link>http://www.manitou-mail.org/wiki/doku.php/start?rev=1322273742&amp;do=diff</link>
        <description>Welcome to the Wiki for Manitou-Mail, a database-driven mail user agent.

manitou-mdx

manitou-mdx is a Perl program that is responsible for importing incoming mail into the database, and exporting outgoing mail to a Mail Transfert Agent. MDX stands for Mail Database eXchanger. It is supposed to run as a daemon (always running in background) although it can also be invoked as a normal command to import existing mailboxes.

Its functionalities can be vastly extended by user-contributed plugins wr…</description>
    </item>
    <item rdf:about="http://www.manitou-mail.org/wiki/doku.php/mdx_debian_package?rev=1310992347&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-07-18T14:32:27+01:00</dc:date>
        <dc:creator>daniel</dc:creator>
        <title>mdx_debian_package - [1) Create Makefile and build] </title>
        <link>http://www.manitou-mail.org/wiki/doku.php/mdx_debian_package?rev=1310992347&amp;do=diff</link>
        <description>We start from a fresh source tree for manitou-mdx, as obtained by un-tarring a manitou-mdx-&lt;version&gt;.tar.gz source archive. We'll use 0.9.11 as an example.
The commands we need to create the package are available through the dpkg-dev (or fakeroot) and dh-make packages.</description>
    </item>
    <item rdf:about="http://www.manitou-mail.org/wiki/doku.php/mdx_nagios_plugin?rev=1308832916&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-06-23T14:41:56+01:00</dc:date>
        <dc:creator>daniel</dc:creator>
        <title>mdx_nagios_plugin</title>
        <link>http://www.manitou-mail.org/wiki/doku.php/mdx_nagios_plugin?rev=1308832916&amp;do=diff</link>
        <description>Nagios is a popular monitoring program that has plugins for a large number of programs and services. 


To integrate manitou-mdx monitoring inside Nagios, this Nagios plugin can be used: check_manitou.</description>
    </item>
    <item rdf:about="http://www.manitou-mail.org/wiki/doku.php/inverted_word_index?rev=1302382167&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-09T22:49:27+01:00</dc:date>
        <dc:creator>daniel</dc:creator>
        <title>inverted_word_index</title>
        <link>http://www.manitou-mail.org/wiki/doku.php/inverted_word_index?rev=1302382167&amp;do=diff</link>
        <description>Context

See also Implementation of the inverted word index for how the word index is stored in the database, and the definition of tables:

	*  words
	*  non_indexable_words
	*  inverted_word_index

Function

The word index can be queried in SQL. Here is the code of a PL/pgSQL function that retrieves the IDs of messages containing a set of words. The words are given as an array of text.
The function is already in the Manitou-Mail database for versions 1.1.0 and above</description>
    </item>
</rdf:RDF>

