nthmail/README.md
Guilherme Rugai Freire 6a523addb8
remove server restart TODO
if either the web server or mail server cannot handle an error and
returns it, the whole process will stop. If you start the container
with --restart=always the server will get back up after crashing
2024-07-21 02:29:32 -03:00

536 B

Nothing Mail

A temporary email service

Getting Started

Compiling

Requirements:

  • Golang
  • Templ
  • Make
make

Creating a database:

Requirements:

  • SQLite
cat migration.sql | sqlite3 db.db

Running:

Available env variables:

  • WEB_SERVER_PORT
  • MAIL_SERVER_PORT
  • MAIL_SERVER_DOMAIN
  • DB_PATH
./bin/server

TODO

  • Handle attachments
  • Do not store the raw mail data in the DB, maybe use block storage (the provider can be a disk provider at first)
  • Cache in general?