From a18aee12cc62e75a1ade3924cb6a7be8cce18fdb Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sat, 21 Feb 2015 11:45:12 -0500 Subject: Revert "Add ENSL to offlineimap" This reverts commit 1f3642507fa8b3b911f7bdf1d099dbf49953027e. --- .offlineimaprc | 37 +++---------------------------------- 1 file changed, 3 insertions(+), 34 deletions(-) (limited to '.offlineimaprc') diff --git a/.offlineimaprc b/.offlineimaprc index 1a9cb11..1aa39a6 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -3,7 +3,7 @@ [general] metadata = ~/.offlineimap -accounts = GMAIL, QueensU, McGillSOCS, ENSL, MIT +accounts = GMAIL, QueensU, McGillSOCS, McGill #, GMAIL pythonfile=~/.offlineimap.py maxsyncaccounts = 5 @@ -29,7 +29,7 @@ remoteuser = ryan remotepass = LOCAL_PASS # Don't try to sync local changes to [Google Mail]/Chat remotely, it's read-only # on Gmail's end. -folderfilter = lambda folder: True not in map(lambda x: folder.startswith(x), ['MIT', 'QueensU', 'McGill', 'McGSOCS', 'ENSL', '[Google Mail]/All Mail', '[Google Mail]/Important', '[Google Mail]/Chat']) +folderfilter = lambda folder: True not in map(lambda x: folder.startswith(x), ['MIT', 'QueensU', 'McGill', 'McGSOCS', '[Google Mail]/All Mail', '[Google Mail]/Important', '[Google Mail]/Chat']) idlefolders = ['INBOX'] [Repository RemoteGmail] @@ -41,7 +41,7 @@ remotepass = GMAIL_PASS spamfolder = [Google Mail]/Spam trashfolder = [Google Mail]/Bin realdelete = no -folderfilter = lambda folder: True not in map(lambda x: folder.startswith(x), ['MIT', 'QueensU', 'McGill', 'McGSOCS', 'ENSL', '[Google Mail]/All Mail', '[Google Mail]/Important']) +folderfilter = lambda folder: True not in map(lambda x: folder.startswith(x), ['MIT', 'QueensU', 'McGill', 'McGSOCS', '[Google Mail]/All Mail', '[Google Mail]/Important']) idlefolders = ['INBOX'] sslcacertfile = SSL_CERTS @@ -174,37 +174,6 @@ remotepass = LOCAL_PASS folderfilter = lambda folder: folder.startswith('MIT.') nametrans = lambda folder: re.sub('^MIT.', '', folder) -#### ENSL mail -[Account ENS] -localrepository = LocalENS -remoterepository = RemoteENS -autorefresh = 20 -quick = 10 -# presynchook = imapfilter -foldersort = lamba x, y: cmp(x, y) -postsynchook = /home/ryan/bin/run-mailcheck && notmuch new - -[Repository RemoteENS] -foldersort = lambda x, y: cmp(y, x) -type = IMAP -remoteuser = rkavanag -remotehost = imaps.ens-lyon.fr -remotepass = ENS_PASS -remortport = 993 -sslcacertfile = SSL_CERTS -ssl = yes -ssl_version = tls1 -nametrans = lambda foldername: 'ENSL.' + foldername -folderfilter = lambda folder: folder not in ['Calendar'] - -[Repository LocalENS] -type = IMAP -remotehost = localhost -remoteuser = ryan -remotepass = LOCAL_PASS -folderfilter = lambda folder: folder.startswith('ENSL.') -nametrans = lambda folder: re.sub('^ENSL.', '', folder) - [mbnames] enabled = no filename = .muttrc.mailboxes -- cgit v1.2.3