aboutsummaryrefslogblamecommitdiff
path: root/proton_sieve/filter.sieve
blob: 81776bf7594cd1794d7a4c19c9fad6c2a1bfc177 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 ;
}