all repos — mdawh @ 2f01a226cb575ccf8711b053399fa05df8023a73

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