haraka / haraka-plugin-limit

Enforce many types of limits on a Haraka mail server.
https://www.npmjs.com/package/haraka-plugin-limit
MIT License
10 stars 14 forks source link

Limit users to only send emails from a specified domain #28

Closed wioxjk closed 7 months ago

wioxjk commented 3 years ago

It would be really great, if we could limit users to only send emails from a specified domain.

For example, if a user is specified as following in auth_flat_file.ini: relay@example.com=password

The user is only allowed to send emails from "example.com".

msimerson commented 10 months ago

@wioxjk, please have a look at https://github.com/haraka/Haraka/pull/3265. I could have put that in this plugin, but as it depends on the auth implementation, it just seemed like it belonged better in auth_base.

msimerson commented 7 months ago

closing as completed.