diff --git a/doc/config.md b/doc/config.md index 6495f95..4d11a1a 100644 --- a/doc/config.md +++ b/doc/config.md @@ -10,7 +10,7 @@ variables it supports: KEY DEFAULT DESCRIPTION INBUCKET_LOGLEVEL info debug, info, warn, or error INBUCKET_LUA_SCRIPT inbucket.lua Lua script path - INBUCKET_MAILBOXNAMING local Use local or full addressing + INBUCKET_MAILBOXNAMING local Use local, full, or domain addressing INBUCKET_SMTP_ADDR 0.0.0.0:2500 SMTP server IP4 host:port INBUCKET_SMTP_DOMAIN inbucket HELO domain INBUCKET_SMTP_MAXRECIPIENTS 200 Maximum RCPT TO per message diff --git a/pkg/config/config.go b/pkg/config/config.go index 449ba88..fe56268 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -60,7 +60,7 @@ func (n *mbNaming) Decode(v string) error { type Root struct { LogLevel string `required:"true" default:"info" desc:"debug, info, warn, or error"` Lua Lua - MailboxNaming mbNaming `required:"true" default:"local" desc:"Use local, full or domain addressing"` + MailboxNaming mbNaming `required:"true" default:"local" desc:"Use local, full, or domain addressing"` SMTP SMTP POP3 POP3 Web Web