mbot

Langue: en

Version: 251216 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

mbot --- Mail handling robot
 

SYNOPSIS

mbot [-h] [-c configuration file]

Description

mbot is a generic purpose mail robot, written in python. The first goal while writting this piece of software was to provide some kind of web access (http) to people limited on mail (smtp).
 

So mbot will receive some mail and make some action for you, then send you back a reply mail. The actions mbot will take are to be defined in its configuration file (see mbot.conf(5)) and depends on the available handlers :
 
 

GoogleHandler
Used to perform some search with the well known search engine
UrlHandler
This one allows to download some url and attach its content to the return mail, with the mime type properly set.
NewsHandler
You can also send some news (with images) to mbot, it will fill your database with it. Currently supported RDBMs are PostgreSQL and MySQL, so you will have to choose between PgNewsHandler and MyNewsHandler.
PipeHandler
This one will make mbot call an arbitrary given command!

Options

-h
will print the help page.
-c
specifies the configuration file to use. If omitted mbot will look for it in his own directory.

Install

To install that mail bot, just add a line in your mail alias file, often found under /etc/aliases.
 
 

If you use the exim MTA, be sure to add the option pipe_as_creator to your configuration, in the address_pipe section.
 
 

Bugs

There should be none... :)
 

See Also

mbot.conf(5)
 

Authors

mbot was writen by Dimitri Fontaine dim@tuxfamily.org and Christophe Truffier nah-ko@tuxfamily.org.