Git Product home page Git Product logo

zmta-webadmin's Introduction

zmta-webadmin

Web administration component for ZoneMTA. Adds a lightweight, web based wrapper (http service) around ZoneMTA HTTP API calls.

See screenshots here.

Requirements

  1. ZoneMTA
  2. Redis โ€“ required for counters
  3. Mongodb โ€“ required for logs
  4. delivery-counters plugin for ZoneMTA

Setup

  1. Copy this repo's files to a folder in the same server where you have installed ZoneMTA.
  2. Navigate to this folder and Install required dependencies by running npm install --production
  3. Start the web interface server with npm start
  4. Point your browser to http://localhost:8082

NOTE: This repository adds an http wraper to serve the .js pages containing the needed functionality. You can optionally serve these pages using Nginx or Apache too. By default the configuration is set so this service can only be accessed from the local machine (127.0.0.1) If you want to acces the administration page from outside current server you will have to edit the configuration file called default.toml, found within the /config subfolder on the installation folder you previously created to install this script.

In order to be able to access the web interface from an external computer, you need to edit the "host" parameter.

Change this line:
host = "127.0.0.1" # set to false to listen on all interfaces
to this:
host = "0.0.0.0" # set to false to listen on all interfaces

NB! For the delivery counters and top destinations to work you should add zonemta-delivery-counters plugin for your ZoneMTA application. Also make sure that you use the same redis key prefix in ZoneMTA and in ZMTA-WebAdmin.

NOTE: If you installed ZoneMTA using the zone-mta-template (which is the default procedure in the [ZoneMTA] documentation) then zonemta-delivery-counters is already setup and configured for you by default.

V2.0.0 handles historic logs by itself (this feature is disabled by default, set logserver.enabled=true in config to enable UDP server that can catch events from ZoneMTA), previous versions required an external unreleased logger server for this.

License

European Union Public License 1.1 (details) or later

zmta-webadmin's People

Contributors

andris9 avatar yosucadilla avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.