powermta webhooks

z3d3m0n

Newbie
Joined
Jan 29, 2018
Messages
45
Reaction score
40
Hello Guys,

since PowerMTA 5.0r5 has added a webhook support
2020-07-13: released build 5.0r5
- added support for writing accounting files in JSON format in addition to regular CSV format;
- added support for webhooks to deliver accounting data in CSV or JSON format over HTTP(S) to a remote server; see User's Guide for more details on how to configure webhooks for accounting files;
according to the manual
12.1.1 HTTP Webhooks
In addition to files or a pipe, accounting records can be sent to an HTTP endpoint. This is enabled by the http-webhook-url directive.

this code must be added to config file
KRadebn
when ever i restart the pmta i get
Startup error: Parse error in line 300 of /etc/pmta/config: unknown directive
when i remove "http-webhook" line it restarts without an issue

i am running PowerMTA 5.0r7 , Centos 7
if there are any PowerMTA gurus in the house please PM

thank you
 
Back
Top