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: <[email protected]>
<[email protected]>
In-Reply-To: <[email protected]>
Message-ID: <CAM8C-xwzZ9=qaYFZxOeUJniKqowMCFsDduU-4YX3=[email protected]>
Subject: Re: CONFIRM s1904162147276305
From: GYB Travis <[email protected]>
To: SmartList <[email protected]>
Content-Type: multipart/alternative; boundary="0000000000001e20080586acb976"

--0000000000001e20080586acb976
Content-Type: text/plain; charset="UTF-8"
On Tue, Apr 16, 2019 at 5:47 PM SmartList <
[email protected]> wrote:
> It has been requested that the following address:
>
> [email protected]
>
> 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:
>
> [email protected]
>
> 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 [email protected]
>
> 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 [email protected] Tue Apr 16 21:47:27 2019
> >Return-Path: <[email protected]>
> >X-Original-To: [email protected]
> >Delivered-To: [email protected]
> >Received: from localhost (localhost [127.0.0.1])
> > by bendel.debian.org (Postfix) with ESMTP id 934B2204F3
> > for <[email protected]>; 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 <[email protected]>;
> > 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 <[email protected]>; Tue, 16 Apr 2019
> 21:47:23 +0000 (UTC)
> >From: [email protected]
> >To: [email protected]
> >Errors-To: [email protected]
> >Sender: [email protected]
> >Reply-To: [email protected]
> >Subject: subscribe [email protected]
> >X-Remote-IP: 2600:1017:b417:a0b8:21ae:8d47:ae6d:5dcb
> >Message-Id: <[email protected]>
> >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 [email protected]
> >
>
--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:[email protected]">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:[email protected]" ta=
rget=3D"_blank">[email protected]</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:[email protected]=
ian.org" target=3D"_blank">[email protected]</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:[email protected]" target=
=3D"_blank">[email protected]</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:[email protected]" target=3D"_blank">gy=
[email protected]</a>=C2=A0 Tue Apr 16 21:47:27 2019<br>
&gt;Return-Path: &lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt;<br>
&gt;X-Original-To: <a href=3D"mailto:[email protected]=
n.org" target=3D"_blank">[email protected]</a><br=
>
&gt;Delivered-To: <a href=3D"mailto:[email protected]=
.org" target=3D"_blank">[email protected]</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-=
[email protected]" 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-=
[email protected]" 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=
[email protected]" target=3D"_blank">[email protected]<=
/a>&gt;; Tue, 16 Apr 2019 21:47:23 +0000 (UTC)<br>
&gt;From: <a href=3D"mailto:[email protected]" target=3D"_blank">g=
[email protected]</a><br>
&gt;To: <a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a><br>
&gt;Errors-To: <a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[email protected]</a><br>
&gt;Sender: <a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a><br>
&gt;Reply-To: <a href=3D"mailto:[email protected]" target=3D"_blan=
k">[email protected]</a><br>
&gt;Subject: subscribe <a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a><br>
&gt;X-Remote-IP: 2600:1017:b417:a0b8:21ae:8d47:ae6d:5dcb<br>
&gt;Message-Id: &lt;<a href=3D"mailto:[email protected]=
an.org" target=3D"_blank">[email protected]</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:[email protected]" target=3D"_blan=
k">[email protected]</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.