Commit graph

28 commits

Author SHA1 Message Date
Jukka Salmi
8e9913e57e Update to 2.1.2. From the RELEASE_NOTES:
LIBDKIM: At the end of dkim_eoh_verify(), don't overwrite any existing
		descriptive error text before returning on verification
		errors.  Problem noted by Andy Fiddaman.
	LIBDKIM: Remove redundant assertion of length limits in
		dkim_canon_bodychunk().  The code in dkim_canon_write() has it
		correct, so use that instead.  Problem noted by Mark Martinec.
	LIBDKIM: Fix bug #SF1777332: Fix "relaxed" body canonicalization.
		Some code from the older implementation was still present
		conflicting with the newer code.  Reported by Andrey Chernov.
2007-08-22 15:06:54 +00:00
Jukka Salmi
41c8362106 ...forgot to update distinfo... 2007-08-21 15:25:48 +00:00
Jukka Salmi
8e8ed508bf ++PKGREVISION because of bugfixes committed some minutes ago 2007-08-21 15:24:22 +00:00
Jukka Salmi
72d2139726 Fix relaxed canonicalization and length limit bugs reported today. 2007-08-21 15:13:53 +00:00
Jukka Salmi
ea90676d96 Update to 2.1.1:
Fix type mismatches regarding restricted lengths.  Problems noted
        by Jukka Salmi.
Fix bug #SF1743896 (reopened): Don't crash if a From: header with no
        domain is found.  Patch from Andy Fiddaman.
Fix bug #SF1771520: Return an error from dkim_policy() if the
        sender's domain name could not be determined.  Patch from
        Andy Fiddaman.
2007-08-14 13:36:23 +00:00
Jukka Salmi
a697dce460 Bugfix: don't lie about l= tag when writing statistics. 2007-08-13 15:15:44 +00:00
Jukka Salmi
670906990b add RCS id 2007-08-12 06:36:31 +00:00
Jukka Salmi
66ecc4d096 dk-milter 2007-08-12 06:30:54 +00:00
Jukka Salmi
47ee158112 +++PKGREVISION 2007-08-11 17:10:35 +00:00
Jukka Salmi
4aed80dfcf Fix two bugs reported via the project's tracker on sf.net:
1771520    dkim_policy() crash if no From: header
1743896    crash with invalid From: address
2007-08-11 17:10:02 +00:00
Jukka Salmi
e6f96a5c60 2.1.0 2007/08/10
Update to new (draft version 06) Authentication-Results: header format.
	Do an SSP query for any message that didn't either succeed verification
		or cause some kind of internal error, not just those that
		failed to verify.
	Tighten up the logic used when checking header space allocation.
	Heavy cleanup of dkim_eoh() and dkim_eom() via patches from Chris
		Behrens of Concentric Network Corporation.
	LIBDKIM: Add more fine-grained state control enforcing the order in
		which the message processing functions are called.  There was
		previously a hole which would allow, for example, more headers
		to be submitted after a call to dkim_eoh() if a prescreen
		callback returned a "tryagain" result.
	LIBDKIM: Add dkim_sig_getidentity().
	LIBDKIM: Fix bug #SF1769270: Use the default query type to retrieve
		signing policy for unsigned messages.
	LIBDKIM: Fix bug #SF1769445: Return the correct policy result from
		dkim_get_policy_dns() rather than always returning an empty
		string.  Patch by Andy Fiddaman.
	LIBDKIM: Amend dkim_sig_getcanonlen() to include a parameter which
		receives the signature length limit, if any.
	LIBDKIM: Restore proper value to dkim_bodylen.  Problem noted by
		Jukka Salmi.
	LIBDKIM: Don't inexplicably clear sig_signalg.  Problem noted by
		Jukka Salmi.
	Feature request #SF1761475: Add "ClockDrift" configuration option
		for tolerating out-of-synch clocks.  Suggested by Kaspar Brand.
	Feature request #SF1761481: Add "SyslogSuccess" configuration option
		for logging successful operations rather than just errors
		or other informational messages.  Suggested by Kaspar Brand.
	Feature request #SF1769888: Amend dkim_policy() to be able to return
		the policy type retrieved from the sending domain.  Also
		add dkim_getpresult() and associated other code to get
		additional policy evaluation information.  Requested
		by Andy Fiddaman.
