chillout2k / gulag Goto Github PK
View Code? Open in Web Editor NEWGulag quarantine
Gulag quarantine
Images should be built for cross-stage deployments
Compare new incoming email messages against quarantined messages by SSDEEP. Finally, let the MTA decide to accept, or to reject (soft/hard) the incoming email.
For webmail based access to the quarantine
Dockerize it
The admin's API key is the only one, which is managed outside the app. All other API keys should be managed by REST API and stored in backend (database)
prevent DoS
Gulag quarantine should not rely on an external IMAP server. The base config could consist of at least two accounts, one for inbound and the other one for outbound quarantine mailbox. Both email addresses should be configured by ENV vars as well as their passwords. All account information will be stored in a passwd like file dedicated for dovecot.
See decoded contents without opening quarantined mail
Check if DB is initialized (select something expected from DB?) in entrypoint and source /gulag.sql if necessary.
The original email gets wrapped by an outer message with details on the exception/reasons of failure. Currently the IMAP UID-MOVE command is being used, which made it necessary to upgrade the docker base image to debian:buster (python 3.7), as the imaplib module on debian:stretch (python 3.5) does not support the MOVE command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.