-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.yaml
94 lines (81 loc) · 2.71 KB
/
example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
config:
database:
accounts:
# every IMAP account starts with a name
GMail:
# the following fields must be provided:
# imap_server
# username
# password
enabled: true
imap_server: imap.gmail.com
smtp_server: smtp.gmail.com
smtp_port: 465
username: your@email
password: yourpass
ssl: true
rules:
# every rule must have a name
# only use [a-zA-Z0-9 @], end the name with a :
Test 0001:
enabled: false
filter:
folder: "[Gmail]/Spam"
from: "ray"
subject: 'AND sunglasses'
action:
action-type: test
contact-bounces@listserver:
enabled: false
filter:
folder: 'Inbox'
from: contact-bounces@listserver
subject: "'moderator request'"
body: "'spam me'"
action:
action-type: mailman2
mailman-password: mailmanpass
mailman-action: discard
mailman-subject: 'spam me'
delete-after: true
contact-owner@listserver:
enabled: true
filter:
folder: 'Inbox'
from: "'contact-bounces@listserver'"
body: "'spam me'"
action:
action-type: majordomo
action-url: https://listserver/mj/mj_confirm/domain
majordomo-action: reject-quiet
remember: false
delete-after: true
Spam 0001:
enabled: true
filter:
folder: '[Gmail]/Spam'
body: "'need a load'"
action:
action-type: delete
Important Message:
enabled: true
filter:
folder: 'Inbox'
from: accountant@company
action:
action-type: forward
recipient: ceo@company
remember: true
delete-after: false
Delete expired pglister moderation emails:
enabled: true
filter:
folder: 'Inbox'
from: [email protected]
subject: "'Moderation notice for ...'"
action:
action-type: pglister
pglister-action: cleanup
delete-after: false
Another account:
...