awerner / pymime Goto Github PK
View Code? Open in Web Editor NEWA email transformation script in python
Home Page: awerner.github.com/pymime
License: GNU General Public License v3.0
A email transformation script in python
Home Page: awerner.github.com/pymime
License: GNU General Public License v3.0
currently attachments are silently dropped, there is no indication when an attachment was removed.
Person sens mail with png and zip attachment, png is allowed, zip is not โ attachment-page will only show the png, but nowhere it mentions the zip attachment.
Ideally, it would list the attachments and their status in the mail itself, and not only in the attachment-system.
something like
Attachments <url to attachment-system>:
foobar.png - stored (expires: <somedate>)
barfoo.zip - rejected (filetype not allowed)
would be my idea of it...
rejection reasons could be one of filetype not allowed, size limit exceeded, virus found, or something like that
Provide the ability to request deletion of files via the Webinterface.
This makes it easier to understand the concept of "keep" vs "store", i.e. that it only applies to messages that did pass the previous criteria (the whitelist/blacklist)
If pymimec cannot establish a connection to pymimed, is should be able to notify the admins via mail or start pymimed itself if running on the same system.
From: Header should be decoded.
Available Headers should be decoded for Footer Templates.
This allows extensions such as .PNG, .Jpeg, .Jpg etc. pp.
deny/allow is confusing as to how the system works, "whitelist" or "blacklist" makes the purpose easier to grasp for the small minded like myself.
This allows To: headers like this: Name [email protected]
Even if all attachments are blacklisted, the store function gets called with an empty attachment list.
This removes the necessity to restart pymimed on every configuration change.
pymimed should daemonize itself by double forking. A pid file should be written to /var/run/pymimed.pid by default.
Please add inheritance of a default-policy to other policies
e.g. [policy-default] 's values shall apply to all custom policies unless explicitly overridden.
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.