On Thu, 2 Aug 2007, Tony Earnshaw wrote:
> Postfix 2.4.5 on Fedora FC6 and Red Hat RHL4/5.
>
> I've built dkim-filter with -D_FFR_HASH_BUFFERING -D_FFR_STATS
> -DSM_CONF_POLL=1 -D_REENTRANT and get the dkim-stats binary. Both
> dkim-filter have BDB-4 support compiled in (ldd). I have
> /etc/dkim-filter.conf (from the dkim-stats man page) and a symlink to
> /etc/mail/dkim-filter.conf (from the dkim-filter.conf man page), with
> just one entry: Statistics /var/cache/dkim-milter/statistics. The
> directory /var/cache/dkim-milter exists, owner:group milter and I kind
> of expected the db statistics to appear in it - but it doesn't.
>
> So I'm doing something wrong, but what? No grunts appear in any logs,
> dkim-milter does everything else it's supposed to, and with the newly
> released Postfix version diverse milter bugs have been corrected. I'm
> ashamed, the Postfix ML's Noel Jones has this working and I don't :(
Very strange. You appear to have done everything correctly.
I guess I'd run it inside gdb, set a breakpoint at dkimf_stats_record()
and see if you can track it down from there. If it never even gets to
that function, check the "if" that surrounds the call to it, namely:
if ((status == DKIM_STAT_OK || status == DKIM_STAT_BADSIG) &&
!dfc->mctx_signing && statspath != NULL)
...to see if any of those conditions aren't being met which would cause
the function call to be skipped.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss