Bug 39093 - activation of mail/postfix/policy/listfilter leads to mail server rejecting all mails
activation of mail/postfix/policy/listfilter leads to mail server rejecting a...
Product: UCS
Classification: Unclassified
Component: Mail
Other Linux
: P5 critical (vote)
: UCS 4.0-3-errata
Assigned To: Daniel Tröder
Felix Botner
Depends on:
Blocks: 39054
  Show dependency treegraph
Reported: 2015-08-06 13:01 CEST by Daniel Tröder
Modified: 2015-09-02 12:58 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2015-08-06 13:01:34 CEST
If the function to check if an address is allowed to send to a group mail address or a mail list is activated, all mails (not only to group/list addresses) get rejected with

451 4.3.5 Server configuration problem

The reason is:

postfix/spawn[16244]: warning: command /usr/share/univention-mail-postfix/listfilter.py exit status 1
postfix/smtpd[16240]: warning: premature end-of-input on private/listfilter while reading input attribute name

Unfortunately no error output leaves /usr/share/univention-mail-postfix/listfilter.py…
Comment 1 Daniel Tröder univentionstaff 2015-08-06 13:11:28 CEST
Problem is in the secrets file.

--- a/ucs-4.0-3/mail/univention-mail-postfix/conffiles/etc/listfilter.secret
+++ b/ucs-4.0-3/mail/univention-mail-postfix/conffiles/etc/listfilter.secret
@@ -1,5 +1,3 @@
-@%@UCRWARNING=# @%@
 import os
 import sys
--- a/ucs-4.0-3/mail/univention-mail-postfix/debian/ucslint.overrides
+++ b/ucs-4.0-3/mail/univention-mail-postfix/debian/ucslint.overrides
@@ -1,2 +1,3 @@
+0004-16: etc/listfilter.secret
 0004-16: etc/mailname
-0009-4: share/listfilter.py
\ No newline at end of file
+0009-4: share/listfilter.py
Comment 2 Daniel Tröder univentionstaff 2015-08-12 17:55:30 CEST
Fixed in commit 62962.
YAML is in commit 62963.
Comment 3 Felix Botner univentionstaff 2015-09-01 12:29:21 CEST
OK - 4.0-3
OK - 4.1-0

Comment 4 Janek Walkenhorst univentionstaff 2015-09-02 12:58:34 CEST