Thanks for the quick response,
It actually does not depend on the message itself - I've tried on dozens of
messages - the result is the same, one of the failing messages is attached.
Thanks, Alex
On Tue, Mar 1, 2011 at 11:47 PM, Murray S. Kucherawy <msk_at_cloudmark.com>wrote:
> The code looks OK at a glance.
>
>
>
> Can you paste the sample message you’re trying to sign?
>
>
>
> *From:* opendkim-users-bounce_at_lists.opendkim.org [mailto:
> opendkim-users-bounce_at_lists.opendkim.org] *On Behalf Of *Alex Klizhentas
> *Sent:* Tuesday, March 01, 2011 12:25 PM
> *To:* opendkim-users_at_lists.opendkim.org
> *Subject:* Trying to use libopendkim
>
>
>
> Hi All,
>
>
>
> I'm exploring libopendkim ability to sign and verify messages as a separate
> module and wrote a code snippet that does not work
>
>
>
> I always get an error at line 83 saying that message format is invalid.
>
>
>
> Here's the code snippet:
>
>
>
> http://pastie.org/1622025
>
>
>
>
>
> I understand that doing something completely wrong, but found no code
> examples to make it right, so would appreciate any help.
>
>
> --
> Regards,
> Alex
>
--
Regards,
Alex
Received on Tue Mar 01 2011 - 20:56:39 PST