From f28b8eb28191109483ce6b7d5a125adab6931186 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sun, 12 Sep 2021 20:24:33 -0400 Subject: delete imapfilter --- .imapfilter/certificates | 98 ------------------------------------------------ .imapfilter/config.lua | 64 ------------------------------- Makefile | 4 -- 3 files changed, 166 deletions(-) delete mode 100644 .imapfilter/certificates delete mode 100644 .imapfilter/config.lua diff --git a/.imapfilter/certificates b/.imapfilter/certificates deleted file mode 100644 index 34d2dbb..0000000 --- a/.imapfilter/certificates +++ /dev/null @@ -1,98 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDgDCCAumgAwIBAgIKVEsbtQABAACELjANBgkqhkiG9w0BAQUFADBGMQswCQYD -VQQGEwJVUzETMBEGA1UEChMKR29vZ2xlIEluYzEiMCAGA1UEAxMZR29vZ2xlIElu -dGVybmV0IEF1dGhvcml0eTAeFw0xMzA0MTUwODQ0MDBaFw0xMzEyMzExNTU4NTBa -MGgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1N -b3VudGFpbiBWaWV3MRMwEQYDVQQKEwpHb29nbGUgSW5jMRcwFQYDVQQDEw5pbWFw -LmdtYWlsLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA3a/wUjZBSOgZ -EeyRqaSaKEwS8+1y/8AK9HdplSR72PU+iBc7HyA4aXgD6XYEJVoyGsO97nMj+oeN -2iNvKfkPvTrn2YnQfJLuxpEw9gwIHvwVqy3TNpHwt4DHnxOg5CxV8e7PaCAhAXD+ -uj0H09aVFJmfYDnU0VSSukNJX2MZSJUCAwEAAaOCAVEwggFNMB0GA1UdJQQWMBQG -CCsGAQUFBwMBBggrBgEFBQcDAjAdBgNVHQ4EFgQUY9A6EExy3NNFBc2R0vrY8lpf -OB8wHwYDVR0jBBgwFoAUv8Aw6/VDET5nup6R+/xq2uNrEiQwWwYDVR0fBFQwUjBQ -oE6gTIZKaHR0cDovL3d3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rzHHDyGvBdc -rJLVVIce3qe9/6tlAgMBAAGjggFBMIIBPTAdBgNVHSUEFjAUBggrBgEFBQcDAQYI -KwYBBQUHAwIwGQYDVR0RBBIwEIIOaW1hcC5nbWFpbC5jb20waAYIKwYBBQUHAQEE -XDBaMCsGCCsGAQUFBzAChh9odHRwOi8vcGtpLmdvb2dsZS5jb20vR0lBRzIuY3J0 -MCsGCCsGAQUFBzABhh9odHRwOi8vY2xpZW50czEuZ29vZ2xlLmNvbS9vY3NwMB0G -A1UdDgQWBBQMNQepYEFdytuBJl2vJmoawudmejAMBgNVHRMBAf8EAjAAMB8GA1Ud -IwQYMBaAFErdBhYbvPZotXb1gba7Yhq6WoEvMBcGA1UdIAQQMA4wDAYKKwYBBAHW -eQIFATAwBgNVHR8EKTAnMCWgI6Ahhh9odHRwOi8vcGtpLmdvb2dsZS5jb20vR0lB -RzIuY3JsMA0GCSqGSIb3DQEBBQUAA4IBAQCLK1U3TAUoWNyatDkev3I7ksGn/qlN -YlL/8XZGY12owNfMHKXnkri0dUWtPuhDSOSQSkYRa/CF2J/MWhTqiO0MeZPZYhtl -ajCfAYre+tVduBbQTtUr0tPLIJ3HiULOTMp3tMaxmSGLz1t7ZGVBDUyPudes6rUk -anUkwjf6TIyT+ld/usfhH7GAL1YtVfkVHaEfACx3mDeCalSZFXTYGU/RBPNQTyN0 -ybO31hTIJx7sG0XcaU7dEIjEKPO436ZveN4p2oKNzI+8X8160/d9oaIXvxPUCxRB -UWSWdpnGsCUUEq+/ys7IH6tWYtt1CcRuA9v88W8li/668+RZDXIDWWR3 ------END CERTIFICATE----- diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua deleted file mode 100644 index 0f661e7..0000000 --- a/.imapfilter/config.lua +++ /dev/null @@ -1,64 +0,0 @@ --- --- Options --- - -options.timeout = 120 -options.subscribe = true - -filter_local = IMAPFILTER_LOCAL - --- Accounts - -if filter_local then - folder_sep = '.' - GMAIL = IMAP { - server = 'localhost', - username = 'ryan', - password = 'LOCAL_PASS', - } -else - folder_sep = '/' - GMAIL = IMAP { - server = 'imap.gmail.com', - port = 993, - username = 'ryanakca@gmail.com', - password = 'GMAIL_PASS', - ssl = 'auto' - } -end - --- --- Filters --- For --- GMAIL --- - -mbrainz = ( GMAIL.INBOX:match_from('noreply@musicbrainz.org') - * GMAIL.INBOX:match_subject('Edits for your subscriptions') - * ( GMAIL.INBOX:is_older(1) - + GMAIL.INBOX:is_seen() ) ) -GMAIL.INBOX:move_messages(GMAIL['MusicBrainz'], mbrainz) - --- Academia - -typesann = GMAIL.INBOX:contain_field('List-Id', 'types-announce.lists.seas.upenn.edu') -GMAIL.INBOX:move_messages(GMAIL['Academia' .. folder_sep .. 'types-announce'], typesann) - -typeslist = GMAIL.INBOX:contain_field('List-Id', 'types-list.lists.seas.upenn.edu') * - GMAIL.INBOX:is_seen() -GMAIL.INBOX:move_messages(GMAIL['Academia' .. folder_sep .. 'types-list'], typeslist) - -categories = GMAIL.INBOX:contain_field('List-Id', 'maths-categories-seminar.lists.cam.ac.uk') - * ( GMAIL.INBOX:is_seen() - + GMAIL.INBOX:is_older(1) ) -GMAIL.INBOX:move_messages(GMAIL['Academia'], categories) - -fields = GMAIL.INBOX:match_from('.*@fields.utoronto.ca') - * ( GMAIL.INBOX:is_old() - + GMAIL.INBOX:is_seen() ) -fields = GMAIL.INBOX:move_messages(GMAIL['Academia'], fields) - -splitwise = GMAIL.INBOX:match_from('hello@splitwise.com') - * ( GMAIL.INBOX:is_seen() - + GMAIL.INBOX:is_older(1) ) -GMAIL.INBOX:move_messages(GMAIL['receipts'], splitwise) diff --git a/Makefile b/Makefile index 643c9ee..bc3e08b 100755 --- a/Makefile +++ b/Makefile @@ -5,7 +5,6 @@ SUBSTS_FILE=SUBSTS.local # information LOCAL_FILES = \ .config/beets/config.yaml \ - .imapfilter/config.lua \ .mutt/accounts.rc \ .mutt/gpg.rc \ .mutt/ssl.rc \ @@ -41,7 +40,6 @@ GLOBAL_FILES = \ .emacs.d \ .gitconfig \ .gitconfig-debian \ - .imapfilter/ \ .inputrc \ .latexmkrc \ .lbdbrc \ @@ -95,7 +93,6 @@ C_SENDMAIL = $(shell which sendmail) MAIL_PASS = GMAIL_PASS QUEENSU_PASS RYANAKCA_PASS LOCAL_PASS CMU_PASS VARS_.config/beets/config.yaml = MBUSER MBPASS -VARS_.imapfilter/config.lua = LOCAL_PASS IMAPFILTER_GMAIL_SERVER GMAIL_PASS IMAP_FOLDER_SEP IMAPFILTER_LOCAL VARS_.mutt/accounts.rc = $(MAIL_PASS) VARS_.mutt/gpg.rc = PGPEWRAP_BINARY VARS_.mutt/ssl.rc = SSL_CERTS @@ -119,7 +116,6 @@ build: $(BUILD) fonts # We must force these with a phony target, otherwise, make will see that they're # already there (for example, from installing the rest of .mutt or .zsh) and # will skip them---which means they don't get their substitutions -build/.imapfilter/config.lua: FORCE build/.mutt/accounts.rc: FORCE build/.xmonad/xmonad.hs: FORCE build/.zsh/func/prompt_wunjo_setup: FORCE -- cgit v1.2.3