all repos — mdawh @ 3466f295e7b32f26e711ced85dcd3f7ee6f8b3cd

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