Next revision | Previous revision |
mdx_plugins [2009/08/15 12:49] – created daniel | mdx_plugins [2012/01/26 01:41] (current) – [Sample plugins] daniel |
---|
====== What are plugins? ====== | ====== What are plugins? ====== |
[[http://www.manitou-mail.org/mdx/plugins.html|Plugins overview]] | 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. |
| |
| [[http://www.manitou-mail.org/doc/mdx.plugins.html|Plugins documentation]] |
| |
====== How to create a plugin? ====== | ====== How to create a plugin? ====== |
[[http://www.manitou-mail.org/mdx/plugins-reference.html|Plugins reference documentation]] | A plugin for manitou-mdx is generally just a Perl module .pm file. |
| |
| [[http://www.manitou-mail.org/doc/mdx.plugins.html#mdx.plugins.developement|Developer information for plugins]] |
| |
====== Sample plugins ====== | ====== Sample plugins ====== |
[[plugins:spamc]] - Calls [[http://www.spamassassin.org/|spamassassin]] to score messages and tag them spam or not. | [[plugins:spamc]] - Calls [[http://www.spamassassin.org/|spamassassin]] to score messages and tag them spam or not. |
| |
| [[plugins:spam_learner]] - Maintenance plugin that runs sa-learn at regular intervals to feed the spamassassin Bayes database with new legitimate and spam messages. It handles the re-training of the spam filter in a way that requires no other action from the end-user than moving messages to or from the trashcan. |
| |
| [[plugins::mswordindexer]] - Pass MS-word .doc attachments on to [[http://wvware.sourceforge.net/|wvWare]], convert them to Unicode text and add their words to the full-text index of the body. This allows the user interface's search engine to retrieve those messages based on the contents of their attachments. |
| |
[[plugins:html_indexer]] - Extracts the text from HTML parts and pass it to the full text indexer to allow subsequent searches inside HTML-only contents. | [[plugins:html_indexer]] - Extracts the text from HTML parts and pass it to the full text indexer to allow subsequent searches inside HTML-only contents. |
| |
| [[plugins:tnef_decoder]] - Decodes the TNEF format produced by Outlook and replaces the application/ms-tnef part by the original attached contents. |
| |