1.2.5 • Published 3 years ago
haraka-plugin-domain-aliases-etcd-config v1.2.5
haraka-plugin-domain-aliases-etcd-config
This plugin recieves its config from etcd. Other than that, works the same way as domain-aliases plugin: https://github.com/PartyPancakess/haraka-plugin-domain-aliases
& WARNING: DO NOT USE THIS PLUGIN WITH queue/smtp_proxy. & WARNING: This plugin must be the last rcpt_to plugin in the config/plugins list (except for rcpt_to.in_host_list and haraka-plugin-domain-limit).
Configuration
Available actions:
- drop
- alias - to (required)
- domain-alias - to (required)
Example etcd Configuration
etcdctl put config/mta/alias '{"test1": { "action": "drop" },"test2": { "action": "alias", "to": "non-test2" },"@domain.com": { "action" : "domain-alias", "to" : "@example.com" }}'