foxcpp / foxcpp/maddy

unknown config block: local_tls

Open
#577 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
6.1k
Forks
327
PR merge metrics
No merged PRs in 30d

Description

# Describe the bug

Cannot run maddy with tls.loader.acme in config, getting "unknown config block: local_tls" error on start.

# Steps to reproduce

- get latest code from git.
- in maddy.conf replace `tls file /etc/maddy/certs/$(hostname)/fullchain.pem /etc/maddy/certs/$(hostname)/privkey.pem` with

```
tls.loader.acme local_tls {
email put-your-email-here@example.org
agreed # indicate your agreement with Let's Encrypt ToS
challenge dns-01
}

tls &local_tls
```
_this is taken from `https://maddy.email/reference/tls-acme/`_

- start maddy

# Log files

```unknown config block: local_tls```

# Configuration file

see above in steps

# Environment information

* maddy version: master

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.