diff options
author | Alan Pearce | 2019-03-28 16:14:05 +0100 |
---|---|---|
committer | Alan Pearce | 2019-03-28 16:14:05 +0100 |
commit | bf856d603a48187474cfa377a6af568ee80538c7 (patch) | |
tree | acc622fe829a77057473fb696742b3418fd8f4b3 | |
parent | 815d79bc17b1528d87526e54dde5eab6f9a94bff (diff) | |
download | nixfiles-bf856d603a48187474cfa377a6af568ee80538c7.tar.lz nixfiles-bf856d603a48187474cfa377a6af568ee80538c7.tar.zst nixfiles-bf856d603a48187474cfa377a6af568ee80538c7.zip |
Remove mail setup
-rw-r--r-- | isync/.mbsyncrc | 37 | ||||
-rw-r--r-- | msmtp/.msmtprc | 17 | ||||
-rwxr-xr-x | offlineimap/.offlineimap.py | 5 | ||||
-rw-r--r-- | offlineimap/.offlineimaprc | 79 |
4 files changed, 0 insertions, 138 deletions
diff --git a/isync/.mbsyncrc b/isync/.mbsyncrc deleted file mode 100644 index 8991b154..00000000 --- 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 401d19e4..00000000 --- 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 a21f4224..00000000 --- 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 db9bffb2..00000000 --- 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 |