Re:Deploy a Gmail-like email server in 30 (ish) minutes
by speedgoose on Sunday December 26, 2021 @11:09AM
(#29693545)
Your solution makes a lot of sense if sending emails through AWS is acceptable, but I'm not sure we can say it's self-hosted.
[ Parent
| on HN ]
Re:Deploy a Gmail-like email server in 30 (ish) minutes
by xanaxagoras on Sunday December 26, 2021 @01:03PM
(#29694704)
When you send an e-mail, as soon as it leaves your mail server it's out of your control and you have no say in where it goes before it ends up at the recipient. There's no such thing as self hosted sent e-mail.
Re:Deploy a Gmail-like email server in 30 (ish) minutes
by speedgoose on Sunday December 26, 2021 @01:33PM
(#29695032)
Sending an email through AWS has strong implications regarding privacy though.
Re:Deploy a Gmail-like email server in 30 (ish) minutes
by teitoklien on Sunday December 26, 2021 @02:17PM
(#29695374)
Chances are you’re already compromised eitherways , most mailservers interact with you over STARTTLS, which means any middleman/isp can strip your tls encryption on your emails, midway while you’re reading them over imap. (ISPs worldwide have been caught doing this before)
Most providers do not mandate a strong SSL only imap system.
Along with other similar caveats, do not depend on your mail system to keep your emails private.
If you want privacy, encrypt your emails yourself.
Also most people who selfhost their email usually do not encrypt data at rest. As its not the default norm. As such anyone having access to your disk can compromise you at anytime too (especially likely if you’re using a vps).
So, unless youre encrypting your emails yourself E2E. Assume you have no privacy. If you’re doing E2E, aws cannot decrypt your mails anyways.
Re:Deploy a Gmail-like email server in 30 (ish) minutes
by AshamedCaptain on Sunday December 26, 2021 @06:05PM
(#29697233)
There is a large difference between "them" having to m2m smtp sessions to intercept emails versus directly sending the emails through them.
Besides, metadata is probably already more significant than the message contents and encrypyion solves nilch there.
Re:Deploy a Gmail-like email server in 30 (ish) minutes
by teitoklien on Sunday December 26, 2021 @08:05PM
(#29697950)
they m2m the imap sessions using the method i described not smtp.
Re:Deploy a Gmail-like email server in 30 (ish) minutes
by BusyLurker3K on Sunday December 26, 2021 @01:48PM
(#29695145)
The odds of the emails going through AWS, GCE, or Azure infrastructure in one form or another is probably pretty damn high even if you host your own SMTP service.
Re:Deploy a Gmail-like email server in 30 (ish) minutes
by speedgoose on Sunday December 26, 2021 @02:16PM
(#29695358)
Yes but that's the recipient choice. I'm not responsible if they use American cloud providers for their emails, but I am for the ones I send.
Re:Deploy a Gmail-like email server in 30 (ish) minutes
by BusyLurker3K on Sunday December 26, 2021 @03:06PM
(#29695817)
Sure, then you can use whatever SMTP option that is best for you. Some people are fine with using American cloud providers and some are not. If they are technical enough to host their own email server, they are more than likely to understand what choices they are making.
Re:Deploy a Gmail-like email server in 30 (ish) minutes
by speedgoose on Sunday December 26, 2021 @04:23PM
(#29696515)
My main point was that sending email using AWS SES is not self hosting. Like hosting a website on S3 + CloudFront is not.
Re:Deploy a Gmail-like email server in 30 (ish) minutes
by xanaxagoras on Monday December 27, 2021 @12:37PM
(#29704605)
If you run your own incoming mail, nobody but you has a copy of your entire mail archive and you are self-hosting that data. It can't be handed over to the government, it can't be sold, it can't be analyzed by gmail, etc. That's where the big win is. If you send e-mail using SES, that's one untrusted hop out in front of an unknown number of untrusted hops that you can't opt into or out of - there's little practical difference. The privacy win come from hosting your own data, not your own smtp server with a carefully curated reputation that you spend hundreds of hours a year working on.
Re:Deploy a Gmail-like email server in 30 (ish) minutes
by BusyLurker3K on Monday December 27, 2021 @12:03PM
(#29704224)
That is _your_ definition of self-hosting. Do you rely on an entity for your internet connection? At some point, you _will_ need to rely on someone else's infrastructure.