Gnus development mailing list
 help / color / mirror / Atom feed
* Verify RFC822-compliant Date: line??
@ 1998-09-11  8:34 swa
  1998-09-11  9:17 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: swa @ 1998-09-11  8:34 UTC (permalink / 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/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Verify RFC822-compliant Date: line??
  1998-09-11  8:34 Verify RFC822-compliant Date: line?? swa
@ 1998-09-11  9:17 ` Lars Magne Ingebrigtsen
  1998-09-13  7:57   ` Stefan Waldherr
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-09-11  9:17 UTC (permalink / raw)


swa@mind.learning.cs.cmu.edu writes:

> 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

Yes, the Date is invalid.  There is no such time zone as "+-500".

This should be fixed in Pterodactyl Gnus 0.24.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Verify RFC822-compliant Date: line??
  1998-09-11  9:17 ` Lars Magne Ingebrigtsen
@ 1998-09-13  7:57   ` Stefan Waldherr
  1998-09-13 10:04     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Waldherr @ 1998-09-13  7:57 UTC (permalink / raw)


>>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

  Lars> Yes, the Date is invalid.  There is no such time zone as "+-500".
  Lars> This should be fixed in Pterodactyl Gnus 0.24.

Nope. 

From: Shenghuo ZHU <zsh@cs.rochester.edu>
Date: 11 Sep 1998 11:56:11 +-400
User-Agent: Gnus/5.070026 (Pterodactyl Gnus v0.26) Emacs/20.3

From: Stainless Steel Rat <ratinox@peorth.gweep.net>
Date: 11 Sep 1998 18:07:01 +-400
User-Agent: Gnus/5.070027 (Pterodactyl Gnus v0.27) Emacs/20.3

From: =?ISO-8859-1?Q?Fran=E7ois_Pinard?= <pinard@iro.umontreal.ca>
Date: 12 Sep 1998 10:47:20 +-400
User-Agent: Gnus/5.070027 (Pterodactyl Gnus v0.27) Emacs/20.3

From: Chris Tessone <tessone@imsa.edu>
Date: 10 Sep 1998 11:49:00 +-500
User-Agent: Gnus/5.070024 (Pterodactyl Gnus v0.24) XEmacs/20.4 (Emerald)

and my spam catcher also matches the following two (although I'm not sure 
why)

From: Istvan Marko <imarko@pacificnet.net>
Date: 12 Sep 1998 02:43:51 -700
User-Agent: Gnus/5.070028 (Pterodactyl Gnus v0.28) Emacs/20.3

From: Shenghuo ZHU <zsh@cs.rochester.edu>
Date: 12 Sep 1998 14:52:44 -400
User-Agent: Gnus/5.070029 (Pterodactyl Gnus v0.29) Emacs/20.3

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Verify RFC822-compliant Date: line??
  1998-09-13  7:57   ` Stefan Waldherr
@ 1998-09-13 10:04     ` Lars Magne Ingebrigtsen
  1998-09-14  2:34       ` Jason R Mastaler
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-09-13 10:04 UTC (permalink / raw)


Stefan Waldherr <swa@cs.cmu.edu> writes:

>   Lars> Yes, the Date is invalid.  There is no such time zone as "+-500".
>   Lars> This should be fixed in Pterodactyl Gnus 0.24.
> 
> Nope. 

I meant 0.30.  :-)

> Date: 11 Sep 1998 11:56:11 +-400

Perhaps I should put the weekday in there as well.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Verify RFC822-compliant Date: line??
  1998-09-13 10:04     ` Lars Magne Ingebrigtsen
@ 1998-09-14  2:34       ` Jason R Mastaler
  0 siblings, 0 replies; 5+ messages in thread
From: Jason R Mastaler @ 1998-09-14  2:34 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> > Date: 11 Sep 1998 11:56:11 +-400
> 
> Perhaps I should put the weekday in there as well.

The last time I suggested this it sparked a rather rancid flame war¹
:-)

Footnotes:
¹ Spanning nearly 14 months, it all started with:
http://www.gnus.org/list-archives/ding/199701/msg00121.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-09-14  2:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-11  8:34 Verify RFC822-compliant Date: line?? swa
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

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).