Problem parsing too long From: header

From: Dmitry E. Mikhailov <>
Date: Fri, 31 Oct 2014 00:07:32 +0500


CentOS 5/i386, Postfix 2.3.3 and OpenDKIM 2.9.2 installed

Trying to send the message with overly long UTF8 "From:" header:

From: =?UTF-8?Q?=D0=9A=D0=BE=D0=BC=D0=BF=D0=B0=D0=BD=D0=B8=D1=8F_=22?=
  =?UTF-8?Q?=D0=B0=D0=BD=D0=B8=D0=B5=22?= <>

OpenDKIM won't sign:
Oct 30 13:01:50 ufaprom opendkim[17058]: (unknown-jobid): no signing
table match for 'kpo_at_uf'
Oct 30 13:01:50 ufaprom opendkim[17058]: 6337A1248920: no signature data

Looks like there's ~256 byte limit somewhere. IMHO it's in
libopendkim/dkim-mailparse.c because it takes a string and returns
strings. But I wasn't able to fully understand the C code.

Please help.

Full offending message attached.

Best regards,
        Dmitry Mikhailov.

attached mail follows:

Received on Thu Oct 30 2014 - 19:08:15 PST

This archive was generated by hypermail 2.3.0 : Thu Oct 30 2014 - 19:18:00 PST