I attach a copy of an email which demonstrates this bug.
Whether it does so for you depends on the EOL strings.

Best regards
Richard Betham


On Friday 10 September 2010 21:59:45 you wrote:
> On fredagen den 10 september 2010, you stated the following:
> > When I tried to use libmail-dkim-perl to verify a signature,
> > authorised by the domain gmail.com (selector gamma), the result
> > obtained was that the Verifier failed to detect any headers.
>
> Could you please post an example of such a DKIM-signed mail that
> demonstrates the bug?


From [email protected] Fri Sep 17 11:59:57 2010
Return-path: <[email protected]>
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on debianm
X-Spam-Level: 
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,HTML_MESSAGE,
        RDNS_NONE autolearn=no version=3.2.5
Envelope-to: [email protected]
Delivery-date: Fri, 17 Sep 2010 10:59:59 +0000
Received: from web28414.mail.ukl.yahoo.com ([87.248.110.163]:39582)
        by mx05.mail.eu.clara.net (mx-vh.clara.net [213.253.3.25]:1025)
        with smtp id 1OwYfe-0005gl-IK  for [email protected]
        (return-path <[email protected]>); Fri, 17 Sep 2010 10:59:58 
+0000
Received: (qmail 18105 invoked by uid 60001); 17 Sep 2010 10:59:58 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; 
s=s1024; t=1284721198; bh=hsExB5/kwxAYVGoHHmVuvpwiRprCG5VUqW3DP8lSOwU=; 
h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type;
 
b=yKIxMrs9eh4zKFFAs4SeQqPJlBflWPiKQegfvF0eVC8BRVduVUqtrcsJ8LkhAkT5fYdDL9WaT3nxtSoJUgxW6xPcBN4R3eUjbiuGpb6Zssm7EqEYiPRNzHy+z8nkTaQYXDO1+t0LWMicfN/50kq2o9x+sWkks6dqSk4/6dEJ580=
DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=rocketmail.com;
  
h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type;
  
b=irAyqQ4JkE8/EUPb+HN4nOkrh6cnOhwVHc7NbbnP+P94GdkwOW+EFpUL0gTmTimC7gX6TVYZUum5i17shKth156kLzHAGZomGXPC/QyvZQ9z+TE8vY2NUYxN/gXE6x0UUwlBDaWbn2WmERMsnNrYqSAu5WjzZd7zr6WcBgmSybs=;
Message-ID: <[email protected]>
X-YMail-OSG: p55z3t8VM1lW8apXK38P0yOtnmGHgFMgVDLt1IWA1OVZcyR
 wZwH4cw.8LecwcWiAiAxx.9VBTDGRBcMAK2BVmlDkaOUHQVP3680fCiB7ltP
 UDIiZBfQY133Hn7n99jmw3QV6eUHYBlIEy19Sr9PBTuhQMPgeMIhOGIcLZZ2
 oUE9g826IlHBYDWL23ukJzVq88P7wdJMImcGt
Received: from [86.159.187.34] by web28414.mail.ukl.yahoo.com via HTTP; Fri, 17 
Sep 2010 03:59:57 PDT
X-Mailer: YahooMailRC/497 YahooMailWebService/0.8.105.279950
Date: Fri, 17 Sep 2010 03:59:57 -0700 (PDT)
From: Martin Tanner <[email protected]>
Subject: Test Email
To: Richard Betham <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/alternative;
  boundary="0-1578350790-1284721197=:17876"
X-Original-Recipient: [email protected]
X-UID: 
Status: RO
X-Status: RHC
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:  

--0-1578350790-1284721197=:17876
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Richard=0A=0AYou have asked me to send you a test email.=0A=0AHere it is!=
=A0 Please use it as you wish.=0A=0ARegards=0AMartin Tanner=0A=0A=0A      
--0-1578350790-1284721197=:17876
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:verdana, helvetica, sans-serif;font-size=
:10pt;color:#000000;"><DIV>Richard</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>You hav=
e asked me to send you a test email.</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>Here =
it is!&nbsp; Please use it as you wish.</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>Re=
gards</DIV>=0A<DIV>Martin Tanner</DIV></div><br>=0A=0A=0A=0A      </body></=
html>
--0-1578350790-1284721197=:17876--

Reply via email to