revert(mail): piss off, ghost!

aka google
This commit is contained in:
George Rawlinson 2018-07-14 22:44:18 +12:00
parent 03ef23ae7e
commit 33b4ba38d1

View file

@ -3,73 +3,72 @@ Create Both
Expunge Both Expunge Both
SyncState * SyncState *
# gmail # rawlinson
IMAPAccount gmail IMAPAccount rawlinson
Host imap.gmail.com Host imap.nullpointer.io
User george@rawlinson.net.nz User george@rawlinson.net.nz
PassCmd "pass mail/george@rawlinson.net.nz" # get password from pass PassCmd "pass mail/george@rawlinson.net.nz" # get password from pass
AuthMechs LOGIN AuthMechs LOGIN
SSLType IMAPS SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
# remote storage # remote storage
IMAPStore gmail-remote IMAPStore rawlinson-remote
Account gmail Account rawlinson
# local storage # local storage
MaildirStore gmail-local MaildirStore rawlinson-local
Path ~/.mail/gmail/ # must append slash to specify directory Path ~/.mail/rawlinson/ # must append slash to specify directory
Inbox ~/.mail/gmail/INBOX # place inbox inside mail dir Inbox ~/.mail/rawlinson/INBOX # place inbox inside mail dir
# folders # folders
Channel gmail-inbox Channel rawlinson-inbox
Master :gmail-remote:INBOX Master :rawlinson-remote:INBOX
Slave :gmail-local:INBOX Slave :rawlinson-local:INBOX
Channel gmail-archive Channel rawlinson-archive
Master :gmail-remote:"[Gmail]/All Mail" Master :rawlinson-remote:Archive
Slave :gmail-local:Archive Slave :rawlinson-local:Archive
Channel gmail-drafts Channel rawlinson-drafts
Master :gmail-remote:"[Gmail]/Drafts" Master :rawlinson-remote:Drafts
Slave :gmail-local:Drafts Slave :rawlinson-local:Drafts
Channel gmail-sent Channel rawlinson-junk
Master :gmail-remote:"[Gmail]/Sent Mail" Master :rawlinson-remote:Junk
Slave :gmail-local:Sent Slave :rawlinson-local:Junk
Channel gmail-spam Channel rawlinson-sent
Master :gmail-remote:"[Gmail]/Spam" Master :rawlinson-remote:Sent
Slave :gmail-local:Spam Slave :rawlinson-local:Sent
Channel gmail-trash Channel rawlinson-trash
Master :gmail-remote:"[Gmail]/Bin" Master :rawlinson-remote:Trash
Slave :gmail-local:Trash Slave :rawlinson-local:Trash
# all folders except above # all folders except above
Channel gmail-folders Channel rawlinson-folders
Master :gmail-remote: Master :rawlinson-remote:
Slave :gmail-local: Slave :rawlinson-local:
Patterns * ![Gmail]* !INBOX !Archive !Drafts !Sent !Spam !Trash Patterns * !INBOX !Archive !Drafts !Junk !Sent !Trash
# group all channels, so they can be sync'd with one command `mbsync rawlinson`
Group rawlinson
Channel rawlinson-trash
Channel rawlinson-inbox
Channel rawlinson-archive
Channel rawlinson-drafts
Channel rawlinson-junk
Channel rawlinson-sent
Channel rawlinson-folders
# group all channels, so they can be sync'd with one command `mbsync gmail`
Group gmail
Channel gmail-trash
Channel gmail-inbox
Channel gmail-archive
Channel gmail-drafts
Channel gmail-sent
Channel gmail-spam
Channel gmail-folders
# nullpointer # nullpointer
IMAPAccount nullpointer IMAPAccount nullpointer
Host nullpointer.io Host imap.nullpointer.io
User george@nullpointer.io User george@nullpointer.io
PassCmd "pass mail/george@nullpointer.io" # get password from pass PassCmd "pass mail/george@nullpointer.io" # get password from pass
AuthMechs LOGIN AuthMechs LOGIN
SSLType IMAPS SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
# remote storage # remote storage
IMAPStore nullpointer-remote IMAPStore nullpointer-remote