X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/5af333ca3b83425e5cb3aa704b37654d576856c1..39624250646933161646aa1de574cfc4965f2916:/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}/ }