blob: e77f39506347fc419cc38f4ba9abb1e6eef2d36d (
plain)
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
|
[global]
mail_mover_kind = query
[SpamFilter]
[KillThreadsFilter]
[ListMailsFilter]
[ArchiveSentMailsFilter]
[InboxFilter]
[FolderNameFilter]
folder_explicit_list = archive drafts sent spam "probably-spam"
[MailMover]
folders = inbox archive spam
rename = True
#max_age = 15
inbox = 'tag:spam':spam 'NOT tag:inbox AND NOT tag:spam':archive
archive = 'tag:spam':spam
spam = 'NOT tag:spam AND tag:inbox':inbox 'NOT tag:spam AND NOT tag:inbox':archive
[QueryMailMover]
rules = spam archive
rename = True
spam = 'tag:spam AND NOT folder:spam':spam 'tag:learn-spam AND NOT folder:learn-spam':learn-spam
archive = 'tag:archive AND NOT folder:archive':archive
'folder:spam AND NOT tag:spam':archive
'folder:inbox AND NOT tag:inbox AND NOT tag:learn-spam':archive
# vim: ft=conf
|