From: Ian Kelling Date: Fri, 17 May 2019 15:59:11 +0000 (-0400) Subject: deal with new email list X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=commitdiff_plain;h=b6c69a0915fdc162184279f94448e6ff929a06c6 deal with new email list --- diff --git a/brc b/brc index e03b0b5..a8e4d5f 100644 --- a/brc +++ b/brc @@ -188,8 +188,9 @@ if [[ $SOE ]]; then fi path_add /a/exe -# end just because it seems safer -path_add --end node_modules/.bin +# add this with absolute paths as needed for better security +#path_add --end /path/to/node_modules/.bin + # pip3 --user things go here: path_add --end ~/.local/bin path_add --ifexists --end /a/work/libremanage diff --git a/offlineimap-sync b/offlineimap-sync index 74b23c1..3c75258 100755 --- a/offlineimap-sync +++ b/offlineimap-sync @@ -75,11 +75,9 @@ myfind() { # I want to hop into conversations about our mailing # systems there, but I don't need many old messages. myfind /nocow/user/fsfmd/l/qemu-devel/new -type f -mtime +14 -execdir rm -- '{}' + - - myfind /nocow/user/fsfmd/{sec,Spam,Drafts,{rtcc,sysadmin,l/outreachy-mentors}/new} -type f -mtime +100 -execdir rm -- '{}' + - myfind /nocow/user/fsfmd/log -type f -mtime +300 -execdir rm -- '{}' + +myfind /nocow/user/fsfmd/dmarc -type f -mtime +14 -execdir rm -- '{}' + # delete based on http://deflexion.com/2006/05/imap-way-of-deleting-message diff --git a/subdir_files/sieve/fsf.sieve b/subdir_files/sieve/fsf.sieve index 26d4c27..ac31d25 100644 --- a/subdir_files/sieve/fsf.sieve +++ b/subdir_files/sieve/fsf.sieve @@ -21,6 +21,15 @@ fileinto :create "rtcc"; stop; } +if anyof ( + address :is "to" "dmarc-rua@fsf.org" + ) { + fileinto :create "dmarc"; + stop; + } + + + if anyof (