Skip to content

Linux MailDB will create an in-memory DB (using FxHashMap) by reading the configured mail files once upon starting, and then tailing the files for further updates. This DB can then be queried. Made to assist sys admins or support teams in debugging mail issues.

Notifications You must be signed in to change notification settings

hb0nes/linux_mail_db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/find_mail?email_address_filter=test@email.com'
curl 'localhost:8080/find_mail?email_address_filter=test@email.com?subject_filter=test subject'

Or, to retrieve all mails that have a subject:

curl 'localhost:8080/find_mail?email_address_filter=test@email.com?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.

About

Linux MailDB will create an in-memory DB (using FxHashMap) by reading the configured mail files once upon starting, and then tailing the files for further updates. This DB can then be queried. Made to assist sys admins or support teams in debugging mail issues.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published