mailer

command module
v0.0.0-...-a0901ff Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2015 License: GPL-3.0 Imports: 10 Imported by: 0

README

Code Climate

mailer

SMTP server that handles inbound emails and an outbound email generator.

Uses lavab/smtpd, a fork of bitbucket.org/chrj/smtpd for inbound email handling and Postfix for routing of outbound emails.

Requirements

  • RethinkDB
  • NSQ
  • Postfix
  • SpamAssassin

How it works

Usage

Inside a Docker container

This image will be soon uploaded to Docker Hub

git clone git@github.com:lavab/mailer.git
cd mailer
docker build -t "lavab/mailer" .

docker run \
    -p 25:25 \
    -e "NSQD_ADDRESS=172.8.0.1:4150" \
    -e "LOOKUPD_ADDRESS=172.8.0.1:4161" \
    -e "SMTP_ADDRESS=172.8.0.1:2525" \
    -e "SPAMD_ADDRESS=172.8.0.1:783" \
    -e "RETHINKDB_ADDRESS=172.8.0.1:28015" \
    --name mailer \
    lavab/mailer
Directly running the service
go get github.com/lavab/mailer

mailer \
    --nsqd_address=172.8.0.1:4150 \
    --lookupd_address=172.8.0.1:4161 \
    --smtpd_address=172.8.0.1:2525 \
    --spamd_address=172.8.0.1:783 \
    --rethinkdb_address=172.8.0.1:28015

License

