---
name: "mbot"
section: "1"
platform: "linux"
package: "mbot"
version: "0.3-7"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/mbot"
---

# mbot(1)

Mail handling robot

## 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)](/mbot.conf/5.md)) 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)](/mbot.conf/5.md)

## Authors

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