Skip to content
/ m2mb Public

Mail to Slack/Mattermost webhook bridge

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

thperret/m2mb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

m2mb - A mail to Slack/Mattermost webhook bridge

M2MB is a smtp server that doesn't send mails (!) but transfer the message to a Slack/Mattermost instance through a webhook.

By default, m2mb will send all mails to the default configured channel. You can configure another default channel in the command line (see --help) or configure per-mail rules using sieve filters (see documentation).

Requirements

You need python 3.6 to use this program. If you can't install python 3.6 on your system, there is a Docker image available on Docker Hub

Installing

On your system

$ git clone https://github.com/thperret/M2MB
$ pip install --process-dependency-links .

With docker

$ docker pull thperret/m2mb

Running

On your system

$ m2mbd localhost 8225 https://mattermost_instance/hooks/randomid

With docker

$ docker run -e WEBHOOK_URL=https://mattermost-instance/hooks/randomid -p 8225:25 thperret/m2mb

For advanced use, see documentation.

About

Mail to Slack/Mattermost webhook bridge

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published