Currently unusable under Debian with sysv
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkimpy-milter |
Fix Released
|
High
|
Scott Kitterman |
Bug Description
Both the 'dkimpy-milter' package as shipping with Debian Buster as well as the newer Python 3 version installed via pip are currently unusable on a sysv system, but also when started directly.
As in, '/usr/bin/
https:/
The sysv init script also seems woefully out of sync with the expectations of both the packaged version as well as the version that ships via pip/pypi, and there seems to be a general lack of error handling, leading to tracebacks left and right while trying to debug this problem, instead of properly caught errors that are returned via both syslog as well as stderr.
Is this actually used in production, or still in development?
It is used in production, but not as far as I know with the sysv init script. Patches welcome for improving the sysv init as I don't have a good way to test it.
There is a bug here, but not what you'd expect. The line before that:
Milter. runmilter( miltername, socketname, 240)
starts the milter, so it's running, waiting for input via the milter protocol. The 'started' message is actually pointless.
It's not designed to background itselt, but to have the init system do it, so the fact that it remains in foreground is expected. For testing, it works just fine that way. You can configure your sendmail or postfix to talk to it and see if it works. If it does, then it's almost certainly an init script issue and I'd be glad to update that if you have specific feedback.