Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iodine/slackmail
https://github.com/iodine/slackmail
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iodine/slackmail
- Owner: iodine
- Created: 2015-08-17T16:57:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-20T21:15:15.000Z (about 9 years ago)
- Last Synced: 2024-07-24T14:00:07.313Z (2 months ago)
- Language: Python
- Size: 137 KB
- Stars: 15
- Watchers: 8
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slackmail
Slackmail is a simple email-to-slack proxy.
## Why
You've got a service that supports email notifications for unexpected/interesting
events. That's great, but you check Slack way more than email (and/or you want to
share the news with a team). Instead of badgering service XYZ to add support for
slack, just run this server and have them "email" you: `[email protected]`.## Installation
```
pip install [--user] git+https://github.com/iodine/slackmail
```# Running
By default, the servers listen on localhost, port 5025. This is to simplify testing
locally. But feel free to run on port 25 and just add an MX record to have it
operate as a "real" email server!## Simple single hook server
```
slackmail-local\
--webhook-url='https://mydomain.slack.com...&token=123'\
[--listen-address=host:port]\
[--authorization_token=secureME]
```If you specify the `authorization_token` flag, only messages containing the token
somewhere in the subject or message body will be forwarded to Slack.## Database enabled server
```
slackmail-db [--listen-address=host:port]
```The default database used is just a SQLite database called `mail.db`. It will
be created in whatever directory you run the slackmail-db command.