all repos — mdawh @ master

An MDA that creates a webhook on recieval of mail

3466f295
Decode From header
Anirudh Oppiliappan x@icyphox.sh
Mon, 20 Sep 2021 21:13:08 +0530
7214a5cc
Dump the body as a whole if no Content-Type header
Anirudh Oppiliappan x@icyphox.sh
Fri, 17 Sep 2021 10:26:10 +0530
f667d63d
Add license
Anirudh Oppiliappan x@icyphox.sh
Tue, 14 Sep 2021 21:47:43 +0530
mdawh
-----

The MDA webhook tool.

Read mail from stdin, send a webhook with the mail body, from, date and
content-type headers to a specified URL.

Configure OpenSMTPD like so:

    action webhook mda "path/to/mdawh"
    match from any for domain "mydoma.in" action webhook
clone
git clone https://git.icyphox.sh/mdawh