Sends mailman events to a REST endpoint
Project description
Mailman event sender
This package is a plugin for mailman 3 which allows to send webhook-like events to configurable endpoints.
Configuration
As for every plugin, register it in mailman.cfg
:
[plugin.mailman_rest_event]
class: mailman_rest_event.plugin.RestEventPlugin
enabled: yes
# Or specify your own location
configuration: /etc/mailman3/mailman-rest-event.cfg
Then configure the plugin in mailman-rest-event.cfg
:
[general]
# URL to which events will be sent
webhook_url: https://example.com/mailman/event
# Response timeout for event calls
timeout: 2
# Username and key used to authenticate the URL
# These credentials will be sent as Authorization Basic header
[auth]
user: auth_user
key: auth_key
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mailman-rest-event-tim-1.0.1.tar.gz
.
File metadata
- Download URL: mailman-rest-event-tim-1.0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42c597887506b3e0d8c776cfb98c6a6d37040fa5df4b711168f41aaaddfe341e |
|
MD5 | 6234bfe08d5d5ac7c48e7cd35295755a |
|
BLAKE2b-256 | ae7f2e525b9da3b778fab5f90f6f261e479fd455f1a707c60bb95d88e9f495f4 |
File details
Details for the file mailman_rest_event_tim-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: mailman_rest_event_tim-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 502adc33bb05baab8c69ff468b36d43dcc7e76edd3a1aa81ec7846584f581a89 |
|
MD5 | 410ad5e1054e30a3e9f36fc044960895 |
|
BLAKE2b-256 | 5eed37359feaa89472183a536ce3a1c5186273b030be0b046129b82db3c48544 |