all repos — mdawh @ f667d63d4c511a2a7b5cda7721e9d41aec12b749

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