A disposable, temporary and private mail address!
Go to file
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
bin add templ and initial frontend code 2024-02-20 16:13:44 -03:00
cmd/server add dockerfile 2024-07-10 22:15:18 -03:00
pkg make mail responsive 2024-07-21 02:14:16 -03:00
.gitignore enable wal mode 2024-07-10 19:07:24 -03:00
delete_old_mail.sh add an optinal rcpt_addr to not delete mails 2024-07-20 00:26:12 -03:00
Dockerfile add dockerfile 2024-07-10 22:15:18 -03:00
format.sh add go fmt format.sh script 2024-07-10 19:01:31 -03:00
go.mod add dockerfile 2024-07-10 22:15:18 -03:00
go.sum add dockerfile 2024-07-10 22:15:18 -03:00
Makefile integrate web and mail server 2024-07-10 16:56:46 -03:00
migration.sql parse mail subject when receiving and saving to db 2024-07-18 22:10:35 -03:00
README.md remove server restart TODO 2024-07-21 02:29:32 -03:00
run-dev.sh integrate web and mail server 2024-07-10 16:56:46 -03:00

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?