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
Scott Kitterman
d291f10a9b
Use variable expansion for dkimpy-milter.conf.5
2019-04-26 17:20:37 -04:00
Scott Kitterman
6268032484
Simplify openrc.in - no checkconfig in dkimpy-milter
2019-04-26 17:19:37 -04:00
Scott Kitterman
385271982f
Don't need to find the grep command after all
2019-04-26 17:18:58 -04:00
Scott Kitterman
f7d4dd2d47
Start CHANGES for 1.2.0
2019-04-26 17:18:36 -04:00
Scott Kitterman
7521e156f8
Belatedly bump version and start CHANGES for 1.2.0
2019-04-25 07:17:07 -04:00
Scott Kitterman
e993125514
Use setup.py expand to fill out man/dkimpy-milter.conf.5
2019-04-25 07:15:04 -04:00
Scott Kitterman
b8118c604a
Merge branch 'master' of git+ssh://git.launchpad.net/dkimpy-milter
2019-04-25 07:05:33 -04:00
Scott Kitterman
518a66d60b
Use setup.py expand to fill out etc/dkimpy-milter.conf
2019-04-25 07:05:25 -04:00
Scott Kitterman
6dacbb59df
Use setup.py expand to fill out etc/dkimpy-milter.conf
2019-04-25 07:02:15 -04:00
Scott Kitterman
ae8b17c0ce
First effort at doing make like variable expansion so we don't have to patch when file locations change
2019-04-25 00:50:23 -04:00
Scott Kitterman
0b522ca4d1
Minor README corrections
2019-04-13 08:42:30 -04:00
Scott Kitterman
aba9c0aa0c
Update TODO
1.1.0
2019-04-12 22:43:18 -04:00
Scott Kitterman
19b6ce7a68
Update CHANGES and man/dkimpy-milter.conf.5 for SubDomains option.
2019-04-12 22:34:59 -04:00
Scott Kitterman
8dc3ac6474
Add option to sign for subdomains - Thanks to Sagi for the patch
2019-04-12 22:31:24 -04:00
Scott Kitterman
290a37b99c
Update CHANGES to current
2019-04-12 22:27:23 -04:00
Scott Kitterman
564799402a
Catch and log config items missing values
2019-04-12 22:01:56 -04:00
Scott Kitterman
357905bb68
Fix debugLevel for config._readConfigFile
2019-04-12 21:45:31 -04:00
Scott Kitterman
6b851f18df
Changes in dkimpy_milter/__init__.py to harmonize logging messages and log text instead of bytestring.
2019-04-12 21:29:09 -04:00
Scott Kitterman
7ab58edb1b
Consisently use /run vice /var/run for documentation and init system integration
2019-04-12 20:57:08 -04:00
Scott Kitterman
23b0e8a386
README updates for python3 switch
2019-04-12 20:51:33 -04:00
Scott Kitterman
2e105bd18c
Py3DNS vice PyDNS because we're python3 now
2019-04-12 20:34:42 -04:00
Scott Kitterman
fb72b9f6e7
Merge 1_0 into master
2019-03-12 22:06:42 -04:00
Scott Kitterman
7eed8995a2
Merge branch 'dkg/socket-activation' into 1_0
2019-03-12 22:01:00 -04:00
Scott Kitterman
a16d887ac6
Fix merge conflicts
2019-02-24 07:22:58 -05:00
Scott Kitterman
23d91b2b50
Update CHANGES for merge of dkg/test-suite
2019-02-24 07:19:18 -05:00
Scott Kitterman
481fbdae29
Merge branch 'dkg/test-suite' into 1_0
2019-02-24 07:13:30 -05:00
Scott Kitterman
4b0c39b0c7
Start changes for python3 update
2019-02-24 06:57:47 -05:00
Daniel Kahn Gillmor
7092874729
Enable sd_listen_fds(3)-style socket-activation support
...
I've added straightforward systemd unit files in
system/socket-activation/ that make use of this approach, and a
README.md in the same location that describes the tradeoffs.
2019-02-21 19:22:11 -05:00
Daniel Kahn Gillmor
ea09bab1a8
Convert __init__.py to python3
...
The main work here is about bytes vs. strings. This work was
confusing for several reasons:
* pymilter thinks that headers are all strings, but body is bytes
* dkimpy wants to deal with bytes objects generally (though it
accepts a string object as an ed25519 secret key for some reason,
despite requiring bytes as an RSA secret key)
* authres.AuthenticationResultsHeader object converts easily to a
string, but has no direct bytes conversion. meanwhile, it wants
its arguments as strings, but will accept them if they are bytes
and convert them with something like str(), which leaves weird
cruft like "header.a=b'ed25519-sha256'"
* dkimpy_milter/utils.py contains fold() which expects bytes
* self.fp needs to accumulate the on-the-wire version of the message
as a whole (so it needs to be bytes). That means converting the
headers. Header names and values are US-ASCII, per §2.2 of RFC
5322, so they should be convertible cleanly, but we still have to
convert them explicitly so that python knows the right thing to do.
At any rate, tests/runtests all passes with these changes, and the
output for both Authentication-Results: and DKIM-Signature headers
looks the same.
2019-02-21 19:22:11 -05:00