Bug 1361038 - opendkim doesn't have QUERY CACHE
Summary: opendkim doesn't have QUERY CACHE
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: opendkim
Version: epel7
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Jenkins
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-28 08:35 UTC by Marco Favero
Modified: 2016-08-17 23:20 UTC (History)
3 users (show)

Fixed In Version: opendkim-2.10.3-7.fc24 opendkim-2.10.3-7.fc23 opendkim-2.10.3-7.el5 opendkim-2.10.3-7.el6 opendkim-2.10.3-7.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1293279
Environment:
Last Closed: 2016-08-11 21:55:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marco Favero 2016-07-28 08:35:15 UTC
Description of problem:

Query cache should be a useful option to avoid overload  in DNS servers.

How reproducible:

Without QUERY CACHE:
# opendkim -V
opendkim: OpenDKIM Filter v2.10.3
        Compiled with OpenSSL 1.0.1e-fips 11 Feb 2013
        SMFI_VERSION 0x1000001
        libmilter version 1.0.1
        Supported signing algorithms:
                rsa-sha1
                rsa-sha256
        Supported canonicalization algorithms:
                relaxed
                simple
        Active code options:
                USE_DB
                USE_LDAP
                USE_ODBX
        libopendkim 2.10.3:


With QUERY CACHE:
# opendkim -V
opendkim: OpenDKIM Filter v2.10.3
        Compiled with OpenSSL 1.0.1e-fips 11 Feb 2013
        SMFI_VERSION 0x1000001
        libmilter version 1.0.1
        Supported signing algorithms:
                rsa-sha1
                rsa-sha256
        Supported canonicalization algorithms:
                relaxed
                simple
        Active code options:
                QUERY_CACHE
                USE_DB
                USE_LDAP
                USE_ODBX
        libopendkim 2.10.3: query_cache

Additional info:

I very appreciate if in a next release you could compile with query cache flag.
In opendkim.spec:
# Configure with options available to systemd
%configure --with-odbx --with-db --with-libmemcached --with-openldap --enable-query_cache

Comment 1 Marco Favero 2016-07-28 08:47:08 UTC
More info about QUERY CACHE from opendkim.conf:

##  QueryCache { yes | no }
##      default "no"
##
##  Instructs the DKIM library to maintain its own local cache of keys and
##  policies retrieved from DNS, rather than relying on the nameserver for
##  caching service.  Useful if the nameserver being used by the filter is
##  not local.  The filter must be compiled with the QUERY_CACHE flag to enable
##  this feature, since it adds a library dependency.

Comment 2 Steve Jenkins 2016-08-02 01:32:52 UTC
Test build 2.10.3-7 successful with QUERY_CACHE build-time option:

$ sudo rpm -ivh libopendkim-2.10.3-7.fc24.i686.rpm opendkim-2.10.3-7.fc24.i686.rpm 
Preparing...                          ################################# [100%]
Updating / installing...
   1:libopendkim-2.10.3-7.fc24        ################################# [ 50%]
   2:opendkim-2.10.3-7.fc24           ################################# [100%]

$ opendkim -V
opendkim: OpenDKIM Filter v2.10.3
	Compiled with OpenSSL 1.0.2h-fips  3 May 2016
	SMFI_VERSION 0x1000001
	libmilter version 1.0.1
	Supported signing algorithms:
		rsa-sha1
		rsa-sha256
	Supported canonicalization algorithms:
		relaxed
		simple
	Active code options:
		QUERY_CACHE
		USE_DB
		USE_LDAP
		USE_ODBX
	libopendkim 2.10.3: query_cache

----------

Watch this space to track as builds hit the testing repos. Please give it a test and provide karma as appropriate, Marco! Great suggestion. Thanks. :)

Comment 3 Fedora Update System 2016-08-02 01:53:42 UTC
opendkim-2.10.3-7.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e17f1d0189

Comment 4 Fedora Update System 2016-08-02 01:53:52 UTC
opendkim-2.10.3-7.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-e2ddc5509f

Comment 5 Fedora Update System 2016-08-02 01:53:59 UTC
opendkim-2.10.3-7.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-4cf7bd0764

Comment 6 Fedora Update System 2016-08-02 01:54:06 UTC
opendkim-2.10.3-7.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-2380ca74cf

Comment 7 Fedora Update System 2016-08-02 01:54:13 UTC
opendkim-2.10.3-7.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-57eb036226

Comment 8 Fedora Update System 2016-08-02 20:48:43 UTC
opendkim-2.10.3-7.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-e2ddc5509f

Comment 9 Fedora Update System 2016-08-02 20:48:45 UTC
opendkim-2.10.3-7.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-4cf7bd0764

Comment 10 Fedora Update System 2016-08-02 21:52:34 UTC
opendkim-2.10.3-7.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e17f1d0189

Comment 11 Fedora Update System 2016-08-02 21:53:46 UTC
opendkim-2.10.3-7.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-2380ca74cf

Comment 12 Fedora Update System 2016-08-03 03:46:18 UTC
opendkim-2.10.3-7.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-57eb036226

Comment 13 Fedora Update System 2016-08-11 21:55:33 UTC
opendkim-2.10.3-7.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2016-08-12 01:23:37 UTC
opendkim-2.10.3-7.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2016-08-17 21:48:06 UTC
opendkim-2.10.3-7.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2016-08-17 23:17:27 UTC
opendkim-2.10.3-7.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2016-08-17 23:19:56 UTC
opendkim-2.10.3-7.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.