2023-06-15 17:08:49 +00:00
|
|
|
#
|
|
|
|
|
# Example Sieb configuration file.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2023-06-29 12:58:42 +00:00
|
|
|
# Rules tried before global filtering.
|
|
|
|
|
#
|
2023-06-21 03:02:52 +00:00
|
|
|
early_rules:
|
|
|
|
|
-
|
2023-06-29 12:58:42 +00:00
|
|
|
match:
|
|
|
|
|
TO: ahlon@(laika|ravn|martini)
|
2023-06-21 03:02:52 +00:00
|
|
|
filter:
|
|
|
|
|
- [ reformail, -A, "X-Sieb: This matched." ]
|
|
|
|
|
deliver: .whatever
|
2023-06-15 17:08:49 +00:00
|
|
|
|
2023-06-21 03:02:52 +00:00
|
|
|
## Filter message before additional rules.
|
|
|
|
|
filter:
|
2023-06-21 04:14:54 +00:00
|
|
|
- [ reformail, -A, "X-Sieb: Processed!" ]
|
2023-06-15 17:08:49 +00:00
|
|
|
|
|
|
|
|
## Ordered, top down, first match wins.
|
|
|
|
|
## Headers are lowercased. Multiple matches are AND'ed.
|
|
|
|
|
##
|
|
|
|
|
## Delivery default is ~/Maildir, any set value is an auto-created maildir under
|
|
|
|
|
## that path.
|
|
|
|
|
##
|
2023-06-21 04:14:54 +00:00
|
|
|
rules:
|
|
|
|
|
-
|
2023-06-29 12:58:42 +00:00
|
|
|
match:
|
|
|
|
|
x-one: global
|
|
|
|
|
-
|
|
|
|
|
match:
|
|
|
|
|
Subject: .*\s+corepacket\s+.*
|
|
|
|
|
deliver: .balls
|
|
|
|
|
filter:
|
|
|
|
|
- [ reformail, -A, "X-Sieb: Boom!" ]
|
|
|
|
|
-
|
|
|
|
|
match:
|
|
|
|
|
x-three: global
|
|
|
|
|
|
2023-06-18 02:37:25 +00:00
|
|
|
|
|
|
|
|
# # Magic "TO" which means To: OR Cc:
|
|
|
|
|
# -
|
|
|
|
|
# headers:
|
|
|
|
|
# TO: regexp
|
|
|
|
|
# deliver: .whereever
|
|
|
|
|
|
|
|
|
|
# # Filter message through reformail, then deliver to ~/Maildir.
|
|
|
|
|
# -
|
|
|
|
|
# headers:
|
|
|
|
|
# x-what: fuckery
|
|
|
|
|
# filter: reformail ...
|
2023-06-15 17:08:49 +00:00
|
|
|
|
|
|
|
|
|