Discover Packages
github.com/igrmk/smtpsplit
command
module
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Jun 4, 2020
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
smtpsplit
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
Create a configuration file. Here is an example:
{
"listen_address": ":25",
"routes": {
"xxx.com": "localhost:2500",
"yyy.com": "localhost:2600"
}
}
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
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.