-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
draft: article about email aliases #46
Draft
renoirb
wants to merge
1
commit into
2020
Choose a base branch
from
blog-post-draft-1
base: 2020
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
91 changes: 91 additions & 0 deletions
91
...il-and-simplelogin-to-sort-automatically-into-inbox-folders-based-local-part.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,91 @@ | ||||||||||||
--- | ||||||||||||
title: | ||||||||||||
Managing Email Aliases with ProtonMail and SimpleLogin to sort automatically | ||||||||||||
into inbox folders based local part | ||||||||||||
locale: en-CA | ||||||||||||
date: &createdAt '2024-03-03T20:55:06-04:00' | ||||||||||||
createdAt: *createdAt | ||||||||||||
preamble: | ||||||||||||
disable: true | ||||||||||||
text: ' ' | ||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||
categories: | ||||||||||||
- Organisation | ||||||||||||
tags: | ||||||||||||
- favourites | ||||||||||||
--- | ||||||||||||
|
||||||||||||
I've been using ProtonMail for my email needs for quite some time now. Recently, | ||||||||||||
I stumbled upon an intriguing feature: the ability to use our own domain names | ||||||||||||
for email aliases, not just those provided by SimpleLogin and Proton. This | ||||||||||||
discovery prompted me to make the switch, and I haven't looked back since. | ||||||||||||
|
||||||||||||
At first I liked the idea of email aliases but would not consider using anything | ||||||||||||
and have recovery lost over time because I didn't own the domain name. Don’t get | ||||||||||||
me wrong, SimpleLogin aliases are great and their best use-case is for privacy, | ||||||||||||
to hide your real email. An account alias is a bit different. | ||||||||||||
|
||||||||||||
Let's backtrack a bit. Over the years, we've witnessed numerous breaches of | ||||||||||||
security. With LastPass’ getting all their vaults backups copied by attackers, | ||||||||||||
it was a wake up call for me to review my accounts. If you've had an email | ||||||||||||
address for more than a decade, chances are it's already on multiple lists | ||||||||||||
floating around the internet. One effective strategy to combat identity theft is | ||||||||||||
to adopt strong passwords managed by a reliable password manager. However, when | ||||||||||||
it comes to safeguarding against identity theft and unsolicited emails (spam), | ||||||||||||
what else can we do? | ||||||||||||
|
||||||||||||
Enter the concept of email aliases. By having a different email address for | ||||||||||||
every service or provider we interact with, we can effectively manage our online | ||||||||||||
presence and minimize the risk of spam. With services like ProtonMail and | ||||||||||||
SimpleLogin, creating aliases is quick and easy. This way, if a service or alias | ||||||||||||
starts receiving spam, we can simply disable it and generate a new one. | ||||||||||||
|
||||||||||||
As part of my alias strategy, I've adopted the Proton Pass format, which allows | ||||||||||||
for a random component alongside a designated name for the purpose. For example, | ||||||||||||
`<service>.<something random>@alias.example.org`. To streamline the organization | ||||||||||||
of these aliases, I've developed a Sieve script that automatically sorts | ||||||||||||
incoming emails into appropriate folders. | ||||||||||||
|
||||||||||||
```sieve | ||||||||||||
require ["include", "environment", "variables", "relational", "comparator-i;ascii-numeric", "spamtest"]; | ||||||||||||
|
||||||||||||
require "envelope"; | ||||||||||||
require "fileinto"; | ||||||||||||
require "variables"; | ||||||||||||
require "regex"; | ||||||||||||
|
||||||||||||
# Copy-Pasta BEGIN | ||||||||||||
# This is recommended to be included in any custom sieve within Proton | ||||||||||||
# Generated: Do not run this script on spam messages | ||||||||||||
if allof (environment :matches "vnd.proton.spam-threshold" "*", spamtest :value "ge" :comparator "i;ascii-numeric" "${1}") { | ||||||||||||
return; | ||||||||||||
} | ||||||||||||
# Copy-Pasta END | ||||||||||||
|
||||||||||||
if address :matches :domain ["to", "cc", "bcc"] "alias.example.org" { | ||||||||||||
if address :matches :localpart "to" "*.*" { | ||||||||||||
# Make sure label Caught-by-sieve-alias exists | ||||||||||||
fileinto "Caught-by-sieve-alias"; | ||||||||||||
set "local_part" "${1}"; | ||||||||||||
set :lower "local_part" "${local_part}"; | ||||||||||||
set "pigeon_hole" "${local_part}"; | ||||||||||||
# Create the mailbox if it doesn't exist and file the email into it | ||||||||||||
# Make sure folder Boxes exists | ||||||||||||
fileinto "Boxes"; | ||||||||||||
# Proton doesn’t support fileinto :create, instead give a parent, and tentatively try in pigeonhole | ||||||||||||
fileinto "Boxes/${pigeon_hole}"; | ||||||||||||
} | ||||||||||||
} | ||||||||||||
``` | ||||||||||||
|
||||||||||||
This Sieve script effectively sorts incoming emails based on their alias | ||||||||||||
pattern. Emails with aliases like `[email protected]` or | ||||||||||||
`[email protected]` are grouped under the "Box/amazon" | ||||||||||||
directory, while emails like `[email protected]` are filed directly | ||||||||||||
into the "Box" directory. | ||||||||||||
|
||||||||||||
By automating this organization process, I can maintain a clutter-free inbox and | ||||||||||||
ensure that important emails are readily accessible. | ||||||||||||
|
||||||||||||
[lessons-from-lastpass]: | ||||||||||||
https://proton.me/blog/lessons-from-lastpass | ||||||||||||
'Lessons from LastPass' |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.