Gentoo Archives: gentoo-user

From: Michael Orlitzky <mjo@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tips on running a mail server in a cheap vps provider run but not-so-trusty admins?
Date: Fri, 28 Aug 2020 21:33:18
Message-Id: 4c5ff278-23fc-c0df-1174-b4f41735409d@gentoo.org
In Reply to: Re: [gentoo-user] tips on running a mail server in a cheap vps provider run but not-so-trusty admins? by Grant Taylor
1 On 2020-08-28 17:12, Grant Taylor wrote:
2 > On 8/28/20 1:54 PM, Poison BL. wrote:
3 >> I'm rather late to the game with this, but at the end of the day,
4 >> mail coming *into* a mail server isn't typically encrypted (and even
5 >> that is only the body, the headers can still reveal a great deal,
6 >> and are necessary for the server to work with it).
7 >
8 > You seem to be referring to S/MIME and / or PGP encryption. You are
9 > correct that S/MIME and PGP don't offer protection for headers.
10 >
11 > However, STARTTLS provides an encrypted channel to protect all of the
12 > SMTP traffic. Thus, even the headers of email are encrypted while in
13 > flight between servers.
14 >
15 >> A packet dump at the switch will turn over every piece of mail you
16 >> receive along the way.
17 >
18 > When STARTTLS is in use, the only thing that you will see is the initial
19 > EHLO and STARTTLS commands. Everything after that will be encrypted
20 > traffic.
21 >
22
23 TLS only secures the channel; what comes out at the end is a plain-text
24 message that can be read with minimal effort by the VPS provider, no
25 skullduggery needed. (And the private key for each TLS session is
26 generated on-the-fly by the VPS anyway, so they could snoop on the
27 channel too if they wanted to.)
28
29 Unless the sender and recipient have some pre-shared secret (like GPG
30 assumes), you're going to fall into the same trap that DRM falls into.
31 The technology provides a way for Alice and Bob to communicate securely
32 in the presence of Eve, but only when Alice, Bob, and Eve are three
33 distinct people. If the VPS is playing the part of both Bob and Eve, an
34 off-the-shelf encryption model isn't going to work.

Replies

Subject Author
Re: [gentoo-user] tips on running a mail server in a cheap vps provider run but not-so-trusty admins? Grant Taylor <gtaylor@×××××××××××××××××××××.net>