smtpsplit

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: MIT Imports: 14 Imported by: 0

README

smtpsplit

Build Status GoReportCard

This is simple SMTP router and splitter. It routes the incoming traffic depending on a recipient domain. It supports STARTTLS for both incoming and outgoing connections.

Usage

  1. Create a configuration file. Here is an example:

    {
        "listen_address": ":25",
        "routes": {
            "xxx.com": "localhost:2500",
            "yyy.com": "localhost:2600"
        }
    }
    
  2. Run smtpsplit your_config.json

Configuration

listen_address
the address to listen to for incoming emails
host
the host name used to introduce this router
timeout_seconds
the timeout for incoming and outgoing emails
debug
debug mode
certificate
the certificate path for STARTTLS
certificate_key
the certificate key path for STARTTLS
routes
a domain to an address map

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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