Skip to content

ondrejkolin/mailman_to_rocketchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sending mailman messages to Rocketchat

This is a small Python class, located in /usr/lib/python3/dist-packages/mailman_webhook/__init.py__ for connecting your rocket.chat instance to a mailman (send e-mail messages from mailman to rocket.chat webhook)

Configuration is located in /etc/mailman3/mailman-webhook.cfg. The plugin (archiver) must be activated in the main config /etc/mailman3/mailman.cfg file setting up the class path like this:

[archiver.webhook]
class: mailman_webhook.Archiver
enable: yes
configuration: /etc/mailman3/mailman-webhook.cfg

Logging

Plugin logs in the default log file prefixing the messages with Webhook:

Messages should come on:

  • Errors
  • Channel matched
  • Message not forwarded to rocket.chat (because of settings)

List

# Configuration of the new mailing list -> channel
[list.example_list]
url = "http://rocket.chat/webhook/url/..."

About

send e-mail messages from mailman to rocket.chat webhook

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages