RE: Delayed email because of signing

From: Murray S. Kucherawy <msk_at_cloudmark.com>
Date: Mon, 6 Dec 2010 09:56:14 -0800

That configuration would get signing data entirely from memory (versus, for example, getting keys from a database like SQL or LDAP), so I can't imagine what would be causing a signing delay of that magnitude.

You could try using truss/strace/ptrace/etc. with timestamps, or your MTA's milter debugging features, to see where it's spending its time.

The filter only reads the header and body information, generates the signature header field, and sends it to the MTA. The real work of changing the message content happens in the MTA itself.

-MSK

From: opendkim-users-bounce_at_lists.opendkim.org [mailto:opendkim-users-bounce_at_lists.opendkim.org] On Behalf Of Jason Clint
Sent: Monday, December 06, 2010 8:21 AM
To: opendkim-users_at_lists.opendkim.org
Subject: Delayed email because of signing

Hello again all, just curious if anyone has seen any issues with the time it takes for an email to be signed. After I setup my opendkim with a compiled sendmail i went from being able to send out 1-2 emails a second to about 1 email every 5 seconds? Strange that there would be such a big delay but I guess it makes sense since it has to actually modify the message but why so long? Anyone know of anyway to speed it up, even a few seconds would help!

My sendmail version is 8.14.4
Opendkim version is 2.2.1

here are my opendkim.conf settings:

Canonicalization relaxed/simple
Diagnostics no
Domain marlborosurvey.net<http://marlborosurvey.net>
InternalHosts /etc/mail/dkim/trusted-hosts
KeepTemporaryFiles no
KeyFile /var/db/dkim/mail.key.pem
LogWhy no
Selector mail
Socket inet:8891_at_localhost
SubDomains yes
Syslog no
TemporaryDirectory /var/tmp
UserID dkim

Please let me know if you need any other information, thanks!

Jason
Received on Mon Dec 06 2010 - 17:56:27 PST

This archive was generated by hypermail 2.2.0+W3C-0.50 : Mon Dec 06 2010 - 21:50:01 PST