aboutsummaryrefslogtreecommitdiffstats
path: root/isync
diff options
context:
space:
mode:
authorYann Herklotz <git@ymhg.org>2019-04-21 10:41:21 +0100
committerYann Herklotz <git@ymhg.org>2019-04-21 10:41:21 +0100
commit3e3c75c1ee9bfd8df90103444bcb1fc1d1cc5b6f (patch)
treeb7d9c2fb8a5d82730531621b88d8b949e861a303 /isync
parenta8cf937a702a645757c81682c8011ea539ee50b1 (diff)
downloaddotfiles-3e3c75c1ee9bfd8df90103444bcb1fc1d1cc5b6f.tar.gz
dotfiles-3e3c75c1ee9bfd8df90103444bcb1fc1d1cc5b6f.zip
Add Expunge and max messages to download
Diffstat (limited to 'isync')
-rw-r--r--isync/.mbsyncrc11
1 files changed, 10 insertions, 1 deletions
diff --git a/isync/.mbsyncrc b/isync/.mbsyncrc
index 6827fb7..b9d95f2 100644
--- a/isync/.mbsyncrc
+++ b/isync/.mbsyncrc
@@ -21,7 +21,7 @@ CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPAccount mailbox
Host imap.mailbox.org
Port 993
-User yannherklotzgrave@mailbox.org
+User ymherklotz@mailbox.org
PassCmd "gpg -q --pinentry-mode loopback --for-your-eyes-only --no-tty --passphrase-file ~/.config/.yann --batch --yes -d ~/.authmail.gpg"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
@@ -59,6 +59,9 @@ Patterns "[Gmail]/Sent Mail" "[Gmail]/Drafts" "[Gmail]/Trash" INBOX MyArchive
Create Both
# Save the synchronization state files in the relevant directory
SyncState *
+MaxMessages 100
+ExpireUnread no
+Expunge Both
Channel imperial
Master :imperial-remote:
@@ -66,6 +69,9 @@ Slave :imperial-local:
Patterns "Sent Items" MyArchive "Deleted Items" INBOX Drafts
Create Both
SyncState *
+MaxMessages 100
+ExpireUnread no
+Expunge Both
Channel mailbox
Master :mailbox-remote:
@@ -73,3 +79,6 @@ Slave :mailbox-local:
Patterns *
Create Both
SyncState *
+MaxMessages 100
+ExpireUnread no
+Expunge Both \ No newline at end of file