-
Notifications
You must be signed in to change notification settings - Fork 1
/
pushpull.conf.sample
116 lines (94 loc) · 4.14 KB
/
pushpull.conf.sample
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# Lines beginning with '#' are treated as comment lines.
#
# Keys marked with [tilde-expansion] may have values beginning with ~/
# which will be replaced by the value of the HOME environment variable.
[general]
# After an error, wait this many seconds then start over.
restart_after_error_seconds = 600
[log]
# Path to log file. [tilde-expansion]
file = ~/.config/pushpull/pushpull.log
# Logging level: debug, info, notice, warning, error
level = info
[ssl]
# Path to trusted CA certificates for verification of the IMAP
# server's certificate. [tilde-expansion]
certificate_file = /etc/ssl/certs/ca-certificates.crt
[local]
# Path to a file that will contain the state of the synchronisation
# between Maildir folders and IMAP folders. [tilde-expansion]
# The file contains an SQLite database. Try not to lose it!
state = ~/.config/pushpull/state.db
# Path to top-level Maildir directory. Local folders are stored
# under this directory. [tilde-expansion]
maildir = ~/Maildir
# Whether to call fsync(2) to ensure files are flushed to disk when
# written. This is slower but safer. You may want to temporarily
# disable it when you first retrieve a large number of messages from
# an IMAP server, then re-enable it for future runs.
fsync = yes
# Wait this many seconds before starting a new synchronisation
# cycle, after the local Maildir folder is modified.
quiesce_seconds = 10
# This setting only affects where new message files are stored. If
# enabled, new messages will be stored into one of 256 subfolders
# below the Maildir folder, like this, where XX are two hexadecimal
# digits:
#
# ~/Maildir/foo/XX/cur/message-file
#
# Each such subfolder may be faster to scan than a single folder
# holding all of the message files. However, this storage scheme
# would only be suitable if the Maildir is only accessed through
# certain software (e.g. notmuch).
#
# Note that if you have a folder which HAPPENS to have one or more
# subfolders named XX (two hexadecimal digits) then
# pushpull will assume ...
buckets = no
[imap]
# The IMAP server. The server must support TLS.
host = imap.example.com
# The IMAP server port number (defaults to 993).
port = 993
# Specify the user name for plaintext login.
# Comment this out to use OAuth2 authentication.
login_username = user
# Specify the password for plaintext login.
# Leave it empty if you wish to enter the password interactively.
login_password =
# Specify the user name for OAuth2 authentication.
# Comment this out to use plain authentication.
oauth2_username = [email protected]
# Specify a command for OAuth2 authentication. [tilde-expansion]
# This must generate an OAuth2 access token on standard output.
oauth2_refresh_command = get-oauth2-access-token [email protected]
# Whether to keep the IMAP connection open with the IDLE command
# after a sychronisation cycle.
idle = no
# Re-enter idle mode after this many minutes.
idle_timeout_minutes = 29
# Whether to perform synchronisation after the IDLE command times
# out, even if the IMAP folder does not seem to have changed.
# GMail users may wish reduce idle_timeout_minutes and enable this
# option.
sync_on_idle_timeout = no
[pairing INBOX]
# A local Maildir folder and a remote IMAP folder to synchronise.
# You can define multiple pairings in a single configuration file,
# but only one pairing is synchronised at a time.
# The special IMAP folder name "INBOX" is case-insensitive.
local = INBOX
remote = INBOX
[pairing All Mail]
# Example for GMail users. The prefix differs with locale.
local = All Mail
remote = [Google Mail]/All Mail
[command]
# Command to run after a synchronisation cycle where the local Maildir
# folder is changed. [tilde-expansion]
# e.g. notmuch users may want to run "notmuch new".
# The command should return with exit status 0.
post_sync_local_change =
#-----------------------------------------------------------------------------#
# vim: ft=cfg