Impelment SyslogFacility, enhance README.
This commit is contained in:
@@ -19,6 +19,10 @@ used, they will need to be updated. The sysv init file is Debian specific and
|
|||||||
untested, since the developers are not using sysv init. Feedback/patches
|
untested, since the developers are not using sysv init. Feedback/patches
|
||||||
welcome.
|
welcome.
|
||||||
|
|
||||||
|
The python DKIM library, dkimpy, requires the entire message being signed or
|
||||||
|
verified to be in memory, so dkimpy-milter does not write messages out to a temp
|
||||||
|
file. This may impact performance on low-memory systems.
|
||||||
|
|
||||||
WARNING: This is an alpha grade release to support interoperability testing with
|
WARNING: This is an alpha grade release to support interoperability testing with
|
||||||
Ed25519 signatures and basic functionality. It is known to be incomplete and
|
Ed25519 signatures and basic functionality. It is known to be incomplete and
|
||||||
not suitable for general use.
|
not suitable for general use.
|
||||||
|
|||||||
@@ -20,14 +20,15 @@ dkimpy-milter.service implemented verified
|
|||||||
sysv init implemented
|
sysv init implemented
|
||||||
remove PidFile on stop implemented verified
|
remove PidFile on stop implemented verified
|
||||||
dkimpy-milter.8 provided needs work
|
dkimpy-milter.8 provided needs work
|
||||||
Canonicalization implementd verified
|
Canonicalization implemented verified
|
||||||
|
SyslogFacility implemented
|
||||||
|
|
||||||
0.9.5 (Beta)
|
0.9.5 (Beta)
|
||||||
AuthservID
|
AuthservID
|
||||||
Diagnostics
|
Diagnostics
|
||||||
DiagnosticDirectory
|
DiagnosticDirectory
|
||||||
InternalHosts
|
InternalHosts
|
||||||
SyslogFacility
|
|
||||||
SyslogSuccess
|
SyslogSuccess
|
||||||
|
|
||||||
1.0.0
|
1.0.0
|
||||||
|
|||||||
@@ -259,7 +259,8 @@ def main():
|
|||||||
configFile = sys.argv[1]
|
configFile = sys.argv[1]
|
||||||
milterconfig = config._processConfigFile(filename = configFile)
|
milterconfig = config._processConfigFile(filename = configFile)
|
||||||
if milterconfig.get('Syslog'):
|
if milterconfig.get('Syslog'):
|
||||||
syslog.openlog(os.path.basename(sys.argv[0]), syslog.LOG_PID, syslog.LOG_MAIL)
|
facility = "syslog.LOG_{0}".format(milterconfig.get('SyslogFacility').upper())
|
||||||
|
syslog.openlog(os.path.basename(sys.argv[0]), syslog.LOG_PID, facility)
|
||||||
setExceptHook()
|
setExceptHook()
|
||||||
pid = write_pid(milterconfig)
|
pid = write_pid(milterconfig)
|
||||||
if milterconfig.get('KeyFile'):
|
if milterconfig.get('KeyFile'):
|
||||||
|
|||||||
Reference in New Issue
Block a user