A disposable, temporary and private mail address!
Go to file
Guilherme Rugai Freire d385bbf906
only allow mails to addresses that contain the mail server domain
there were some mails coming in that was not for any temp mail addr,
it was like spam@otherdomain.com, but still reaching the database. This
should prevent this.
2024-07-21 20:15:25 -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 only allow mails to addresses that contain the mail server domain 2024-07-21 20:15:25 -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?