Dynamic configuration expression support
Open
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 327
- PR merge metrics
- No merged PRs in 30d
Description
1. Define evaluation context that is passed across the codebase via context.Context.
2. Replace some (most?) configuration values with generic dynamic like:
```go
type DynamicString struct {
...
}
func (ds DynamicString) Evaluate(ctx context.Context) (string, error)
```
3. Add support for single-quote escaping in maddy configuration syntax.
```
modify {
replace_rcpt expr 'address_username(key)'
}
```
4. Define configuration syntax (like above) for dynamic expressions.
Contributor guide
Assessment
This issue has not been assessed yet.