Clete2 / Mailcow-API-Scripts

Scripts for the Mailcow API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Overview

Scripts that will execute the Mailcow API and return useful results. The scripts are designed to be used with a monitoring solution. Thus, they will be silent if there is nothing to report.

Running

  1. Set environment variable MAILCOW_API_KEY to be your API key from the main Mailcow admin page
  2. Set environment variable MAILCOW_URL to be your base url (mail.mydomain.com, for instance)
  3. yarn && yarn start

Features

Thus far:

  1. Look for quarantined messages
  2. Check quotas

About

Scripts for the Mailcow API.

License:MIT License


Languages

Language:JavaScript 100.0%