Browse Source

Add example mbsync config

Peter Colberg 3 years ago
parent
commit
32b63009ff
1 changed files with 25 additions and 0 deletions
  1. 25
    0
      examples/antispam/mbsyncrc

+ 25
- 0
examples/antispam/mbsyncrc View File

@@ -0,0 +1,25 @@
1
+# ~/.mbsyncrc
2
+## Configuration file for mbsync - synchronize IMAP4 and Maildir mailboxes.
3
+
4
+MaildirStore laptop
5
+Path ~/Mail/
6
+Inbox ~/Mail/INBOX
7
+Flatten .
8
+
9
+IMAPStore server
10
+Tunnel "eval `keychain --quiet --eval` && ssh -q imap.example.org '/usr/lib/dovecot/imap 2>/dev/null'"
11
+
12
+Channel mail
13
+Master :server:
14
+Slave :laptop:
15
+Patterns % !Spam !Trash lists/*
16
+Create Slave
17
+#Expunge Both
18
+
19
+Channel spam
20
+Master :server:
21
+Slave :laptop:
22
+Patterns Spam
23
+Sync PushNew PullDelete PullFlags
24
+Create Slave
25
+#Expunge Both

Loading…
Cancel
Save