Mailing List Archive

Corrupted log lines when validating DKIM signatures
Hi,

I'm sometimes seeing some corrupted output in my Exim logs when verifying
DKIM signatures, for example:

2018-08-21 11:56:58 1fs4LJ-0001VN-G3 DKIM: d=email.tladoonline.com
s=10dkim1 c=relaxed/relaxed a=rsa-sha256 b=2048
i=+Ud^A^D<A8><EF><CE><DE><F9><E0><DC>V?<A4><9E><DD> W

Sometimes I get something more valid like this:

2018-08-22 09:05:09 1fsO8a-0005D2-VN DKIM: d=advice.hmrc.gov.uk s=15q1
c=relaxed/relaxed a=rsa-sha1 b=2048 i=@advice.hmrc.gov.uk [verification
succeeded]

This is on Exim 4.89 in Debian 9.5. Is this a known, fixed issue?

regards,
John
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Corrupted log lines when validating DKIM signatures [ In reply to ]
On 08/22/2018 09:38 AM, John Hall via Exim-users wrote:
> 2018-08-21 11:56:58 1fs4LJ-0001VN-G3 DKIM: d=email.tladoonline.com
> s=10dkim1 c=relaxed/relaxed a=rsa-sha256 b=2048
> i=+Ud^A^D<A8><EF><CE><DE><F9><E0><DC>V?<A4><9E><DD> W

> This is on Exim 4.89 in Debian 9.5.


Quite likely 31323b3044 - the commit comment for that was
"Fix log line corruption for DKIM status".


Could also be d342446f29 - the note for that reads

+JH/36 Fix reinitialisation of DKIM logging variable between messages.
+ Previously it was possible to log spurious information in receive log
+ lines.


These are the Exim git master-branch commit hashes.
I don't know which of them Debian has grabbed as patches.
--
Cheers,
Jeremy

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Corrupted log lines when validating DKIM signatures [ In reply to ]
On Thu, 23 Aug 2018 at 17:41, Jeremy Harris via Exim-users <
exim-users@exim.org> wrote:


> > This is on Exim 4.89 in Debian 9.5.
>
>
> Quite likely 31323b3044 - the commit comment for that was
> "Fix log line corruption for DKIM status".
>
>
> Could also be d342446f29 - the note for that reads
>
> +JH/36 Fix reinitialisation of DKIM logging variable between messages.
> + Previously it was possible to log spurious information in receive
> log
> + lines.
>
>
> These are the Exim git master-branch commit hashes.
> I don't know which of them Debian has grabbed as patches.
>

Jeremy,

Thanks for the reply. Probably the easiest thing is to get the Exim package
from backports.

regards,
John
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Corrupted log lines when validating DKIM signatures [ In reply to ]
Hi

The patch is in Debian's tree but has not yet made it back to a package in
stable. There appears to be a backport for stretch that contains what
should be a fixed version.


Mart.


On Thu, 23 Aug 2018 at 17:40, Jeremy Harris via Exim-users <
exim-users@exim.org> wrote:

> On 08/22/2018 09:38 AM, John Hall via Exim-users wrote:
> > 2018-08-21 11:56:58 1fs4LJ-0001VN-G3 DKIM: d=email.tladoonline.com
> > s=10dkim1 c=relaxed/relaxed a=rsa-sha256 b=2048
> > i=+Ud^A^D<A8><EF><CE><DE><F9><E0><DC>V?<A4><9E><DD> W
>
> > This is on Exim 4.89 in Debian 9.5.
>
>
> Quite likely 31323b3044 - the commit comment for that was
> "Fix log line corruption for DKIM status".
>
>
> Could also be d342446f29 - the note for that reads
>
> +JH/36 Fix reinitialisation of DKIM logging variable between messages.
> + Previously it was possible to log spurious information in receive
> log
> + lines.
>
>
> These are the Exim git master-branch commit hashes.
> I don't know which of them Debian has grabbed as patches.
> --
> Cheers,
> Jeremy
>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/