https://github.com/bbusse/mail-alias-resolve-ldap
Resolve mail alias addresses in LDAP
https://github.com/bbusse/mail-alias-resolve-ldap
chasquid ldap mail mail-alias smtp
Last synced: 5 months ago
JSON representation
Resolve mail alias addresses in LDAP
- Host: GitHub
- URL: https://github.com/bbusse/mail-alias-resolve-ldap
- Owner: bbusse
- License: bsd-3-clause
- Created: 2022-01-27T13:42:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-18T22:48:01.000Z (over 2 years ago)
- Last Synced: 2024-06-21T15:41:48.890Z (almost 2 years ago)
- Topics: chasquid, ldap, mail, mail-alias, smtp
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alias-resolve-ldap
alias-resolve-ldap was written to be used as a hook for the [chasquid](https://github.com/albertito/chasquid) SMTP server
to perform alias address lookups in LDAP
It returns a single attribute value for a given mail address
The example config includes a filter for the qmail LDAP schema but can be adapted for others
## Configuration
Configuration is read from a YAML file called 'config.yaml'
An example can be found in config.example.yaml
## Usage
```
# Return 'cn' for a given alias address
$ ./alias-resolve-ldap alias@example.com
ada
```