1.1.0 • Published 3 years ago

haraka-plugin-domain-limit v1.1.0

Weekly downloads
10
License
MIT
Repository
github
Last release
3 years ago

Unix Build Status Windows Build Status Code Climate NPM

haraka-plugin-domain-limit

This haraka plugin allows to limit the number of different domains for recepients in one session to one. If used together with domain-aliases, original domain and aliased-to domain will be seen as one, accepting both of them.

If domain.com is an alias for success.com and the recepients, with respective order, are selected as below:

user1@domain.com
user2@success.com
user3@test.com

Both user1@domain.com and user2@success.com will be allowed, but user3@test.com will be rejected.

In below case, however, only user3@test.com will be accepted:

user3@test.com
user1@domain.com
user2@success.com