Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jpbede/zonemta-regex-router
Regex router for ZoneMTA
https://github.com/jpbede/zonemta-regex-router
Last synced: 8 days ago
JSON representation
Regex router for ZoneMTA
- Host: GitHub
- URL: https://github.com/jpbede/zonemta-regex-router
- Owner: jpbede
- License: mit
- Created: 2020-02-12T07:04:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-02-27T18:55:37.000Z (over 4 years ago)
- Last Synced: 2024-05-02T05:59:53.340Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zonemta-regex-router
RegEx mail router for [ZoneMTA](https://github.com/zone-eu/zone-mta).This plugin is used to set the sending zone based on a RegExp
## Setup
Add this as a dependency for your ZoneMTA app
```
npm install zonemta-regex-router --save
```Add a configuration entry in the "plugins" section of your ZoneMTA app
```json
...
"plugins": {
"modules/zonemta-regex-router": {
"enabled": "main",
"regex": {
"@t-(online|com)\\.de$": {
"sendingZone": "default"
}
}
}
}
...
```## License
MIT License