mail/junkfilter is several broken

Steve Kargl sgk at troutmask.apl.washington.edu
Wed Jan 1 21:04:33 UTC 2020


For users of mail/junkfilter, it now will filter all emails claiming
a "Bad Date line".  The following patch seems to fix the problem for
the next decade.


--- junkfilter.three.orig	2020-01-01 12:59:56.005681000 -0800
+++ junkfilter.three	2020-01-01 13:00:26.254199000 -0800
@@ -56,7 +56,7 @@
 * ! $ ^Date:$JFWS((Sun|Mon|Tue|Wed|Thu|Fri|Sat),$JFWS)?\
     (0?[1-9]|[12][0-9]|3[01])$JFWS\
     (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)$JFWS\
-    ((19)?[789][0-9]|(20)?[01][0-9])$JFWS\
+    ((19)?[789][0-9]|(20)?[012][0-9])$JFWS\
     (0?[0-9]|1[0-9]|2[0-3]):(0?|[1-5])[0-9](:(0?|[1-5])[0-9])?$JFWS\
     (([+-][0-1][0-4]([03]0|45))|("?\(?(UT|GMT|EST|EDT|CST|CDT|MST|MDT|PST|PDT|[A-I]|[K-Z])\)?"?))?
 { JFMATCH="$JFSEC: Bad Date line" INCLUDERC=$JFDIR/junkfilter.match }


Suggest either installing the patch or marking the port as broken.

-- 
Steve


More information about the freebsd-ports mailing list