summaryrefslogtreecommitdiff
path: root/.mbsyncrc
blob: 3eb4264e6437be04ff86ffc94700947c372dd6e9 (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
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
Create           Near
Expunge          Both
SyncState        *

MaildirStore     pmmaildir
Path             ~/.fmail/
Inbox            ~/.fmail/inbox

IMAPAccount        purelymail
Host               imap.purelymail.com
User               spwhitton@spwhitton.name
AuthMechs          LOGIN
PassCmd            "cat ~/local/auth/fmailsyncpass"
SSLType            IMAPS
SSLVersions        TLSv1.3
SystemCertificates no
CertificateFile    /etc/ssl/certs/ISRG_Root_X1.pem

IMAPStore        pmimap
Account          purelymail

Channel          pmaili
Far              :pmimap:INBOX
Near             :pmmaildir:

Channel          pmails
Far              :pmimap:Sent
Near             :pmmaildir:sent

Channel          pmailj
Far              :pmimap:Junk
Near             :pmmaildir:junk

Channel          pmailt
Far              :pmimap:Trash
Near             :pmmaildir:trash

# notes written on smartphone
Channel          pmailn
Far              :pmimap:Notes
Near             :pmmaildir:notes

Group            purelymail
Channel          pmaili
Channel          pmails
Channel          pmailj
Channel          pmailt
Channel          pmailn

# So long as I'm using a mail provider that supports Sieve, can install this
# to deliver all mail which has a List-Id into a separate Lists folder.  The
# sole purpose of this is to make INBOX more useful when accessing it from
# webmail or other non-notmuch clients, by filtering out the discussion lists
# firehose.  Some mail addressed directly to me has a bogus List-Id header so
# this will misfilter it, so sometimes I will have to look in both folders in
# a non-notmuch client anyway.
#
# My notmuch saved queries know how to handle mailing list and non-mailing
# list List-IDs without relying on the folder:inbox / folder:lists distinction
# at all.  So if a mail provider has no way to install custom sieve scripts,
# it doesn't matter much.  At the present time the script is *not* installed.
# If I find myself having to use webmail a lot more, could create the
# INBOX.Lists folder and install it again.  Cf. ~/doc/archive/fastmail.sieve
# for the most recent more involved script I had installed.

#    if header :regex ["List-Id","List-Post"] ".+"
#    {
#    	fileinto "INBOX.Lists";
#    	stop;
#    }
#    else
#    {
#    	keep;
#    }