From 868c33564d78b28f468f146b69d1d7d316c1b502 Mon Sep 17 00:00:00 2001 From: Aidan Date: Thu, 5 Dec 2024 10:11:58 -0500 Subject: [PATCH] add privacy page --- app.js | 4 ++++ src/privacy.ejs | 41 +++++++++++++++++++++++++++++++++++++++++ src/shards/nav.ejs | 5 +++++ 3 files changed, 50 insertions(+) create mode 100644 src/privacy.ejs diff --git a/app.js b/app.js index bcb027d..3fef52a 100644 --- a/app.js +++ b/app.js @@ -78,6 +78,10 @@ app.get('/donate', (req, res) => { }); }); +app.get('/privacy', (req, res) => { + res.render('privacy', { currentPage: 'privacy' }); +}); + const PORT = process.env.PORT || 3000; app.listen(PORT, () => { console.log(`Server is running on port ${PORT}`); diff --git a/src/privacy.ejs b/src/privacy.ejs new file mode 100644 index 0000000..bc26970 --- /dev/null +++ b/src/privacy.ejs @@ -0,0 +1,41 @@ +<%- include('shards/header', { title: 'Privacy - p0ntus mail' }) %> +
+ <%- include('shards/nav', { currentPage: 'privacy' }) %> + What we collect +
+

Our system collects automatically:

+ +

What I collect by choice:

+ +

What the admin has access to:

+ + What I do with the data collected +
+

I don't store any of your data for monetary gain or marketing purposes. I have nothing to market to you.

+

I also have no interest in using your data for other purposes than troubleshooting the mail server. Occasionally, I will clean out data and logs.

+

I have no interest in reading your email, and will make no efforts to decrypt your data and read email. No, your email is not safe from the glowies.

+

I will never share your data with third parties unless required by law.

+ Security +
+

I am committed to ensuring that your data is secure. However, I am no security professional.

+

p0ntus mail is powered by Mailcow, running in Docker. I check for updates several times a day.

+

A strong firewall is backing the server. The server is physically located in Michigan, USA.

+

Your emails are stored encrypted and compressed (using LZ4). I, as the server admin, have access to the decryption keys.

+
+<%- include('shards/footer') %> \ No newline at end of file diff --git a/src/shards/nav.ejs b/src/shards/nav.ejs index 30828aa..88fced5 100644 --- a/src/shards/nav.ejs +++ b/src/shards/nav.ejs @@ -22,4 +22,9 @@ <% } else { %> Donate <% } %> + <% if (currentPage === 'privacy') { %> + Privacy + <% } else { %> + Privacy + <% } %> \ No newline at end of file