22 lines
487 B
Markdown
22 lines
487 B
Markdown
|
# Crockery design
|
||
|
|
||
|
We need:
|
||
|
|
||
|
* SMTP server
|
||
|
* Receive emails -> middlewares -> storage
|
||
|
* https://github.com/emersion/go-smtp ?
|
||
|
* IMAP server
|
||
|
* Receive logins
|
||
|
* HTTP server
|
||
|
* Serve autodiscovery bumpf
|
||
|
* ActiveSync protocol
|
||
|
* Storage
|
||
|
* Accounts
|
||
|
* Passwords!
|
||
|
* Emails
|
||
|
* TLS keys + certificates
|
||
|
* Search emails - some sort of inverted index necessary
|
||
|
* https://github.com/blevesearch/bleve ?
|
||
|
* Embedded database best. Ideally we have a single file to work with
|
||
|
|