This project is licensed under the GPL v3 license. Check license for more information.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/code.google.com/p/go.crypto/pbkdf2
Package pbkdf2 implements the key derivation function PBKDF2 as defined in RFC 2898 / PKCS #5 v2.0.
Package pbkdf2 implements the key derivation function PBKDF2 as defined in RFC 2898 / PKCS #5 v2.0.
_workspace/src/code.google.com/p/go.crypto/scrypt
Package scrypt implements the scrypt key derivation function as defined in Colin Percival's paper "Stronger Key Derivation via Sequential Memory-Hard Functions" (http://www.tarsnap.com/scrypt/scrypt.pdf).
Package scrypt implements the scrypt key derivation function as defined in Colin Percival's paper "Stronger Key Derivation via Sequential Memory-Hard Functions" (http://www.tarsnap.com/scrypt/scrypt.pdf).
_workspace/src/code.google.com/p/goprotobuf/proto
Package proto converts data structures to and from the wire format of protocol buffers.
Package proto converts data structures to and from the wire format of protocol buffers.
_workspace/src/code.google.com/p/rsc/gf256
Package gf256 implements arithmetic over the Galois Field GF(256).
Package gf256 implements arithmetic over the Galois Field GF(256).
_workspace/src/code.google.com/p/rsc/qr
Package qr encodes QR codes.
Package qr encodes QR codes.
_workspace/src/code.google.com/p/rsc/qr/coding
Package coding implements low-level QR coding details.
Package coding implements low-level QR coding details.
_workspace/src/code.google.com/p/rsc/qr/libqrencode
Package libqrencode wraps the C libqrencode library.
Package libqrencode wraps the C libqrencode library.
_workspace/src/code.google.com/p/snappy-go/snappy
Package snappy implements the snappy block-based compression format.
Package snappy implements the snappy block-based compression format.
_workspace/src/github.com/alexcesaro/quotedprintable
Package quotedprintable implements quoted-printable and message header encoding as specified by RFC 2045 and RFC 2047.
Package quotedprintable implements quoted-printable and message header encoding as specified by RFC 2045 and RFC 2047.
_workspace/src/github.com/alexcesaro/quotedprintable/internal
Package internal contains quoted-printable internals shared by mime and mime/quotedprintable.
Package internal contains quoted-printable internals shared by mime and mime/quotedprintable.
_workspace/src/github.com/bitly/go-nsq
nsq is the official Go package for NSQ (http://nsq.io/) It provides high-level Consumer and Producer types as well as low-level functions to communicate over the NSQ protocol
nsq is the official Go package for NSQ (http://nsq.io/) It provides high-level Consumer and Producer types as well as low-level functions to communicate over the NSQ protocol
_workspace/src/github.com/dancannon/gorethink
Go driver for RethinkDB Current version: v0.6.3 (RethinkDB v1.16) For more in depth information on how to use RethinkDB check out the API docs at http://rethinkdb.com/api
Go driver for RethinkDB Current version: v0.6.3 (RethinkDB v1.16) For more in depth information on how to use RethinkDB check out the API docs at http://rethinkdb.com/api
_workspace/src/github.com/dchest/uniuri
Package uniuri generates random strings good for use in URIs to identify unique objects.
Package uniuri generates random strings good for use in URIs to identify unique objects.
_workspace/src/github.com/garyburd/redigo/internal/redistest
Package redistest contains utilities for writing Redigo tests.
Package redistest contains utilities for writing Redigo tests.
_workspace/src/github.com/garyburd/redigo/redis
Package redis is a client for the Redis database.
Package redis is a client for the Redis database.
_workspace/src/github.com/getsentry/raven-go
Package raven implements a client for the Sentry error logging service.
Package raven implements a client for the Sentry error logging service.
_workspace/src/github.com/gokyle/hotp
Package hotp implements the RFC 4226 OATH-HOTP algorithm; these passwords derived from the HMAC-SHA1 of an internal counter.
Package hotp implements the RFC 4226 OATH-HOTP algorithm; these passwords derived from the HMAC-SHA1 of an internal counter.
_workspace/src/github.com/gorilla/schema
Package gorilla/schema fills a struct with form values.
Package gorilla/schema fills a struct with form values.
_workspace/src/github.com/gyepisam/mcf
Package mcf is a Go library for creating, verifying, upgrading and managing bcrypt, scrypt, and pbkdf2 password hashes.
Package mcf is a Go library for creating, verifying, upgrading and managing bcrypt, scrypt, and pbkdf2 password hashes.
_workspace/src/github.com/gyepisam/mcf/bcrypt
Package bcrypt implements a password encoding mechanism for the mcf framework
Package bcrypt implements a password encoding mechanism for the mcf framework
_workspace/src/github.com/gyepisam/mcf/encoder
Package encoder represents an interface that MCF password encoders must implement
Package encoder represents an interface that MCF password encoders must implement
_workspace/src/github.com/gyepisam/mcf/password
Package password manipulates passwords stored in Modular Crypt Format.
Package password manipulates passwords stored in Modular Crypt Format.
_workspace/src/github.com/gyepisam/mcf/pbkdf2
Package pbkdf2 implements a password encoding mechanism for the mcf framework
Package pbkdf2 implements a password encoding mechanism for the mcf framework
_workspace/src/github.com/gyepisam/mcf/scrypt
Package scrypt implements a password encoding mechanism for the mcf framework
Package scrypt implements a password encoding mechanism for the mcf framework
_workspace/src/github.com/lavab/flag
Package flag implements command-line flag parsing.
Package flag implements command-line flag parsing.
_workspace/src/github.com/lavab/smtpd
Package smtpd implements an SMTP server with support for STARTTLS, authentication (PLAIN/LOGIN), XCLIENT and optional restrictions on the different stages of the SMTP session.
Package smtpd implements an SMTP server with support for STARTTLS, authentication (PLAIN/LOGIN), XCLIENT and optional restrictions on the different stages of the SMTP session.
_workspace/src/github.com/lavab/smtpd/examples/dkim-proxy
Command dkim-proxy implements a simple SMTP proxy that DKIM signs incoming e-mail and relays to another SMTP server for delivery
Command dkim-proxy implements a simple SMTP proxy that DKIM signs incoming e-mail and relays to another SMTP server for delivery
_workspace/src/github.com/mreiferson/go-snappystream
snappystream wraps snappy-go and supplies a Reader and Writer for the snappy framed stream format: https://snappy.googlecode.com/svn/trunk/framing_format.txt
snappystream wraps snappy-go and supplies a Reader and Writer for the snappy framed stream format: https://snappy.googlecode.com/svn/trunk/framing_format.txt
_workspace/src/github.com/willf/bitset
Package bitset implements bitsets, a mapping between non-negative integers and boolean values.
Package bitset implements bitsets, a mapping between non-negative integers and boolean values.
_workspace/src/github.com/willf/bloom
Package bloom provides data structures and methods for creating Bloom filters.
Package bloom provides data structures and methods for creating Bloom filters.
_workspace/src/golang.org/x/crypto/cast5
Package cast5 implements CAST5, as defined in RFC 2144.
Package cast5 implements CAST5, as defined in RFC 2144.
_workspace/src/golang.org/x/crypto/openpgp
Package openpgp implements high level operations on OpenPGP messages.
Package openpgp implements high level operations on OpenPGP messages.
_workspace/src/golang.org/x/crypto/openpgp/armor
Package armor implements OpenPGP ASCII Armor, see RFC 4880.
Package armor implements OpenPGP ASCII Armor, see RFC 4880.
_workspace/src/golang.org/x/crypto/openpgp/clearsign
Package clearsign generates and processes OpenPGP, clear-signed data.
Package clearsign generates and processes OpenPGP, clear-signed data.
_workspace/src/golang.org/x/crypto/openpgp/elgamal
Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified in "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms," IEEE Transactions on Information Theory, v.
Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified in "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms," IEEE Transactions on Information Theory, v.
_workspace/src/golang.org/x/crypto/openpgp/errors
Package errors contains common error types for the OpenPGP packages.
Package errors contains common error types for the OpenPGP packages.
_workspace/src/golang.org/x/crypto/openpgp/packet
Package packet implements parsing and serialization of OpenPGP packets, as specified in RFC 4880.
Package packet implements parsing and serialization of OpenPGP packets, as specified in RFC 4880.
_workspace/src/golang.org/x/crypto/openpgp/s2k
Package s2k implements the various OpenPGP string-to-key transforms as specified in RFC 4800 section 3.7.1.
Package s2k implements the various OpenPGP string-to-key transforms as specified in RFC 4800 section 3.7.1.
_workspace/src/gopkg.in/alexcesaro/quotedprintable.v2
Package quotedprintable implements quoted-printable and message header encoding as specified by RFC 2045 and RFC 2047.
Package quotedprintable implements quoted-printable and message header encoding as specified by RFC 2045 and RFC 2047.
_workspace/src/gopkg.in/alexcesaro/quotedprintable.v2/internal
Package internal contains quoted-printable internals shared by mime and mime/quotedprintable.
Package internal contains quoted-printable internals shared by mime and mime/quotedprintable.

Jump to

Keyboard shortcuts

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