X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/5af333ca3b83425e5cb3aa704b37654d576856c1..01fc31f281cef79ed81dad234b2c2b7ddedc871d:/procmail/rules/mass diff --git a/procmail/rules/mass b/procmail/rules/mass index 5fcb61d..f7d539f 100644 --- a/procmail/rules/mass +++ b/procmail/rules/mass @@ -1,8 +1,15 @@ :0 * ORIG_DOMAIN ?? ^mass\.madduck\.net$ { - DESTDIR=$INBOX/.mass + DESTDIR=$BASE/.mass + :0 + * ORIG_LOCAL ?? ^git=vger\.kernel\.org$ + { + CORRESPONDENTS=`formail -cxTo: -xCc: -xFrom: | tr -s '\n' ,` + :0 fw + |$FORMAIL -a "Mail-Followup-To: $CORRESPONDENTS" + } :0 ${DESTDIR}/ }