all repos — mdawh @ d44f3fac566e29fc8180c22f311763c4189c39b8

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