Remove mail setup
Alan Pearce alan@alanpearce.eu
Thu, 28 Mar 2019 16:14:05 +0100
D isync/.mbsyncrc
@@ -1,37 +0,0 @@-# Globals -Create Both -Remove Both -Expunge Both -CopyArrivalDate yes -FSync no - -## Satoshipay -# Account -IMAPAccount satoshipay.io -Host imap.gmail.com -User alan@satoshipay.io -PassCmd "pass show satoshipay/google/app-mail" -SSLType IMAPS -SSLVersions TLSv1.2 TLSv1.1 - -# Remote -IMAPStore satoshipay.io-remote -Account satoshipay.io - -# Local -MaildirStore satoshipay.io-local -Path ~/mail/satoshipay/ -Inbox ~/mail/satoshipay/INBOX -SubFolders Verbatim - -# Job -Channel satoshipay -Master :satoshipay.io-remote: -Slave :satoshipay.io-local: -Patterns INBOX -SyncState * - -Channel satoshipay-gmail -Master :satoshipay.io-remote:[Gmail]/ -Slave :satoshipay.io-local: -Patterns * !INBOX
D msmtp/.msmtprc
@@ -1,17 +0,0 @@-# Set default values for all following accounts. -defaults -auth on -tls on -tls_trust_file /etc/ssl/certs/ca-certificates.crt -logfile ~/.local/log/msmtp.log - -account satoshipay -host smtp.gmail.com -from alan@satoshipay.io -user alan@satoshipay.io -port 465 -tls_starttls off -passwordeval pass satoshipay/google/app-mail - -# Set a default account -account default : satoshipay
D offlineimap/.offlineimap.py
@@ -1,5 +0,0 @@-#! /usr/bin/env python2 -from subprocess import check_output - -def get_pass(account): - return check_output("pass " + account, shell=True).splitlines()[0]
D offlineimap/.offlineimaprc
@@ -1,79 +0,0 @@-[general] -# List of accounts to be synced, separated by a comma. -accounts = alanpearce.eu, riseup.net -pythonfile = ~/.offlineimap.py - -[Account alanpearce.eu] -# Identifier for the local repository; e.g. the maildir to be synced via IMAP. -localrepository = alanpearce.eu-local -# Identifier for the remote repository; i.e. the actual IMAP, usually non-local. -remoterepository = alanpearce.eu-remote -autorefresh = 5 -quick = 2 -postsynchook = mu index --muhome=~/.cache/mu/alanpearce.eu --maildir=%(alanpearcemaildir)s --lazy-check --nocleanup --quiet || emacsclient -e "(mu4e-update-index)" - -[Repository alanpearce.eu-local] -# OfflineIMAP supports Maildir, GmailMaildir, and IMAP for local repositories. -type = Maildir -# Where should the mail be placed? -localfolders = %(alanpearcemaildir)s - -[Repository alanpearce.eu-remote] -# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP. -type = IMAP -remotehost = mail.alanpearce.eu -remoteuser = alan -remotepasseval = get_pass("mail/alanpearce") -sslcacertfile = /etc/ssl/certs/ca-certificates.crt -keepalive = 1740 -holdconnectionopen = yes -usecompression = yes -idlefolders = ['INBOX'] - -[Account riseup.net] -localrepository = riseup.net-local -remoterepository = riseup.net-remote -autorefresh = 10 -quick = 2 -postsynchook = mu index --muhome=~/.cache/mu/riseup.net --maildir=%(riseupmaildir)s --lazy-check --nocleanup --quiet || emacsclient -e "(mu4e-update-index)" - -[Repository riseup.net-local] -type = Maildir -localfolders = %(riseupmaildir)s - -[Repository riseup.net-remote] -type = IMAP -remotehost = mail.riseup.net -remoteuser = alanpearce -remotepasseval = get_pass("mail/riseup") -sslcacertfile = /etc/ssl/certs/ca-certificates.crt -keepalive = 1740 -holdconnectionopen = yes -usecompression = yes -idlefolders = ['INBOX'] - -[Account satoshipay.io] -localrepository = satoshipay.io-local -remoterepository = satoshipay.io-remote -autorefresh = 5 -quick = 2 -postsynchook = mu index --muhome=~/.cache/mu/satoshipay.io --maildir=%(satoshipaymaildir)s --lazy-check --nocleanup --quiet || emacsclient -e "(mu4e-update-index)" - -[Repository satoshipay.io-local] -type = GmailMaildir -localfolders = %(satoshipaymaildir)s - -[Repository satoshipay.io-remote] -type = Gmail -remoteuser = alan@satoshipay.io -remotepasseval = get_pass("satoshipay/google/app-mail") -sslcacertfile = /etc/ssl/certs/ca-certificates.crt -keepalive = 1740 -holdconnectionopen = yes -usecompression = yes -idlefolders = ['INBOX'] - -[DEFAULT] -alanpearcemaildir = ~/mail/personal/alanpearce -riseupmaildir = ~/mail/personal/riseup -satoshipaymaildir = ~/mail/satoshipay