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
|
|
|
|
|
|
|
|
## Filter message before rules
|
2023-06-18 02:37:25 +00:00
|
|
|
pre_filter:
|
2023-06-20 11:26:41 +00:00
|
|
|
- 'reformail -A "X-Sieb: Pre-filtered!"'
|
|
|
|
|
# - bogofilter
|
2023-06-15 17:08:49 +00:00
|
|
|
|
|
|
|
|
## Filter message after rules
|
|
|
|
|
#post_filter:
|
|
|
|
|
# - bogofilter
|
|
|
|
|
|
|
|
|
|
## 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-18 02:37:25 +00:00
|
|
|
rules:
|
|
|
|
|
-
|
|
|
|
|
headers:
|
|
|
|
|
x-what: pcre-matcher
|
|
|
|
|
poonie: pcre-matcher
|
|
|
|
|
deliver: .whatever
|
|
|
|
|
|
|
|
|
|
# # 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
|
|
|
|
|
|
|
|
|