openware / postmaster

Notification Hub for openware stack

Home Page:https://www.openware.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

postmaster

Build Status

📨 Notification Hub for openware stack.

Event API client for

Overview

Consume mail events from RabbitMQ and send emails over SMTP.

Overview

Usage

Start worker by running command below

$ go run ./cmd/postmaster/main.go

Environment variables

Variable Description Required Default
POSTMASTER_ENV Environment, reacts on "production" no
POSTMASTER_LOG_LEVEL Level of logging no debug
RABBITMQ_HOST Host of RabbitMQ daemon no localhost
RABBITMQ_PORT Port of RabbitMQ daemon no 5672
RABBITMQ_USERNAME RabbitMQ username no guest
RABBITMQ_PASSWORD RabbitMQ password no guest
SMTP_PASSWORD Password used for auth to SMTP yes
SMTP_PORT Post of SMTP server no 25
SMTP_HOST Host of SMTP server no smtp.sendgrid.net
SMTP_USER User used for auth to SMTP no apikey
SENDER_EMAIL Email address of mail sender yes
SENDER_NAME Name of mail sender no Postmaster

License

Project released under the terms of the MIT license.

About

Notification Hub for openware stack

https://www.openware.com

License:MIT License


Languages

Language:Go 59.4%Language:Smarty 39.5%Language:Dockerfile 1.1%