Fix startup logging so it provides information at a useful time
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
1.1.1 UNRELEASED
|
1.1.1 UNRELEASED
|
||||||
|
- Fix startup logging so it provides information at a useful time
|
||||||
- Fix verify processing so missing (optional) i= tag doesn't cause the milter
|
- Fix verify processing so missing (optional) i= tag doesn't cause the milter
|
||||||
to fail
|
to fail
|
||||||
- Fix message extraction so that signing in the same pass through the milter
|
- Fix message extraction so that signing in the same pass through the milter
|
||||||
|
|||||||
@@ -383,10 +383,10 @@ def main():
|
|||||||
own_socketfile(milterconfig, socketname)
|
own_socketfile(milterconfig, socketname)
|
||||||
drop_privileges(milterconfig)
|
drop_privileges(milterconfig)
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
Milter.runmilter(miltername, socketname, 240)
|
|
||||||
if milterconfig.get('Syslog'):
|
if milterconfig.get('Syslog'):
|
||||||
syslog.syslog('dkimpy-milter started:{0} user:{1}'
|
syslog.syslog('dkimpy-milter starting:{0} user:{1}'
|
||||||
.format(pid, milterconfig.get('UserID')))
|
.format(pid, milterconfig.get('UserID')))
|
||||||
|
Milter.runmilter(miltername, socketname, 240)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user