A vertical email slice written in Go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.2KB

Crockery design

Overview

We need:

Database structure

I'm not sure what storm does under the hood. It seems clever. We have the following, though:

  • K-V store
    • config/domain
    • domains/<domain>/config/cert
    • domains/<domain>/config/key
  • ORM
    • Account
      • Username
      • Admin
      • Wildcard
      • PasswordHash

I don't seem to be able to get accounts for a list of usernames very easily, or indexed-ly.

Messages are stored in a traditional Maildir structure structure following a <home>/mailboxes/<domain>/<username> hierarchy.