100 Commits
Author SHA1 Message Date
Scott Kitterman 96b8738af5 README.md: Fix macro name typo. Thanks to Victor Dukhovni for pointing it out. 2023-10-05 17:17:54 -04:00
Scott Kitterman c2409105dc Change version to 1.2.3 (these are all bug fixes) and set release date 2023-02-26 20:13:46 -05:00
Scott Kitterman 16ab67db0f Fix comma separated list processing in dkimpy_milter/config.py
(LP: #1901445)
2023-02-26 19:59:03 -05:00
Scott Kitterman 6d1c796a5e Fix subdomain signing with top-level organizational domain (LP: #1999434) 2023-02-26 19:49:12 -05:00
Scott Kitterman 84803d3779 Improve documentation of inter-relationship between Mode, InternalHosts,
MacroList, and MacroListVerify options in dkimpy-milter.conf.5 (Closes:
   #969215)
2023-02-26 19:38:53 -05:00
Scott Kitterman 815e1a612c Reset the i= signature identity in get_identities_sign() (Closes: #981157) 2023-02-26 18:39:02 -05:00
Scott Kitterman c3d6bce238 Fix formatting for MinimumKeyBits in dkimpy-milter.conf(5)
(Closes: #995335)
2023-02-26 18:35:39 -05:00
Scott Kitterman ea2ef10438 Add missing CHANGES entries 2023-02-26 18:34:30 -05:00
Scott Kitterman 039fcc54fd Finalize UTF-8 fixup, including dkimpy/pymilter version bumps 2023-02-26 18:31:36 -05:00
Scott Kitterman e378fb0266 Fixup on UTF-8 changes 2022-12-05 20:21:14 -05:00
Scott Kitterman b4da312ea7 Minimal fix for dnspython 2.0.0 compatibility (still works with 1.16.0) 2020-08-09 14:15:13 -04:00
Scott Kitterman 44d8924060 WIP for invalid UTF-8 resilience 2020-08-09 13:50:40 -04:00
Scott Kitterman 88c17516d9 Improve resilience to malformed email addresses 2020-04-20 15:51:10 -04:00
Scott Kitterman 791f8d80de CHANGES entry for Stefano Rivera's table docs improvements 2020-04-20 15:41:03 -04:00
Scott Kitterman 7b37e2cb8d Fix dnsfunc definition for test suite for compatibility with dkimpy >= 1.0 2020-04-19 02:28:22 -04:00
Scott Kitterman bf578e7b86 Improve README.md formating for markdown display on pypi 2020-01-06 02:07:49 -05:00
Scott Kitterman 04ef3629d7 Set release date 2020-01-04 14:43:28 -05:00
Scott Kitterman 489238dff0 Correct dkimpy-milter.conf file install location to match expand locations 2020-01-04 02:49:09 -05:00
Scott Kitterman a8bf7104bc - Fix expand option not to fail if files are missing since socket activation
service files are not shipped in the sdist
2020-01-04 01:47:24 -05:00
Scott Kitterman def89db250 Set 1.2.0 release date 2020-01-03 18:12:49 -05:00
Scott Kitterman 1545d13fa0 Variable expansion related cleanup for man pages and sysv init 2020-01-03 17:11:43 -05:00
Scott Kitterman 8a2760531b Add support for specifying DNSTimeout (bumps required dkimpy version to 1.0) 2020-01-03 16:14:08 -05:00
Scott Kitterman 042005b38d Add support for storing DKIM failed mails in a specified DiagnosticDirectory 2019-12-24 14:43:14 -05:00
Scott Kitterman db268764f5 Update TODO 2019-12-24 09:47:03 -05:00
Scott Kitterman e83d4b9306 Add support for specifying MinimumKeyBits for RSA signatures 2019-10-30 16:29:00 -04:00
Scott Kitterman 472fc753e1 CHANGES entry for SigningTable/KeyTable 2019-10-30 16:24:19 -04:00
Scott Kitterman 57d92c1571 Update TODO 2019-10-30 15:42:34 -04:00
Scott Kitterman e233e0243c Add KeyTable processing, fix SigningTable matching code 2019-10-30 15:20:32 -04:00
Scott Kitterman e86b804d71 Minor test updates including fixing the table verify PID file specification 2019-10-30 15:19:59 -04:00
Scott Kitterman 9c9ab7d5d0 Support file specification in a dataset starting with './' and '../' in addition to '/'. Update man pages to indicate it is general and not just fo KeyTable*. 2019-10-30 13:56:59 -04:00
Scott Kitterman 1337ac1e1a More dkimpy-milter.conf.5 cleanups 2019-10-29 08:13:40 -04:00
Scott Kitterman e930257b6b - Delete own_socketfile to resolve race condition where the permissions
change fails on a Unix socket because it hasn't been created yet (libmilter
   will do this correctly on its own based on umask, the milter doesn't need
   to do it) (LP: #1849712)
2019-10-29 02:50:40 -04:00
Scott Kitterman 887a0c4b2a SigningTable refactor to work with the revised table structure - mostly works, but not thoroughly tested 2019-10-29 02:42:48 -04:00
Scott Kitterman 0feff9f539 man page editorial nit 2019-10-29 01:53:28 -04:00
Scott Kitterman 5b956b9c7d Refactor SigningTable and KeyTables based on more careful reading of the documentation 2019-10-29 01:50:28 -04:00
Scott Kitterman 403f8c8d1d Update description of command line options in dkimpy-milter.8 2019-10-28 09:32:17 -04:00
Scott Kitterman 6da97a07b3 Remove bdb from dkimpy-milter.8 since that is no longer a planned feature 2019-10-28 09:28:04 -04:00
Scott Kitterman f5f10f398b Add refile from opendkim.8 to dkimpy-milter.8 since we are going to support it now 2019-10-28 09:26:45 -04:00
Scott Kitterman e0dd40ff03 Update README.md for KeyTable, KeyTableEd25519, and SigningTable information based on COMPLEX SIGNING CONFIGURATIONS section of opendkim README. 2019-10-28 08:36:29 -04:00
Scott Kitterman a210032053 Clarify SigningTable description in dkimpy-milter.conf (5) 2019-10-23 16:24:49 -04:00
Scott Kitterman 82542e4ca0 Remove vestiges of SigningTableEd25519, separate per algorithm table not needed 2019-10-23 15:54:51 -04:00
Scott Kitterman b0604bf00c Add verify runtests for stable and table cases 2019-10-23 01:15:32 -04:00
Scott Kitterman 0115bf7c7c Add support for using signing table with % only - still very incomplete. 2019-10-22 23:35:58 -04:00
Scott Kitterman 5349d1b3ae Refactor multi-line datasets so it works with single and multiline (both KeyTable and SigningTable) 2019-10-22 23:33:31 -04:00
Scott Kitterman accabcf217 Add test cases for running with SigningTable and no KeyTable 2019-10-22 20:43:53 -04:00
Scott Kitterman f93dbeb966 Move _get_parent_domain into dkimMilter classs as get_parent_domain 2019-10-22 20:14:18 -04:00
Scott Kitterman d6b0acb101 Refactor signing domain determination into get_identities_sign function and add support for passing i= when signing in prepartation for parsing the signing table 2019-10-22 19:45:18 -04:00
Scott Kitterman 3061215f49 Run signing tests for table cases as well 2019-10-22 00:03:16 -04:00
Scott Kitterman 05038261f4 More tests/runtests updates for testing with tables 2019-10-22 00:02:29 -04:00
Scott Kitterman a752a9c829 Add test data and configuration for testing with signing and key tables 2019-10-21 14:08:23 -04:00
Scott Kitterman ec55aac974 Refactor util.read_keytable to work with multi-line dataset format from util._dataset_to_list 2019-10-21 14:05:58 -04:00
Scott Kitterman 43f6272b0d Complete multi-row dataset implementation for KeyTable* and SingingTable* 2019-10-21 14:00:17 -04:00
Scott Kitterman 5588748795 Refactor and update loading keys (file and table) to both are now loaded 2019-10-20 02:43:06 -04:00
Scott Kitterman 1097894eac Editorial nits 2019-10-19 12:34:22 -04:00
Scott Kitterman e9f95e0937 Refactor: move reading keys into util.get_keys in preparation for table variants 2019-10-19 03:50:17 -04:00
Scott Kitterman 0ac431a1bb Add new Table config items to nameConversion, not setting defaults 2019-10-19 03:38:56 -04:00
Scott Kitterman d0bc03453f Use self.conf vice milterconfig in dkimMilter to make sure config doesn't change while running 2019-10-19 03:31:29 -04:00
Scott Kitterman 2106e2b1f6 Refactor private key internal storage, it is now part of the milterconfig dict 2019-10-19 02:51:44 -04:00
Scott Kitterman bad89cec2a Clean up __pycache__ directory after test suite run 2019-10-19 00:00:12 -04:00
Scott Kitterman 70d10f9b1a Make error logging more explicit to aid debugging 2019-10-18 23:24:12 -04:00
Scott Kitterman c9f95e4045 Make test scripts executable 2019-10-18 21:46:15 -04:00
Scott Kitterman 68bd86e065 More sysvinit path fixes 2019-10-07 00:44:53 -04:00
Scott Kitterman 0a22747df6 Change README to markdown (README.md) and add as long_desciption to setup.py 2019-10-06 00:59:24 -04:00
Scott Kitterman df575ff80d Update README now that sysv init is tested 2019-10-06 00:15:40 -04:00
Scott Kitterman 4297b5dc68 XFix sysv init so it works (LP: #1839487) 2019-10-05 21:47:55 -04:00
Scott Kitterman 3b3e64c058 More reslience fixes 2019-09-23 11:35:44 -04:00
Scott Kitterman 5652fce7e2 Merge branch 'master' of git+ssh://git.launchpad.net/dkimpy-milter 2019-09-23 11:24:31 -04:00
Scott Kitterman d24b298dce Merge branch 'master' of git+ssh://git.launchpad.net/dkimpy-milter 2019-09-23 11:23:30 -04:00
Scott Kitterman 81a56c300e Merge branch 'master' of git+ssh://git.launchpad.net/dkimpy-milter 2019-09-23 11:01:56 -04:00
Scott Kitterman 47b7e9892f Catch more ascii encoding errors to improve resilience against bad data
(LP: #1844189)
2019-09-23 11:01:32 -04:00
Scott Kitterman 68e61d419b Catch more ascii encoding errors to improve resilience against bad data
(LP: #1844189)
2019-09-23 10:28:43 -04:00
Scott Kitterman 5800d25e0c Fix variable initialization so mailformed mails missing body From do not
cause a traceback (LP: #1844161)
2019-09-16 20:05:11 -04:00
Scott Kitterman 89bb7c71e9 Update TODO for 1.2 feature goals 2019-09-11 15:35:27 -04:00
Scott Kitterman 708e94f266 Add debug logging for content type to assist troubleshooting MIME
conversion issues
2019-09-11 15:31:15 -04:00
Scott Kitterman 39d79ae5a6 Add information on message content conversion to README 2019-09-11 15:25:50 -04:00
Scott Kitterman f0871078ac Add support for SignHeaders feature, thanks to Ralph Seichter for the patch 2019-09-11 13:53:54 -04:00
Scott Kitterman b735d223f5 Add LP bug number for missing i= fix 2019-09-06 00:52:50 -04:00
Scott Kitterman 34d440c7a7 Fixup missing i= processing 2019-09-06 00:27:26 -04:00
Scott Kitterman 5a68cf9e25 - Fix message extraction so that signing in the same pass through the milter
as verifying works correctly
2019-09-05 23:52:07 -04:00
Scott Kitterman 6f75a1a967 - Fix verify processing so missing (optional) i= tag doesn't cause the milter
to fail
2019-08-09 11:28:53 -04:00
Scott Kitterman 787e25325e Fix startup logging so it provides information at a useful time 2019-08-09 08:58:03 -04:00
Scott Kitterman a337e27f0d Permission changes 2019-08-04 16:35:28 -04:00
Scott Kitterman 9cd67c1b25 Clarify usage statement on bad command line run 2019-04-28 03:37:25 -04:00
Scott Kitterman 5ebaf5d848 - Add support for passing PID file name on command line to make it easier to keep system init and daemon configuration in sync. 2019-04-26 20:24:34 -04:00
Scott Kitterman 35745456a2 Ship openrc file in /etc/init.d 2019-04-26 19:57:06 -04:00
Scott Kitterman ec32109a52 Add post-expand output files using default values to install works if expand is not run. 2019-04-26 19:51:50 -04:00
Scott Kitterman 69721af3f8 Add documentation for expand to README 2019-04-26 19:50:19 -04:00
Scott Kitterman 2f74edfc1b Fix -rundir expansion 2019-04-26 19:33:36 -04:00
Scott Kitterman 9b1f3c5e31 Fix default rundir in etc/dkimpy-milter.conf.inwq 2019-04-26 19:31:56 -04:00
Scott Kitterman f73596a67e More expand cleanups 2019-04-26 18:44:17 -04:00
Scott Kitterman c89bfdb9df Split out sysconfdir (/etc) and confdir (/etc/dkimpy-milter) in expand 2019-04-26 18:36:12 -04:00
Scott Kitterman b9435d735d Add system/socket-activation files to expand 2019-04-26 18:16:04 -04:00
Scott Kitterman 0092b10064 More expand in s/s/dkimpy-milter.service.in 2019-04-26 18:14:23 -04:00
Scott Kitterman 5d48b5ea2b Use expand in socket-acitvation files 2019-04-26 18:09:27 -04:00
Scott Kitterman 0ef0f2f509 Add system/dkimpy-milter.service to expand 2019-04-26 18:03:44 -04:00
Scott Kitterman 5ff6ef5c4b Set daemon path and rundir in dkimpy-milter.service using variable expansion 2019-04-26 18:00:14 -04:00
Scott Kitterman cd86159057 fix dkimpy-milter.in permissions 2019-04-26 17:41:45 -04:00
Scott Kitterman 43ea5c1cdf bindir vice sbindir in openrc file 2019-04-26 17:38:49 -04:00
Scott Kitterman d1cfcb7c44 More expand fixes/updates 2019-04-26 17:37:29 -04:00
Scott Kitterman ad505cda6e Use variable expansion in system/dkimpy-milter 2019-04-26 17:33:44 -04:00