On Thu, Apr 22, 2021 at 04:00:45AM +0800, Gedalya via Exim-users wrote:
> On 4/22/21 3:37 AM, Wayne via Exim-users wrote:
> > On Wed, Apr 21, 2021 at 08:21:02PM +0100, Jeremy Harris via Exim-users wrote:
> >> On 21/04/2021 19:59, Wayne via Exim-users wrote:
> >>> 2021-04-21 14:34:48 1lZDwB-0003pb-TY DKIM: validation error: LONG_LINE
> >>> 2021-04-21 14:34:48 1lZDwB-0003pb-TY DKIM: Error during validation, disabling signature verification: LONG_LINE
> >>> 2021-04-21 14:34:48 1lZDwB-0003pb-TY <= XXXXXXXXXX@XXXXXXXXXXX H=XXXXXXXXXXXXX (PowerXpert-00-20-85-FC-86-BE) [X.X.X.X] P=esmtp K S=1684783 id=0_0d_-1_1032
> >>> 2021-04-21 14:34:49 1lZDwB-0003pb-TY DKIM: signing failed: LONG_LINE
> >>> 2021-04-21 14:34:50 1lZDwB-0003pb-TY => XXXXXXXXXXX@XXXXXXXXXXX R=dnslookup T=remote_smtp S=1703743 H=XXXXXXXXXXX.mail.protection.outlook.com [104.47.61.36]:25 X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=yes K C="250 2.6.0 <0_0d_-1_1032> [InternalId=23656679878773, Hostname=DM6PR12MB4747.namprd12.prod.outlook.com] 1711342 bytes in 0.383, 4354.433 KB/sec Queued mail for delivery" DT=1s
> >>> 2021-04-21 14:34:50 1lZDwB-0003pb-TY Completed
> >> A line in the message is overly long. The maximum line length that MTAs must
> >> support is dictated by standards.
> >> --
> >> Cheers,
> >> Jeremy
> > Thank you for your response.
> >
> > Does this include lines in the body of the messages or just the headers?
> > I think the body of the message may voilate the limit, and of course,
> > the message is generated by firmware so I won't be able to correct this.
> > I was hoping EXIM would only examine header lines in order to sign the
> > message.
> >
> > Thanks,
> > Wayne
> >
> https://lists.exim.org/lurker/message/20200211.123605.307cbce7.nl.html
>
Ha, you ran into the exact same problem. For some reason your post
didn't come up when I did a Google search. I'll take a look at your
filter and see if it will do the trick for me.
I'm still confused as it seems like EXIM should be signing based on just
headers content and not message body content so I don't know why long
lines in the body would cause this issue.