diff options
author | Ryan Kavanagh <rak@debian.org> | 2016-03-03 21:41:01 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2016-03-11 22:56:53 -0500 |
commit | 58a6b29bb81129d336ed59bd5df5b64ccaae5e57 (patch) | |
tree | 190d2ee89a6d2df72abe827caf1f2db3df7413b0 | |
parent | Updated icd (diff) |
Extend imapfilter
Diffstat (limited to '')
-rw-r--r-- | .imapfilter/config.lua | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua index 83d91d5..eb215ac 100644 --- a/.imapfilter/config.lua +++ b/.imapfilter/config.lua @@ -184,6 +184,13 @@ IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['OpenBSDIMAP obsdmisc = IMAPFILTER_GMAIL_SERVER.INBOX:contain_field('List-ID', 'misc.openbsd.org') IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['OpenBSDIMAP_FOLDER_SEPmisc'], obsdmisc) +obsdann = IMAPFILTER_GMAIL_SERVER.INBOX:contain_field('List-ID', 'announce.openbsd.org') +IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['OpenBSDIMAP_FOLDER_SEPannounce'], obsdann) + +obsdmir = IMAPFILTER_GMAIL_SERVER.INBOX:contain_field('List-ID', 'mirrors-discuss.openbsd.org') * + IMAPFILTER_GMAIL_SERVER.INBOX:is_seen() +IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['OpenBSDIMAP_FOLDER_SEPmirrors-discuss'], obsdmir) + sshud = IMAPFILTER_GMAIL_SERVER.INBOX:contain_field('List-ID', 'openssh-unix-dev.mindrot.org') IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['OpenBSDIMAP_FOLDER_SEPssh-unix-dev'], sshud) @@ -282,13 +289,17 @@ IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['InternshipI mitplv = ( IMAPFILTER_GMAIL_SERVER.INBOX:contain_field('List-Id', 'plv.csail.mit.edu') + IMAPFILTER_GMAIL_SERVER.INBOX:contain_field('List-Id', 'bedrock-group.lists.csail.mit.edu') ) * IMAPFILTER_GMAIL_SERVER.INBOX:is_older(2) -IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['IMAPFILTER_GMAIL_SERVERIMAP_FOLDER_SEPMIT'], mitplv) +IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['GMAILIMAP_FOLDER_SEPMIT'], mitplv) -- Academia typesann = IMAPFILTER_GMAIL_SERVER.INBOX:contain_field('List-Id', 'types-announce.lists.seas.upenn.edu') IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['AcademiaIMAP_FOLDER_SEPtypes-announce'], typesann) +typeslist = IMAPFILTER_GMAIL_SERVER.INBOX:contain_field('List-Id', 'types-list.lists.seas.upenn.edu') * + IMAPFILTER_GMAIL_SERVER.INBOX:is_seen() +IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['AcademiaIMAP_FOLDER_SEPtypes-list'], typeslist) + -- People bagpipes = IMAPFILTER_GMAIL_SERVER.INBOX:match_from('PM_EMAIL') + |