Commit Graph

7 Commits

Author SHA1 Message Date
Guilherme Rugai Freire
ed82c38af4
add script to delete old mail
currently, the script is hardcoded for emails older than 1 day

this is a script because it is a simple operation and probably will be
called by a cronjob
2024-02-20 02:09:46 -03:00
Guilherme Rugai Freire
4ed9c46923
add route to list rcpt_addr's mails as json 2024-02-20 01:56:39 -03:00
Guilherme Rugai Freire
43a8d7addf
remove useless port checking from mail server 2024-02-20 01:08:39 -03:00
Guilherme Rugai Freire
5767f9d594
add simple web server 2024-02-20 01:08:13 -03:00
Guilherme Rugai Freire
6e0e577916
make mail server addr and port dinamically via env 2024-02-20 00:45:32 -03:00
Guilherme Rugai Freire
7e8327fd0d
remove inboxes table and add arrived_at column
there is no current need to have a separate table for keeping track of
the inboxes, since all emails are getting stored upon arrival and anyone
can access all mails from any rcpt address.

also, added a arrived_at column, as a utc unix timestamp. This serves
the obvious reason to have a ts on an email, but also allows this
service to delete old mail.
2024-02-20 00:42:00 -03:00
Guilherme Rugai Freire
369115d781
initial commit 2024-02-18 01:26:53 -03:00