summary refs log tree commit diff stats
path: root/offlineimap
diff options
context:
space:
mode:
authorAlan Pearce2019-03-28 16:14:05 +0100
committerAlan Pearce2019-03-28 16:14:05 +0100
commitbf856d603a48187474cfa377a6af568ee80538c7 (patch)
treeacc622fe829a77057473fb696742b3418fd8f4b3 /offlineimap
parent815d79bc17b1528d87526e54dde5eab6f9a94bff (diff)
downloadnixfiles-bf856d603a48187474cfa377a6af568ee80538c7.tar.lz
nixfiles-bf856d603a48187474cfa377a6af568ee80538c7.tar.zst
nixfiles-bf856d603a48187474cfa377a6af568ee80538c7.zip
Remove mail setup
Diffstat (limited to 'offlineimap')
-rwxr-xr-xofflineimap/.offlineimap.py5
-rw-r--r--offlineimap/.offlineimaprc79
2 files changed, 0 insertions, 84 deletions
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