X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/bfe82fe5e7744f769c178a805bb2679a2d8c10da..f7ed6aec334deb34defce1e0de0cf9f893489ff5:/procmail/justme diff --git a/procmail/justme b/procmail/justme index 578cc4a..ac3dbd6 100644 --- a/procmail/justme +++ b/procmail/justme @@ -66,6 +66,14 @@ LOG="justme: passing; $JUSTME$NL" } + :0 E + * FROM ?? -bounces@ + * SUBJECT ?? ^You have been unsubscribed + { + JUSTME="mailman confirmation" + LOG="justme: passing; $JUSTME$NL" + } + :0 E * FROM ?? -bounces@ * SUBJECT ?? .+ mailing list reminder$ @@ -84,14 +92,19 @@ LOG="justme: passing; $JUSTME$NL" } + :0 E + * FROM ?? ^noreply@googlegroups\.com$ + * ORIGINAL_TO ?? ^[^=]+=[^@]+@mass\.madduck\.net$ + * SUBJECT ?? ^Google Groups: Please confirm + { + JUSTME="googlegroups confirmation" + LOG="justme: passing; $JUSTME$NL" + } + :0 E { LOG="justme: discarding$NL" - - INCLUDERC=$PMDIR/addheaders - - :0 - $DISCARD + SWITCHRC=$PMDIR/discard } }