Skip to content

Plugin for mailman 3 which allows to send webhook-like events to configurable endpoints

License

Notifications You must be signed in to change notification settings

TIM-JYU/mailman-rest-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Plugin for mailman 3 which allows to send webhook-like events to configurable endpoints

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages