From bf856d603a48187474cfa377a6af568ee80538c7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 28 Mar 2019 16:14:05 +0100 Subject: Remove mail setup --- isync/.mbsyncrc | 37 --------------------- msmtp/.msmtprc | 17 ---------- offlineimap/.offlineimap.py | 5 --- offlineimap/.offlineimaprc | 79 --------------------------------------------- 4 files changed, 138 deletions(-) delete mode 100644 isync/.mbsyncrc delete mode 100644 msmtp/.msmtprc delete mode 100755 offlineimap/.offlineimap.py delete mode 100644 offlineimap/.offlineimaprc diff --git a/isync/.mbsyncrc b/isync/.mbsyncrc deleted file mode 100644 index 8991b15..0000000 --- a/isync/.mbsyncrc +++ /dev/null @@ -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 \ No newline at end of file diff --git a/msmtp/.msmtprc b/msmtp/.msmtprc deleted file mode 100644 index 401d19e..0000000 --- a/msmtp/.msmtprc +++ /dev/null @@ -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 diff --git a/offlineimap/.offlineimap.py b/offlineimap/.offlineimap.py deleted file mode 100755 index a21f422..0000000 --- a/offlineimap/.offlineimap.py +++ /dev/null @@ -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] diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc deleted file mode 100644 index db9bffb..0000000 --- a/offlineimap/.offlineimaprc +++ /dev/null @@ -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 \ No newline at end of file -- cgit 1.4.1