RE: Delayed email because of signing

From: Murray S. Kucherawy <msk_at_cloudmark.com>
Date: Mon, 6 Dec 2010 12:07:55 -0800

You can probably turn off the KeepTemporaryFiles now unless you need it. That'll save you a bunch of I/O, though I doubt that by itself is multiplying your processing time by more than five.

The temporary files are not used in message reconstruction. They're written and left around only if you set that feature, and that's only there for those who are trying to debug something having to do with message signing/verification correctness.

The MTA debugging and/or strace/ptrace/truss were suggested just to observe timing of message processing steps, not for data correctness. With that information you'll be able to see that opendkim received the data at time X and sent the signature request at time Y, and then compute the difference between the two.

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 10:27 AM
To: SM
Cc: opendkim-users_at_lists.opendkim.org
Subject: Re: Delayed email because of signing

We have a sender program that waits for a response from the server before it sends the next email in the list. Before I added dkim it was doing the emails 1-2 seconds a part now its 5. I also watched the logs ass it puts it on there and it shows about every 5 seconds as well. I will have to look into trying Murray's suggestion with the MTA debugging, for all I know something with the program is not compatible with dkim which is what is causing the delay however I highly doubt it because when I checked the /var/tmp file it showed 2x the amount of emails that where sent of files in that directory. 1 file for the header one for the email....tell me if I am missing something but that makes me think it loaded the message into a file created the header based off the file and was preparing to concatenate them together and send it out. Or am I misunderstanding how it works?
On Mon, Dec 6, 2010 at 9:36 AM, SM <sm_at_resistor.net<mailto:sm_at_resistor.net>> wrote:
Hi Jason,

At 08:21 06-12-10, Jason Clint wrote:
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!

What does the mail log show when you sent out an email?

Regards,
-sm
Received on Mon Dec 06 2010 - 20:08:10 PST

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