2007-08-10 17:07:30 +00:00
Jukka Salmi
33922d47cd install libdkim documentation 2007-08-09 14:37:20 +00:00
Jukka Salmi
2edfedb51a update checksums 2007-08-09 14:09:03 +00:00
Jukka Salmi
00a3ff0704 bump PKGREVISION (and add RCS ids) 2007-08-09 14:07:17 +00:00
Jukka Salmi
a324dc47df Add some fixes (which will be present in the next release):
LIBDKIM: Restore proper value to dkim_bodylen.
	LIBDKIM: Don't inexplicably clear sig_signalg.
2007-08-09 13:58:46 +00:00
Jukka Salmi
d7e03951af Add an option to use libar (the asynchronous DNS resolver library
shipping with dkim-milter) instead of libresolv. Enabled by default
because verifying fails with the bind resolver if the lookup returns
a CNAME, causing dkim-milter to fail with

	dkim=permerror (verification error: key DNS reply corrupt)
2007-08-06 19:46:44 +00:00
Jukka Salmi
8b4791b5a4 add reminder to fix db dependency 2007-08-06 12:02:30 +00:00
Jukka Salmi
39815398ff also apply renaming to dkim-stats.8 2007-08-06 11:44:45 +00:00
Jukka Salmi
9a1ff5f58f - Rework configure stage. Previously this worked (and in pkgsrc it
still does work) by chance if it did...
- Add option `dkim-stats' to build and install dkim-stats(8) and its
  manpage.
2007-08-06 11:16:22 +00:00
Jukka Salmi
5641312b14 prefer libresolv over libbind 2007-08-06 11:00:58 +00:00
Jukka Salmi
705cb86bfd sync SUBST_MESSAGE with wip/dk-milter 2007-08-04 18:52:22 +00:00
Jukka Salmi
4645c5a3a6 Update dkim-milter to 2.0.2
2.0.2		2007/08/03
	Fix bug #SF1766313: Make configuration handling 64-bit friendly.
		Other 64-bit portability issues also addressed.  Problems
		noted by Chris Box.
	Add _FFR_DNS_UPGRADE which establishes a second libar instance
		in TCP mode for handling truncated UDP replies.  Also make
		some minor fixes in the key and policy DNS lookup functions
		to provide more consistent handling of such responses.
		Problems noted by Kaspar Brand; code is still experimental.
2007-08-04 06:27:04 +00:00
Jukka Salmi
245a9cd48f maybe we should run as non-root by default 2007-08-03 08:46:33 +00:00
Jukka Salmi
952147a0b0 merge 2007-08-02 23:33:11 +00:00
Jukka Salmi
427dab8b7b Re-import dk-milter and dkim-milter. Old versions of these packages
are already in pkgsrc, but since they changed quite a bit I think it's
less invasive to test them first in pkgsrc-wip. The main reason for
this is that dkim-milter requires OpenSSL >=0.9.8 to obey RFC 4871,
but that's not yet available in pkgsrc. I'll import an updated OpenSSL
package to pkgsrc-wip shortly...
2007-08-02 22:29:11 +00:00
Min Sik Kim
ab9bd24b55 dkim-milter has been moved to pkgsrc. 2005-10-27 19:52:00 +00:00
Emile `iMil' Heitor
a1bafc065e old CVS ids removed 2005-09-29 07:34:46 +00:00
Emile `iMil' Heitor
f48f680323 dkim-milter consists of two parts: A milter-based application (dkim-filter)
which plugs in to Sendmail to provide DomainKeys Identified Mail service, and a
library (libdkim) which can be used to build DKIM-compliant applications or
MTAs.

adapted from mail/dk-milter
2005-09-28 15:28:16 +00:00