Re: OpenDKIM 2.5.1 Crashes On Certain Messages

From: John Merriam <>
Date: Sat, 31 Mar 2012 02:27:41 -0400

On 03/31/2012 01:14 AM, Murray S. Kucherawy wrote:
>> -----Original Message-----
>> From: [] On Behalf Of John Merriam
>> Sent: Friday, March 30, 2012 8:46 PM
>> To:
>> Subject: OpenDKIM 2.5.1 Crashes On Certain Messages
>> I have this particular message quarantined (via sendmail -d71.100
>> option). If sending the quarantined message would help, I can do that.
>> If something else would help diagnose it, let me know.
> A copy of that message (please gzip it to ensure spacing is preserved) and your configuration would be a great starting point.

Attached to this message is q2V2Um7D045248.tar.gz In it is a directory
q2V2Um7D045248 which contains the sendmail quarantine files and a third
file which is a reconstruction of the DATA portion of the message as it
was probably presented to my server. The only modifications I made
(using Vim) were to the e-mail addresses to protect the (theoretically)

Below are the settings in my opendkim.conf on this server:

ADSPAction discard
ADSPNoSuchDomain yes
AutoRestart yes
AutoRestartCount 60
AutoRestartRate 1/1m
BaseDirectory /var/opendkim
DNSTimeout 20
LocalADSP /var/opendkim/local-adsp-rules
Mode v
On-Default accept
On-BadSignature accept
On-DNSError tempfail
On-InternalError tempfail
On-KeyNotFound accept
On-NoSignature accept
On-PolicyError accept
On-Security reject
PidFile /var/opendkim/
QueryCache yes
Socket local:/var/opendkim/opendkim.sock
Syslog yes
TemporaryDirectory /tmp
UserID dkimail

My configure command when compiling OpenDKIM is:

CFLAGS="-O2 -mtune=generic" ./configure --prefix=/usr/local
--enable-poll --enable-diffheaders --enable-query_cache --enable-arlib

I'm running Sendmail 8.14.5 with this in my .mc file:

MAIL_FILTER(`opendkim', `S=local:/var/opendkim/opendkim.sock, F=T,

The server is a Linux box with two Opteron 250 CPUs and plenty of ECC RAM.

If you need anything else, let me know. Thanks!

John Merriam

Received on Sat Mar 31 2012 - 06:27:54 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:20:38 PST