Skip to content

Commit

Permalink
Add test for bad date unconverted data
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee committed Aug 9, 2024
1 parent a139b8c commit f505fb4
Show file tree
Hide file tree
Showing 2 changed files with 242 additions and 0 deletions.
242 changes: 242 additions & 0 deletions samples/gyb-format/2019/4/16/baddate.eml
Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
MIME-Version: 1.0
Date: Tue, 16 Apr 2019 17:47:58.00001 -0400
References: <20190416214723.D0860204C1@bendel.debian.org>
<20190416214727.BD804204C1@bendel.debian.org>
In-Reply-To: <20190416214727.BD804204C1@bendel.debian.org>
Message-ID: <CAM8C-xwzZ9=qaYFZxOeUJniKqowMCFsDduU-4YX3=rY43rQJ-A@mail.gmail.com>
Subject: Re: CONFIRM s1904162147276305
From: GYB Travis <gyb-travis-1@pdl.jaylee.us>
To: SmartList <debian-user-request@lists.debian.org>
Content-Type: multipart/alternative; boundary="0000000000001e20080586acb976"

--0000000000001e20080586acb976
Content-Type: text/plain; charset="UTF-8"
On Tue, Apr 16, 2019 at 5:47 PM SmartList <
debian-user-request@lists.debian.org> wrote:
> It has been requested that the following address:
>
> gyb-travis-1@pdl.jaylee.us
>
> should be added to the debian-user mailing list.
>
> The address has NOT yet been subscribed to the mailing list.
> To subscribe you need to confirm the subscription
> request by sending an email to the address:
>
> debian-user-request@lists.debian.org
>
> with the Subject string:
>
> CONFIRM s1904162147276305
>
> With a reasonable good email program a reply to this
> message should be sufficient
>
> Do NOT remove or edit the CONFIRM ... text within the Subject header.
> If it is removed or changed, the confirmation will fail!
>
> The address listed above will be (un)subscribed as soon as your
> confirmation
> message is received.
>
> If the above address is incorrect, please don't send in the confirm message
> listed above. Instead, send a new (un)subscribe request with the Subject:
>
> subscribe correct-address@correct-domain
>
> or
>
> unsubscribe correct-address@correct-domain
>
> and wait for a new confirmation message.
>
> If you are unable to subscribe to our lists through this mechanism,
> please contact us at listmaster@lists.debian.org
>
> For more information about Debian mailing lists, please see
> https://www.debian.org/MailingLists/
>
> In the event that you did not send a request to (un)subscribe,
> a copy of the (un)subscription request that follows below
> may help you discover who sent the request.
> --
>
> >From gyb-travis-1@pdl.jaylee.us Tue Apr 16 21:47:27 2019
> >Return-Path: <gyb-travis-1@pdl.jaylee.us>
> >X-Original-To: lists-debian-user-request@bendel.debian.org
> >Delivered-To: lists-debian-user-request@bendel.debian.org
> >Received: from localhost (localhost [127.0.0.1])
> > by bendel.debian.org (Postfix) with ESMTP id 934B2204F3
> > for <lists-debian-user-request@bendel.debian.org>; Tue, 16 Apr
> 2019 21:47:27 +0000 (UTC)
> >X-Virus-Scanned: at lists.debian.org with policy bank request
> >X-Spam-Flag: NO
> >X-Spam-Score: -0.999
> >X-Spam-Level:
> >X-Spam-Status: No, score=-0.999 tagged_above=-10000 required=5.3
> > tests=[ALL_TRUSTED=-1, BAYES_00=-2, OUR_MTA_MSGID=2,
> > RCVD_FROM_UNCONF_HOST=2, TVD_SPACE_RATIO=0.001, WEBSUBS=-2]
> > autolearn=no autolearn_force=no
> >Received: from bendel.debian.org ([127.0.0.1])
> > by localhost (lists.debian.org [127.0.0.1]) (amavisd-new, port
> 2525)
> > with ESMTP id PIxzsAVXzD6N
> > for <lists-debian-user-request@bendel.debian.org>;
> > Tue, 16 Apr 2019 21:47:23 +0000 (UTC)
> >Received: from localhost.localdomain (localhost [IPv6:::1])
> > by bendel.debian.org (Postfix) with ESMTP id D0860204C1
> > for <debian-user-REQUEST@lists.debian.org>; Tue, 16 Apr 2019
> 21:47:23 +0000 (UTC)
> >From: gyb-travis-1@pdl.jaylee.us
> >To: debian-user-REQUEST@lists.debian.org
> >Errors-To: listmaster@lists.debian.org
> >Sender: gyb-travis-1@pdl.jaylee.us
> >Reply-To: gyb-travis-1@pdl.jaylee.us
> >Subject: subscribe gyb-travis-1@pdl.jaylee.us
> >X-Remote-IP: 2600:1017:b417:a0b8:21ae:8d47:ae6d:5dcb
> >Message-Id: <20190416214723.D0860204C1@bendel.debian.org>
> >Date: Tue, 16 Apr 2019 21:47:23 +0000 (UTC)
> >X-Rc-Virus: 2007-09-13_01
> >X-Rc-Spam: 2008-11-04_01
> >
> >subscribe gyb-travis-1@pdl.jaylee.us
> >
>
--0000000000001e20080586acb976
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Tue, Apr 16, 2019 at 5:47 PM SmartList &lt;<a href=
=3D"mailto:debian-user-request@lists.debian.org">debian-user-request@lists.=
debian.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">It has been requested that the following address:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"mailto:gyb-travis-1@pdl.jaylee.us" ta=
rget=3D"_blank">gyb-travis-1@pdl.jaylee.us</a><br>
<br>
should be added to the debian-user mailing list.<br>
<br>
The address has NOT yet been subscribed to the mailing list.<br>
To subscribe you need to confirm the subscription<br>
request by sending an email to the address:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:debian-user-request@lists.deb=
ian.org" target=3D"_blank">debian-user-request@lists.debian.org</a><br>
<br>
with the Subject string:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0CONFIRM s1904162147276305<br>
<br>
With a reasonable good email program a reply to this<br>
message should be sufficient<br>
<br>
Do NOT remove or edit the CONFIRM ... text within the Subject header.<br>
If it is removed or changed, the confirmation will fail!<br>
<br>
The address listed above will be (un)subscribed as soon as your confirmatio=
n<br>
message is received.<br>
<br>
If the above address is incorrect, please don&#39;t send in the confirm mes=
sage<br>
listed above. Instead, send a new (un)subscribe request with the Subject:<b=
r>
<br>
=C2=A0 =C2=A0subscribe correct-address@correct-domain <br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 or<br>
<br>
=C2=A0 =C2=A0unsubscribe correct-address@correct-domain<br>
<br>
and wait for a new confirmation message.<br>
<br>
If you are unable to subscribe to our lists through this mechanism,<br>
please contact us at <a href=3D"mailto:listmaster@lists.debian.org" target=
=3D"_blank">listmaster@lists.debian.org</a><br>
<br>
For more information about Debian mailing lists, please see<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://www.debian.org/MailingLists/=
" rel=3D"noreferrer" target=3D"_blank">https://www.debian.org/MailingLists/=
</a><br>
<br>
In the event that you did not send a request to (un)subscribe,<br>
a copy of the (un)subscription request that follows below<br>
may help you discover who sent the request.<br>
-- <br>
<br>
&gt;From <a href=3D"mailto:gyb-travis-1@pdl.jaylee.us" target=3D"_blank">gy=
b-travis-1@pdl.jaylee.us</a>=C2=A0 Tue Apr 16 21:47:27 2019<br>
&gt;Return-Path: &lt;<a href=3D"mailto:gyb-travis-1@pdl.jaylee.us" target=
=3D"_blank">gyb-travis-1@pdl.jaylee.us</a>&gt;<br>
&gt;X-Original-To: <a href=3D"mailto:lists-debian-user-request@bendel.debia=
n.org" target=3D"_blank">lists-debian-user-request@bendel.debian.org</a><br=
>
&gt;Delivered-To: <a href=3D"mailto:lists-debian-user-request@bendel.debian=
.org" target=3D"_blank">lists-debian-user-request@bendel.debian.org</a><br>
&gt;Received: from localhost (localhost [127.0.0.1])<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0by <a href=3D"http://bendel.debian.org" rel=
=3D"noreferrer" target=3D"_blank">bendel.debian.org</a> (Postfix) with ESMT=
P id 934B2204F3<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0for &lt;<a href=3D"mailto:lists-debian-user-=
request@bendel.debian.org" target=3D"_blank">lists-debian-user-request@bend=
el.debian.org</a>&gt;; Tue, 16 Apr 2019 21:47:27 +0000 (UTC)<br>
&gt;X-Virus-Scanned: at <a href=3D"http://lists.debian.org" rel=3D"noreferr=
er" target=3D"_blank">lists.debian.org</a> with policy bank request<br>
&gt;X-Spam-Flag: NO<br>
&gt;X-Spam-Score: -0.999<br>
&gt;X-Spam-Level:<br>
&gt;X-Spam-Status: No, score=3D-0.999 tagged_above=3D-10000 required=3D5.3<=
br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0tests=3D[ALL_TRUSTED=3D-1, BAYES_00=3D-2, OU=
R_MTA_MSGID=3D2,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0RCVD_FROM_UNCONF_HOST=3D2, TVD_SPACE_RATIO=
=3D0.001, WEBSUBS=3D-2]<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0autolearn=3Dno autolearn_force=3Dno<br>
&gt;Received: from <a href=3D"http://bendel.debian.org" rel=3D"noreferrer" =
target=3D"_blank">bendel.debian.org</a> ([127.0.0.1])<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0by localhost (<a href=3D"http://lists.debian=
.org" rel=3D"noreferrer" target=3D"_blank">lists.debian.org</a> [127.0.0.1]=
) (amavisd-new, port 2525)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0with ESMTP id PIxzsAVXzD6N<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0for &lt;<a href=3D"mailto:lists-debian-user-=
request@bendel.debian.org" target=3D"_blank">lists-debian-user-request@bend=
el.debian.org</a>&gt;;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0Tue, 16 Apr 2019 21:47:23 +0000 (UTC)<br>
&gt;Received: from localhost.localdomain (localhost [IPv6:::1])<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0by <a href=3D"http://bendel.debian.org" rel=
=3D"noreferrer" target=3D"_blank">bendel.debian.org</a> (Postfix) with ESMT=
P id D0860204C1<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0for &lt;<a href=3D"mailto:debian-user-REQUES=
T@lists.debian.org" target=3D"_blank">debian-user-REQUEST@lists.debian.org<=
/a>&gt;; Tue, 16 Apr 2019 21:47:23 +0000 (UTC)<br>
&gt;From: <a href=3D"mailto:gyb-travis-1@pdl.jaylee.us" target=3D"_blank">g=
yb-travis-1@pdl.jaylee.us</a><br>
&gt;To: <a href=3D"mailto:debian-user-REQUEST@lists.debian.org" target=3D"_=
blank">debian-user-REQUEST@lists.debian.org</a><br>
&gt;Errors-To: <a href=3D"mailto:listmaster@lists.debian.org" target=3D"_bl=
ank">listmaster@lists.debian.org</a><br>
&gt;Sender: <a href=3D"mailto:gyb-travis-1@pdl.jaylee.us" target=3D"_blank"=
>gyb-travis-1@pdl.jaylee.us</a><br>
&gt;Reply-To: <a href=3D"mailto:gyb-travis-1@pdl.jaylee.us" target=3D"_blan=
k">gyb-travis-1@pdl.jaylee.us</a><br>
&gt;Subject: subscribe <a href=3D"mailto:gyb-travis-1@pdl.jaylee.us" target=
=3D"_blank">gyb-travis-1@pdl.jaylee.us</a><br>
&gt;X-Remote-IP: 2600:1017:b417:a0b8:21ae:8d47:ae6d:5dcb<br>
&gt;Message-Id: &lt;<a href=3D"mailto:20190416214723.D0860204C1@bendel.debi=
an.org" target=3D"_blank">20190416214723.D0860204C1@bendel.debian.org</a>&g=
t;<br>
&gt;Date: Tue, 16 Apr 2019 21:47:23 +0000 (UTC)<br>
&gt;X-Rc-Virus: 2007-09-13_01<br>
&gt;X-Rc-Spam: 2008-11-04_01<br>
&gt;<br>
&gt;subscribe <a href=3D"mailto:gyb-travis-1@pdl.jaylee.us" target=3D"_blan=
k">gyb-travis-1@pdl.jaylee.us</a><br>
&gt;<br>
</blockquote></div>

--0000000000001e20080586acb976--
Binary file modified samples/gyb-format/msg-db.sqlite
Binary file not shown.

0 comments on commit f505fb4

Please sign in to comment.