Univention Bugzilla – Bug 40569
listfilter.py is closed with exit status 1 and error message flooded mail.log
Last modified: 2016-09-27 12:34:15 CEST
Bug 40376 does not fix this issue. The original message of postfix/spawn is still shown. Exactly 100 seconds after last use of listfilter.py.
+++ This bug was initially created as a clone of Bug #40376 +++
I find the following message in mail.log too often (~450 times per day):
postfix/spawn: warning: command /usr/share/univention-mail-postfix/listfilter.py exit status 1
I think listfilter.py hit an error and exit with sys.exit(1). It would be nice to log the error messages of listfilter.py, to find why it suddenly exit with status 1.
There is also an try-except code block, where the exception is not logged anyway, and the return result is DUNNO (which means, you never get informed about this issue if it occurred).
smtpd_policy_service_timeout (default: 100s)
The time limit for connecting to, writing to, or receiving from a delegated SMTPD policy server.
Changed listfilter.py to:
* exist gracefully when told to (receives "")
PS: the 100s was max_idle (http://www.postfix.org/postconf.5.html#max_idle).
OK: code change
OK: functional test → no log message if timeout has been reached and process is asked to quit