aboutsummaryrefslogtreecommitdiff
path: root/proton_sieve
diff options
context:
space:
mode:
authorBrian Woods2023-02-06 19:50:14 -0500
committerBrian Woods2023-02-06 19:50:14 -0500
commitd332a99154945cfebadbf01b56f6033467e1c5ef (patch)
tree9c867d2e215e5b793d374959da8d694aa09ed80f /proton_sieve
init push
Added: firejail - just scripts for firejail options l2w_snd - piping sound from linux to windows over the network misc_scripts - misc scripts.... proton_sieve - proton sieve file for mainbox sorting sys_ctrl - system control scripts
Diffstat (limited to 'proton_sieve')
-rw-r--r--proton_sieve/filter.sieve15
1 files changed, 15 insertions, 0 deletions
diff --git a/proton_sieve/filter.sieve b/proton_sieve/filter.sieve
new file mode 100644
index 0000000..81776bf
--- /dev/null
+++ b/proton_sieve/filter.sieve
@@ -0,0 +1,15 @@
+# SPDX-FileCopyrightText: 2023 Brian Woods
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+require "fileinto";
+
+# anything directly to the users goes into the inbox
+if header :contains ["To", "Cc", "Bcc"] "CHANGEME@protonmail.com" {
+ stop;
+}
+# example of putting a list in directory
+elsif header :contains ["List-Id"] "xen-devel.lists.xen.org" {
+ fileinto "Folders/xen-devel" ;
+ stop ;
+}
+