all repos — mdawh @ master

An MDA that creates a webhook on recieval of mail

readme (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
mdawh
-----

The MDA webhook tool.

Read mail from stdin, send a webhook with the mail body, from, date and
content-type headers to a specified URL.

Configure OpenSMTPD like so:

    action webhook mda "path/to/mdawh"
    match from any for domain "mydoma.in" action webhook