Gnus development mailing list
 help / color / mirror / Atom feed
From: swa@mind.learning.cs.cmu.edu
Subject: Verify RFC822-compliant Date: line??
Date: Fri, 11 Sep 98 4:34:22 EDT	[thread overview]
Message-ID: <199809110834.EAA10499@sclp3.sclp.com> (raw)


Hi,

my SPAM catcher barks at the following `Date' line. Anything wrong with
that?

 Subject: Re: MIME media thaaangs
 From: Chris Tessone <tessone@imsa.edu>
 Date: 10 Sep 1998 11:49:00 +-500

Here's the procmail recipe which is supposed to nuke mail with an invalid date.

# Verify RFC822-compliant Date: line
:0
* ! ^X-Mailer: Windows Eudora Light Version 3.0.1 (16)
* ! ^Date:[	]+((Sun|Mon|Tue|Wed|Thu|Fri|Sat),[	]+)?\
    [0-3]?[0-9][	]+\
    (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)[	]+\
    ((19)?[789][0-9]|(20)?[01][0-9])[	]+\
    (0?[0-9]|1[0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9])?[	]+\
    ([+-][0-1][0-9][03]0|"?\(?(UT|GMT|EST|EDT|CST|CDT|MST|MDT|PST|PDT|[A-I]|[K-Z])\)?"?)
{ JFMATCH="$JFSEC: Noncompliant Date line" INCLUDERC=$JFDIR/junkfilter.match }

Thanks,
Stefan.
-- 
Stefan Waldherr                   fax +49 431 8058 136
                               e-Mail swa@cs.cmu.edu
                                  www http://www.waldherr.org/


             reply	other threads:[~1998-09-11  8:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-11  8:34 swa [this message]
1998-09-11  9:17 ` Lars Magne Ingebrigtsen
1998-09-13  7:57   ` Stefan Waldherr
1998-09-13 10:04     ` Lars Magne Ingebrigtsen
1998-09-14  2:34       ` Jason R Mastaler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199809110834.EAA10499@sclp3.sclp.com \
    --to=swa@mind.learning.cs.cmu.edu \
    --cc=swa@cs.cmu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).