Monboob¶

Monboob is a daemon application (part of Weboob) to fetch messages from supported websites (see CapMessages) and send them by mail.
It can also be used to post a reply to a message, on a backend which supports CapMessagesPost, by piping an email to it.
- Monboob
- Get Monboob
- Screenshots
- Configuration
- Usage
- Daemon
- Reply to messages
- Use a fake SMTP server
- Example with Postfix
- main.cf
- master.cf
- transport
- Conclusion
Get Monboob¶
This application is a part of Weboob. Download it and install it with:
$ ./setup.py install
For more information about installation of Weboob read this page.
Screenshots¶
Mails displayed in the MUA mutt .
Configuration¶
Create a file named ~/.config/weboob/monboob and add in:
[DEFAULT] # Interval to check new messages interval = 300 # Domain of the *From:* email address domain = weboob.example.com # Recipient of emails recipient = romain@example.com # SMTP server to use smtp = mail.example.org # Instead of using a SMTP relay, you can enable this setting to pipe mails to # an external command. It overrides the 'smtp' parameter. # pipe = procmail # Send emails in HTML or in plaintext html = 0
Do not forget to configure backends.
Usage¶
Daemon¶
You just have to run:
$ monboob run
Then it will works correctly in background.
Reply to messages¶
You can also use monboob to reply to received messages. You just need to pipe an email:
$ cat reply_email.txt | monboob post
The In-Reply-To header must be defined, to determine to which thread and message you answer.
You can also change the To username (before the *@*) to select with which backend you want to answer.
Use a fake SMTP server¶
If you want reply to a mail with your MUA, you can run monboob with the -S parameter which run a fake smtp server:
$ monboob run -S 2525
Note: 2525 is the port to listen on
Then, add the localhost:2525 SMTP server to your MUA. When you answer to a monboob mail, you can select this.
And… that's all!
Example with Postfix¶
main.cf¶
Open /etc/postfix/main.cf and add weboob.example.org in the relay_domain:
relay_domains = mydomain.org weboob.example.org transport_maps= hash:/etc/postfix/transport
master.cf¶
Add the weboob service with this lines at end of file:
weboob unix - n n - - pipe flags=FR user=rom1 argv=/usr/local/bin/monboob post
Correctly replace rom1 to a system user who will used to run script.
transport¶
Open /etc/postfix/transport and add this line:
weboob.example.org weboob:
Do not forget to run this command to save modifications:
postmap /etc/postfix/transport
Conclusion¶
Restart postfix, and you'll be able to answer to received messages.

