all repos — mdawh @ 79d17abbef465ffe9f521da316b5902f17d10242

An MDA that creates a webhook on recieval of mail

readme (view raw)

 1mdawh
 2-----
 3
 4The MDA webhook tool.
 5
 6Read mail from stdin, send a webhook with the mail body, from, date and
 7content-type headers to a specified URL.
 8
 9Configure OpenSMTPD like so:
10
11    action webhook mda "path/to/mdawh"
12    match from any for domain "mydoma.in" action webhook