From 6ad5f1cfda26c41fb1b7d06030c1918c06a3aad2 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 27 Dec 2021 19:06:29 -0500 Subject: switch from offlineimap to mbsync --- config/offlineimap/config | 34 ---------------------------------- config/offlineimap/pass.py | 5 ----- 2 files changed, 39 deletions(-) delete mode 100644 config/offlineimap/config delete mode 100644 config/offlineimap/pass.py (limited to 'config') diff --git a/config/offlineimap/config b/config/offlineimap/config deleted file mode 100644 index fd9110a..0000000 --- a/config/offlineimap/config +++ /dev/null @@ -1,34 +0,0 @@ -[general] -accounts = main -maxsyncaccounts = 3 -status_backend = sqlite -pythonfile = ~/.config/offlineimap/pass.py -ui = basic -socktimeout = 120 - -[Account main] -localrepository = main-local -remoterepository = main-remote -autorefresh = 5 -quick = 10 -postsynchook = notmuch new - -[Repository main-local] -type = Maildir -localfolders = ~/Maildir - -[Repository main-remote] -type = IMAP -ssl = yes -sslcacertfile = /etc/ssl/certs/ca-certificates.crt -remotehost = mail.tozt.net -remoteuser = doy@tozt.net -remotepasseval = get_password("mail.tozt.net", "doy@tozt.net") -maxconnections = 5 -keepalive = 60 -holdconnectionopen = yes -idlefolders = ['INBOX'] -folderfilter = lambda foldername: not re.search('^old(\.|$)', foldername) -subscribedonly = no - -# vim:ft=dosini: diff --git a/config/offlineimap/pass.py b/config/offlineimap/pass.py deleted file mode 100644 index 6a7fba3..0000000 --- a/config/offlineimap/pass.py +++ /dev/null @@ -1,5 +0,0 @@ -from subprocess import Popen, PIPE - -def get_password(name, user): - (out, err) = Popen(["rbw", "get", name, user], stdout=PIPE).communicate() - return out.strip() -- cgit v1.2.3-54-g00ecf