Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 770 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 770 Bytes

Readme

Linux MailDB will create an in-memory DB (using FxHashMap) by reading the configured mail files once upon starting.
It will then start tailing the configured tail files for further updates.

The DB can be queried, e.g.:

curl 'localhost:8080/[email protected]'
curl 'localhost:8080/[email protected]?subject_filter=test subject'

Or, to retrieve all mails that have a subject:

curl 'localhost:8080/[email protected]?subject_filter='

Building

Building happens with buildx due to heredoc contained in Dockerfile.

docker buildx build -t linux-mail-db .

Disclaimer

I've made this to assist sys admins or support teams in debugging mail issues.