Files
crockery/DESIGN.md
Nick Thomas 3ad8c6f59f First split into crockery init and crockery run
The init command creates a crockery.db file containing the domain name and
TLS keypair. The run command starts IMAP and SMTP services based on that file.

Supporting only a single domain is starting to look a bit unnecessary. We'll
see how that goes.
2018-03-05 22:29:31 +00:00

797 B

Crockery design

Overview

We need:

Database structure

config/
  domain: "example.com"
domains/
  example.com/
    accounts/
      foo@example.com/
        config/
        emails/
    config/
      key: []byte(...)
      cert: []byte(...)