Skip to content

Repository files navigation

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

VariableDescriptionRequiredDefault
POSTMASTER_ENVEnvironment, reacts on "production"no
POSTMASTER_LOG_LEVELLevel of loggingnodebug
RABBITMQ_HOSTHost of RabbitMQ daemonnolocalhost
RABBITMQ_PORTPort of RabbitMQ daemonno5672
RABBITMQ_USERNAMERabbitMQ usernamenoguest
RABBITMQ_PASSWORDRabbitMQ passwordnoguest
SMTP_PASSWORDPassword used for auth to SMTPyes
SMTP_PORTPost of SMTP serverno25
SMTP_HOSTHost of SMTP servernosmtp.sendgrid.net
SMTP_USERUser used for auth to SMTPnoapikey
SENDER_EMAILEmail address of mail senderyes
SENDER_NAME Name of mail sendernoPostmaster

License

Project released under the terms of the MIT license.

About

Notification Hub for openware stack

Topics

Resources

Stars

15 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages