diff options
Diffstat (limited to 'mbsync')
| -rw-r--r-- | mbsync/.mbsyncrc | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/mbsync/.mbsyncrc b/mbsync/.mbsyncrc new file mode 100644 index 0000000..d889482 --- /dev/null +++ b/mbsync/.mbsyncrc @@ -0,0 +1,42 @@ +IMAPAccount home +Host imap.gmail.com +UserCmd "gpg -q --for-your-eyes-only -d ~/.authinfo.gpg | awk -F ' ' '/ACCOUNT_NAME/ { print $(NF-2); exit; }'" +PassCmd "gpg -q --for-your-eyes-only -d ~/.authinfo.gpg | awk -F ' ' '/ACCOUNT_NAME/ { print $NF; exit; }'" +SSLType IMAPS +AuthMechs LOGIN + +IMAPStore home-remote +Account home + +MaildirStore home-local +Subfolders Verbatim +# The trailing "/" is important +Path ~/Mail/[email protected]/ +Inbox ~/Mail/[email protected]/Inbox + +Channel home-inbox +Far :home-remote: +Near :home-local: +Patterns "INBOX" + +Channel home-sent +Far :home-remote:"[Gmail]/Sent Mail" +Near :home-local:sent + +Channel home-trash +Far :home-remote:"[Gmail]/Trash" +Near :home-local:trash + +Group home +Channel home-inbox +Channel home-sent +Channel home-trash + +# Gmail mailboxes: +# "All Mail" +# "Drafts" +# "Important" +# "Sent Mail" +# "Spam" +# "Starred" +# "Trash"
\ No newline at end of file |
