1
0
Fork 0
mirror of https://gitlab.com/dwt1/dotfiles.git synced 2023-02-13 20:55:19 -05:00
dwt1--dotfiles/.config/mu4e/mbsyncrc
2020-12-18 10:26:56 -06:00

98 lines
3.1 KiB
Text

# mbsyncrc based on
# http://www.ict4g.net/adolfo/notes/2014/12/27/EmacsIMAP.html
# ACCOUNT INFORMATION
IMAPAccount derek-distrotube
# Address to connect to
Host imap.1and1.com
User derek@distrotube.com
# Create a plain text file that contains your password. Name it mbsyncpass-acc1.
# Then, gpg encrypt it by running: gpg2 -c mbsyncpass-acc1
# Then delete the plain text file, leaving only mbsyncpass-acc1.gpg.
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.config/mu4e/mbsyncpass-acc1.gpg"
AuthMechs LOGIN
SSLType IMAPS
SSLVersions TLSv1.2
CertificateFile /etc/ssl/certs/ca-certificates.crt
# THEN WE SPECIFY THE LOCAL AND REMOTE STORAGE
# - THE REMOTE STORAGE IS WHERE WE GET THE MAIL FROM (E.G., THE
# SPECIFICATION OF AN IMAP ACCOUNT)
# - THE LOCAL STORAGE IS WHERE WE STORE THE EMAIL ON OUR COMPUTER
# REMOTE STORAGE (USE THE IMAP ACCOUNT SPECIFIED ABOVE)
IMAPStore derek-distrotube-remote
Account derek-distrotube
# LOCAL STORAGE (CREATE DIRECTORIES with mkdir -p ~/Maildir/derek-distrotube)
MaildirStore derek-distrotube-local
Path ~/Maildir/derek-distrotube/
Inbox ~/Maildir/derek-distrotube/INBOX
# REQUIRED ONLY IF YOU WANT TO DOWNLOAD ALL SUBFOLDERS; SYNCING SLOWS DOWN
# SubFolders Verbatim
# CONNECTIONS SPECIFY LINKS BETWEEN REMOTE AND LOCAL FOLDERS
#
# CONNECTIONS ARE SPECIFIED USING PATTERNS, WHICH MATCH REMOTE MAIL
# FOLDERS. SOME COMMONLY USED PATTERS INCLUDE:
#
# 1 "*" TO MATCH EVERYTHING
# 2 "!DIR" TO EXCLUDE "DIR"
# 3 "DIR" TO MATCH DIR
Channel derek-distrotube
Master :derek-distrotube-remote:
Slave :derek-distrotube-local:
Patterns *
Create Both
Expunge Both
SyncState *
# ================================================================================
# ACCOUNT INFORMATION
IMAPAccount marysue-distrotube
# Address to connect to
Host imap.1and1.com
User mary_sue@distrotube.com
# Create a plain text file that contains your password. Name it mbsyncpass-acc2.
# Then, gpg encrypt it by running: gpg2 -c mbsyncpass-acc2
# Then delete the plain text file, leaving only mbsyncpass-acc2.gpg.
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.config/mu4e/mbsyncpass-acc2.gpg"
AuthMechs LOGIN
SSLType IMAPS
SSLVersions TLSv1.2
CertificateFile /etc/ssl/certs/ca-certificates.crt
# THEN WE SPECIFY THE LOCAL AND REMOTE STORAGE
# - THE REMOTE STORAGE IS WHERE WE GET THE MAIL FROM (E.G., THE
# SPECIFICATION OF AN IMAP ACCOUNT)
# - THE LOCAL STORAGE IS WHERE WE STORE THE EMAIL ON OUR COMPUTER
# REMOTE STORAGE (USE THE IMAP ACCOUNT SPECIFIED ABOVE)
IMAPStore marysue-distrotube-remote
Account marysue-distrotube
# LOCAL STORAGE (CREATE DIRECTORIES with mkdir -p ~/Maildir/marysue-distrotube)
MaildirStore marysue-distrotube-local
Path ~/Maildir/marysue-distrotube/
Inbox ~/Maildir/marysue-distrotube/INBOX
# CONNECTIONS SPECIFY LINKS BETWEEN REMOTE AND LOCAL FOLDERS
#
# CONNECTIONS ARE SPECIFIED USING PATTERNS, WHICH MATCH REMOTE MAIL
# FOLDERS. SOME COMMONLY USED PATTERS INCLUDE:
#
# 1 "*" TO MATCH EVERYTHING
# 2 "!DIR" TO EXCLUDE "DIR"
# 3 "DIR" TO MATCH DIR
Channel marysue-distrotube-inbox
Master :marysue-distrotube-remote:
Slave :marysue-distrotube-local:
Patterns *
Create Both
Expunge Both
SyncState *