-
Notifications
You must be signed in to change notification settings - Fork 1
/
offlineimaprc
32 lines (27 loc) · 983 Bytes
/
offlineimaprc
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
# Feel free to modify this file to your needs
# See https://github.com/OfflineIMAP/offlineimap/blob/master/offlineimap.conf for a full reference
[general]
accounts = Protonmail
metadata = ./offlineimap-metadata
[Account Protonmail]
localrepository = ProtonmailLocal
remoterepository = ProtonmailRemote
# Feel free to change this, or disable it by commenting it out
postsynchook = notify-send 'Protonmail export done'
[Repository ProtonmailLocal]
type = Maildir
localfolders = ./protonmail-export
# If you (accidentally) delete mail locally, it won't get synced to Protonmail
sync_deletes = no
[Repository ProtonmailRemote]
type = IMAP
# Change this to the value provided in the Protonmail bridge
remoteuser = [email protected]
remotehost = localhost
remoteport = 1143
ssl = no
starttls = no
# If you delete mail on Protonmail, this deletion also get's synced to the archive
expunge = yes
# Don't try to sync local changes to Protonmail, we just want a backup
readonly = True