Re: Help with pgsql dataset for SigningTable and KeyTable

From: Naresh V <nareshov_at_gmail.com>
Date: Tue, 29 Jun 2010 00:21:35 +0530

On 28 June 2010 22:18, Murray S. Kucherawy <msk_at_blackops.org> wrote:
> The attached patch fixes the logging problem somewhat; at least you will be
> told why it failed rather than just "Success".  I need to look into getting
> more detail from the specific associated libraries still, but this appears
> to be a good start.
>


Hi,

Correcting the dsn syntax let the service start fine, but it seems
that I have trouble reading the signing table.
I tried to apply this patch (with patch -p0) and it didn't succeed completely:


[root_at_staging opendkim-2.1.1]# patch -p0 < PATCH2.txt
patching file opendkim/opendkim-db.c
Hunk #1 succeeded at 697 (offset 115 lines).
patching file opendkim/opendkim-db.h
patching file opendkim/opendkim.c
Hunk #1 succeeded at 4639 (offset -29 lines).
Hunk #3 succeeded at 5135 (offset 8 lines).
Hunk #4 FAILED at 5148.
Hunk #5 succeeded at 5168 (offset 4 lines).
Hunk #6 succeeded at 5189 (offset 1 line).
Hunk #7 succeeded at 5209 (offset 4 lines).
Hunk #8 succeeded at 5223 (offset 1 line).
Hunk #9 succeeded at 5249 (offset 10 lines).
Hunk #10 succeeded at 5263 (offset 7 lines).
Hunk #11 succeeded at 5283 (offset 4 lines).
Hunk #12 succeeded at 5303 (offset 1 line).
Hunk #13 succeeded at 5423 (offset 104 lines).
Hunk #14 succeeded at 5344 (offset 8 lines).
Hunk #15 succeeded at 5513 (offset 143 lines).
Hunk #16 FAILED at 5539.
Hunk #17 FAILED at 5566.
Hunk #18 FAILED at 5597.
Hunk #19 FAILED at 5621.
Hunk #20 FAILED at 5645.
Hunk #21 FAILED at 5669.
Hunk #22 FAILED at 5694.
Hunk #23 succeeded at 12064 (offset -236 lines).
Hunk #24 succeeded at 13340 (offset 143 lines).
Hunk #25 succeeded at 13000 (offset -236 lines).
Hunk #26 succeeded at 13454 (offset 143 lines).
8 out of 26 hunks FAILED -- saving rejects to file opendkim/opendkim.c.rej

The maillog:


Jun 29 00:16:40 staging postfix/smtpd[17467]: >
unknown[172.16.129.22]: 354 End data with <CR><LF>.<CR><LF>
Jun 29 00:16:44 staging postfix/cleanup[17473]: 00A174B022B:
message-id=<op.ve0uulda3yqkbi_at_sa-lp-naresh-ve.internal.example.com>
Jun 29 00:16:44 staging opendkim[16994]: 00A174B022B error reading signing table
Jun 29 00:16:44 staging postfix/cleanup[17473]: 00A174B022B:
milter-reject: END-OF-MESSAGE from unknown[172.16.129.22]: 4.7.1
Service unavailable - try again later; from=<naresh.ve_at_example.com>
to=<nareshov_at_gmail.com> proto=ESMTP
helo=<sa-lp-naresh-ve.internal.example.com>
Jun 29 00:16:44 staging postfix/smtpd[17467]: public/cleanup socket:
wanted attribute: status
Jun 29 00:16:44 staging postfix/smtpd[17467]: input attribute name: status
Jun 29 00:16:44 staging postfix/smtpd[17467]: input attribute value: 256
Jun 29 00:16:44 staging postfix/smtpd[17467]: public/cleanup socket:
wanted attribute: reason
Jun 29 00:16:44 staging postfix/smtpd[17467]: input attribute name: reason
Jun 29 00:16:44 staging postfix/smtpd[17467]: input attribute value:
451 4.7.1 Service unavailable - try again later
Jun 29 00:16:44 staging postfix/smtpd[17467]: public/cleanup socket:
wanted attribute: (list terminator)
Jun 29 00:16:44 staging postfix/smtpd[17467]: input attribute name: (end)
Jun 29 00:16:44 staging postfix/smtpd[17467]: >
unknown[172.16.129.22]: 451 4.7.1 Service unavailable - try again
later
Jun 29 00:16:44 staging postfix/smtpd[17467]: abort all milters

-Naresh V
Received on Mon Jun 28 2010 - 18:51:51 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:19:47 PST