mirror of
https://github.com/GRFreire/nthmail.git
synced 2026-01-09 21:09:39 +00:00
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
44 lines
536 B
Markdown
44 lines
536 B
Markdown
# Nothing Mail
|
|
|
|
A temporary email service
|
|
|
|
## Getting Started
|
|
|
|
### Compiling
|
|
|
|
Requirements:
|
|
- Golang
|
|
- Templ
|
|
- Make
|
|
|
|
```sh
|
|
make
|
|
```
|
|
|
|
### Creating a database:
|
|
|
|
Requirements:
|
|
- SQLite
|
|
|
|
```sh
|
|
cat migration.sql | sqlite3 db.db
|
|
```
|
|
|
|
### Running:
|
|
|
|
Available env variables:
|
|
- WEB_SERVER_PORT
|
|
- MAIL_SERVER_PORT
|
|
- MAIL_SERVER_DOMAIN
|
|
- DB_PATH
|
|
|
|
```sh
|
|
./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?
|