Page MenuHomekolab.org

SMTP Error: [554] 5.7.1 <DATA>: Data command rejected: Sender access denied after upgrade
Closed, ResolvedPublic

Description

hi all,

after upgrade to pykolab version 0.8.11-0~kolab2 all senders get rejected.

error message:

May 17 22:42:09 <host> postfix/submission/smtpd[]: : reject: DATA from localhost[::1]: 554 5.7.1 <DATA>: Data command rejected: Sender access denied; from=<mail> to=<mail> proto=ESMTP helo=<host>

after asking Google i got some hints and i restored this file from backup before upgrading:

/usr/lib/postfix/kolab_smtp_access_policy

now everything works again.

Kolab is installed on Ubuntu 16.04 - most recently patched.

dpkg -l pykolab
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                 Version         Architecture    Description
+++-====================-===============-===============-=============================================
ii  pykolab              0.8.11-0~kolab2 all             Kolab Groupware daemon and utilities

Details

Commits
rP3d3f9fb38302: Free lint issues
Ticket Type
Task

Event Timeline

sven added a subscriber: sven.May 18 2019, 4:03 PM

hi,
had the same problem. It's on line 1287 in the script kolab_smtp_access_policy.py:
replace "if cache is notTrue:" with "if cache is not True:"

Now it works again.

sicherha closed this task as Resolved.May 19 2019, 10:22 AM
sicherha claimed this task.
sicherha added a subscriber: sicherha.

Oh dear. Thanks for pinpointing the problem!
I've pushed out an urgent hotfix; updated packages should be available in a few minutes.

pasik added a subscriber: pasik.May 23 2019, 2:17 PM