2023-06-15 17:08:49 +00:00
|
|
|
#
|
|
|
|
|
# Example Sieb configuration file.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# Default, no logging. Relative to homedir.
|
2023-06-18 02:37:25 +00:00
|
|
|
#logfile: sieb.log
|
2023-06-15 17:08:49 +00:00
|
|
|
|
2023-06-21 03:02:52 +00:00
|
|
|
## Rules tried before global filtering
|
|
|
|
|
early_rules:
|
|
|
|
|
-
|
|
|
|
|
headers:
|
|
|
|
|
to: mahlon@(laika|ravn)
|
|
|
|
|
received: .*sendgrid.*
|
|
|
|
|
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:
|
|
|
|
|
- [ reformail, -A, "X-Sieb: That shit totally matched" ]
|
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 03:02:52 +00:00
|
|
|
# rules:
|
|
|
|
|
# -
|
|
|
|
|
# headers:
|
|
|
|
|
# x-what: pcre-matcher
|
|
|
|
|
# poonie: pcre-matcher
|
|
|
|
|
# deliver: .whatever
|
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
|
|
|
|
|
|
|
|
|