dispatcher

package module
v0.9.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2016 License: MIT Imports: 0 Imported by: 0

README

Mail Queue Dispatcher

GoDoc

The Mail Queue Dispatcher is a simple Windows service that watches a mailqueue folder, looks up sender information, and transmits an email for each message it finds in the folder.

If there is a problem, the message will be moved to the configured badmail folder.

Usage

To get the program, just run go get github.com/jw4/mqd

To install: go install github.com/jw4/mqd/cmd/smtp-dispatcher This will install the binary in your GOPATH, but to install the windows service, I recommend copying the executable into its own folder and then creating or generating the .smtp-dispatcher.settings file, and modifying it to match your settings first. Then to install the service run ./smtp-dispatcher.exe install, and ./smtp-dispatcher.exe start to start monitoring the mailqueue folder and sending emails.

Building

To generate the windows binary with the icon and resource info you can use go generate github.com/jw4/mqd/cmd/smtp-dispatcher after installing the fine tool by Joseph Spurrier:

go get github.com/josephspurrier/goversioninfo/cmd/goversioninfo

This should generate a .syso file which go build will use to incorporate the resource info into the binary when you finish up with:

go build github.com/jw4/mqd/cmd/smtp-dispatcher

gopher mascot

Documentation

Overview

Package dispatcher provides functionality to watch a mailqueue folder and periodically process messages that appear in that folder by sending them to configured smtp host destinations.

Directories

Path Synopsis
cmd
smtp-dispatcher
smtp-dispatcher is the command line executable used for testing and installing and controlling the mail-queue-dispatcher service.
smtp-dispatcher is the command line executable used for testing and installing and controlling the mail-queue-dispatcher service.
Package dispatcher provides the mechanism for watching and processing emails that appear in a designated pickup folder, and removes them after successfully sending them, or else moves the failed messages to the configured badmail folder.
Package dispatcher provides the mechanism for watching and processing emails that appear in a designated pickup folder, and removes them after successfully sending them, or else moves the failed messages to the configured badmail folder.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL