haraka-plugin-access-auth
v1.0.4
Published
Haraka plugin for access control by username
Downloads
6
Readme
haraka-plugin-access-auth
By default, this plugin expects the usernames used for authentication to be the email address they are authorized to send emails from. For example a user authenticated using the username [email protected] can only send emails from [email protected] but not [email protected].
Configuration
Configuration is stored in config/access_auth.ini and uses the INI style formatting. The following example allows a user authenticated as user1 to send emails from [email protected] and [email protected]. If the username used for authentication is an email address, e.g., [email protected], that user can send from his own email address. The configuration supports regex matching, e.g. .*@doman.com allows the specific user to send emails on behalf of any user of domain.com.
Example:
[acl]
[email protected],[email protected]
