Created
February 28, 2024 14:59
-
-
Save frederikstroem/af4d14b80232ebed904183d89fd5c106 to your computer and use it in GitHub Desktop.
SimpleLogin auto-label Sieve filter (created & tested for ProtonMail)
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
# `envelope` command `from` retrieves `return-path` header, e.g. "4very3random2string1@simplelogin.co". | |
# Sources: | |
# - https://proton.me/support/sieve-advanced-custom-filters | |
# - https://simplelogin.io/docs/getting-started/troubleshooting/ | |
# Require `envelope` and `fileinto` extensions. | |
require ["fileinto", "envelope"]; | |
# Emails from SimpleLogin domains are filed into "SimpleLogin". | |
if envelope :domain :is "from" ["simplelogin.co", "simplelogin.io"] { | |
fileinto "SimpleLogin"; # Label/move to "SimpleLogin". | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment