Skip to content

Instantly share code, notes, and snippets.

@tknv
Last active June 16, 2022 20:17
Show Gist options
  • Select an option

  • Save tknv/b1f3cc4c59cd5088dad74e425bb1a33f to your computer and use it in GitHub Desktop.

Select an option

Save tknv/b1f3cc4c59cd5088dad74e425bb1a33f to your computer and use it in GitHub Desktop.

Revisions

  1. tknv renamed this gist Nov 18, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .mbsync → .mbsyncrc
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    IMAPAccount work
    Host outlook.office365.com
    User [email protected]
    # PassCmd "pass maill/work-gpg"
    PassCmd "pass mail/work-gpg"
    UseIMAPS yes
    CertificateFile /etc/ssl/certs/ca-certificates.crt

  2. tknv revised this gist Nov 17, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .mbsync
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    IMAPAccount work
    Host outlook.office365.com
    User [email protected]
    # PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mailpass.gpg"
    # PassCmd "pass maill/work-gpg"
    UseIMAPS yes
    CertificateFile /etc/ssl/certs/ca-certificates.crt

  3. tknv revised this gist Nov 17, 2016. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion .mbsync
    Original file line number Diff line number Diff line change
    @@ -20,6 +20,5 @@ Patterns "INBOX" "*"
    # Automatically create missing mailboxes, both locally and on the server
    Create Both
    Sync All
    Expunge Both
    # Save the synchronization state files in the relevant directory
    SyncState *
  4. tknv created this gist Nov 17, 2016.
    25 changes: 25 additions & 0 deletions .mbsync
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    IMAPAccount work
    Host outlook.office365.com
    User [email protected]
    # PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mailpass.gpg"
    UseIMAPS yes
    CertificateFile /etc/ssl/certs/ca-certificates.crt

    IMAPStore work-remote
    Account work

    MaildirStore work-local
    Path ~/mail/work/
    Inbox ~/mail/work/Inbox

    Channel work
    Master :work-remote:
    Slave :work-local:
    # Include everything
    Patterns "INBOX" "*"
    # Automatically create missing mailboxes, both locally and on the server
    Create Both
    Sync All
    Expunge Both
    # Save the synchronization state files in the relevant directory
    SyncState *