systemli / mail-tls-helper Goto Github PK
View Code? Open in Web Editor NEWPostfix helper for mandatory TLS
Postfix helper for mandatory TLS
Apparantently a no-TLS whitelist is needed, e.g. when the mailserver uses onion-MX.
Ideas are:
I think having alerts = False
would be a more sensible default.
It would be great if we could somehow use their list also. Although it's quite short at the moment.
Maybe we could fetch and parse it with starttls-policy. Then merge with our list.
@sumpfralle I think one of your commits introduced the wrong calculation
Summary mail by mail-tls-helper on mail
Total count of sent messages: 6208
Total count of messages sent with TLS: 6179
Total count of messages sent with Tor: 0
Total count of messages sent unencrypted: 29
Percentage of messages sent unencrypted: 0.00%
should be 0,46
Summary mail by mail-tls-helper on mail
Total count of sent messages: 5189
Total count of messages sent with TLS: 5163
Total count of messages sent with Tor: 0
Total count of messages sent unencrypted: 26
Percentage of messages sent unencrypted: 0.01%
should be 0,5
To be removed:
To be added:
mail-tls-helper
should allow for aggregation of statistics in database to support separated runs for log processing and for sending summary mails.
Rationale: At the moment, the summary mail is sent out immediately. This works well when mail-tls-helper
is run weekly by logrotate. But for daily log rotation, this becomes annoying quickly.
We should support aggregation of the stats in the database and delayed sending of the summary mail via commandline options.
Postfix doesn't do it in the logs
Hello,
I intend to add a munin plugin for the visualization of the numbers of mail submitted by transport security ("plain", "onion" and "tls"). Maybe we can exchange some thoughts about that (before I head into the wrong/unwanted direction.
nargs
in argparseOr do you have other ideas how to approach this?
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.