1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

policy: Add support for MailboxNaming to ExtractMailbox for #33

This commit is contained in:
James Hillyerd
2018-04-04 20:22:40 -07:00
parent 939ff19991
commit ff2121fbb9
5 changed files with 248 additions and 95 deletions

View File

@@ -31,11 +31,12 @@ var (
// Root wraps all other configurations.
type Root struct {
LogLevel string `required:"true" default:"info" desc:"debug, info, warn, or error"`
SMTP SMTP
POP3 POP3
Web Web
Storage Storage
LogLevel string `required:"true" default:"info" desc:"debug, info, warn, or error"`
MailboxNaming string `required:"true" default:"local" desc:"local or full"`
SMTP SMTP
POP3 POP3
Web Web
Storage Storage
}
// SMTP contains the SMTP server configuration.